Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
JRE 8 rt.jar - com.* Package Source Code
JRE 8 rt.jar is the JAR file for JRE 8 RT (Runtime) libraries. JRE (Java Runtime) 8 is the runtime environment included in JDK 8. JRE 8 rt.jar libraries are divided into 6 packages:
com.* - Internal Oracle and Sun Microsystems libraries java.* - Standard Java API libraries. javax.* - Extended Java API libraries. jdk.* - JDK supporting libraries. org.* - Third party libraries. sun.* - Old libraries developed by Sun Microsystems.
JAR File Information:
Directory of C:\fyicenter\jdk-1.8.0_191\jre\lib 63,596,151 rt.jar
Here is the list of Java classes of the com.* package in JRE 1.8.0_191 rt.jar. Java source codes are also provided.
✍: FYIcenter
⏎ com/sun/jmx/snmp/daemon/CommunicatorServerMBean.java
/* * Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.jmx.snmp.daemon; /** * Defines generic behaviour for the server * part of a connector or an adaptor. Most connectors or adaptors extend <CODE>CommunicatorServer</CODE> * and inherit this behaviour. Connectors or adaptors that do not fit into this model do not extend * <CODE>CommunicatorServer</CODE>. * <p> * An <CODE>CommunicatorServer</CODE> is an active object, it listens for client requests * and processes them in its own thread. When necessary, a <CODE>CommunicatorServer</CODE> * creates other threads to process multiple requests concurrently. * <p> * A <CODE>CommunicatorServer</CODE> object can be stopped by calling the <CODE>stop</CODE> * method. When it is stopped, the <CODE>CommunicatorServer</CODE> no longer listens to client * requests and no longer holds any thread or communication resources. * It can be started again by calling the <CODE>start</CODE> method. * <p> * A <CODE>CommunicatorServer</CODE> has a <CODE>state</CODE> property which reflects its * activity. * <p> * <TABLE> * <TR><TH>CommunicatorServer</TH> <TH>State</TH></TR> * <TR><TD><CODE>stopped</CODE></TD> <TD><CODE>OFFLINE</CODE></TD></TR> * <TR><TD><CODE>starting</CODE></TD> <TD><CODE>STARTING</CODE></TD></TR> * <TR><TD><CODE>running</CODE></TD> <TD><CODE>ONLINE</CODE></TD></TR> * <TR><TD><CODE>stopping</CODE></TD> <TD><CODE>STOPPING</CODE></TD></TR> * </TABLE> * <p> * The <CODE>STARTING</CODE> state marks the transition from <CODE>OFFLINE</CODE> to * <CODE>ONLINE</CODE>. * <p> * The <CODE>STOPPING</CODE> state marks the transition from <CODE>ONLINE</CODE> to * <CODE>OFFLINE</CODE>. This occurs when the <CODE>CommunicatorServer</CODE> is * finishing or interrupting active requests. * <p> * A <CODE>CommunicatorServer</CODE> may serve several clients concurrently. The * number of concurrent clients can be limited using the property * <CODE>maxActiveClientCount</CODE>. The default value of this property is * defined by the subclasses. * <p> * When a <CODE>CommunicatorServer</CODE> is unregistered from the MBeanServer, * it is stopped automatically. * * <p><b>This API is a Sun Microsystems internal API and is subject * to change without notice.</b></p> */ public interface CommunicatorServerMBean { /** * Starts this <CODE>CommunicatorServer</CODE>. * <p> * Has no effect if this <CODE>CommunicatorServer</CODE> is <CODE>ONLINE</CODE> or * <CODE>STOPPING</CODE>. */ public void start() ; /** * Stops this <CODE>CommunicatorServer</CODE>. * <p> * Has no effect if this <CODE>CommunicatorServer</CODE> is <CODE>OFFLINE</CODE> or * <CODE>STOPPING</CODE>. */ public void stop() ; /** * Tests if the <CODE>CommunicatorServer</CODE> is active. * * @return True if connector is <CODE>ONLINE</CODE>; false otherwise. */ public boolean isActive() ; /** * Waits untill either the State attribute of this MBean equals the specified <VAR>state</VAR> parameter, * or the specified <VAR>timeOut</VAR> has elapsed. The method <CODE>waitState</CODE> returns with a boolean value indicating whether * the specified <VAR>state</VAR> parameter equals the value of this MBean's State attribute at the time the method terminates. * * Two special cases for the <VAR>timeOut</VAR> parameter value are: * <UL><LI> if <VAR>timeOut</VAR> is negative then <CODE>waitState</CODE> returns immediately (i.e. does not wait at all),</LI> * <LI> if <VAR>timeOut</VAR> equals zero then <CODE>waitState</CODE> waits untill the value of this MBean's State attribute * is the same as the <VAR>state</VAR> parameter (i.e. will wait indefinitely if this condition is never met).</LI></UL> * * @param state The value of this MBean's State attribute * to wait for. <VAR>state</VAR> can be one of: * <ul> * <li><CODE>CommunicatorServer.OFFLINE</CODE>,</li> * <li><CODE>CommunicatorServer.ONLINE</CODE>,</li> * <li><CODE>CommunicatorServer.STARTING</CODE>,</li> * <li><CODE>CommunicatorServer.STOPPING</CODE>.</li> * </ul> * @param timeOut The maximum time to wait for, in * milliseconds, if positive. * Infinite time out if 0, or no waiting at all if negative. * * @return true if the value of this MBean's State attribute is the * same as the <VAR>state</VAR> parameter; false otherwise. */ public boolean waitState(int state , long timeOut) ; /** * Gets the state of this <CODE>CommunicatorServer</CODE> as an integer. * * @return <CODE>ONLINE</CODE>, <CODE>OFFLINE</CODE>, <CODE>STARTING</CODE> or <CODE>STOPPING</CODE>. */ public int getState() ; /** * Gets the state of this <CODE>CommunicatorServer</CODE> as a string. * * @return One of the strings "ONLINE", "OFFLINE", "STARTING" or "STOPPING". */ public String getStateString() ; /** * Gets the host name used by this <CODE>CommunicatorServer</CODE>. * * @return The host name used by this <CODE>CommunicatorServer</CODE>. */ public String getHost() ; /** * Gets the port number used by this <CODE>CommunicatorServer</CODE>. * * @return The port number used by this <CODE>CommunicatorServer</CODE>. */ public int getPort() ; /** * Sets the port number used by this <CODE>CommunicatorServer</CODE>. * * @param port The port number used by this <CODE>CommunicatorServer</CODE>. * * @exception java.lang.IllegalStateException This method has been invoked * while the communicator was ONLINE or STARTING. */ public void setPort(int port) throws java.lang.IllegalStateException ; /** * Gets the protocol being used by this <CODE>CommunicatorServer</CODE>. * @return The protocol as a string. */ public abstract String getProtocol() ; }
⏎ com/sun/jmx/snmp/daemon/CommunicatorServerMBean.java
Or download all of them as a single archive file:
File name: jre-rt-com-1.8.0_191-src.zip File size: 8099783 bytes Release date: 2018-10-28 Download
⇒ Backup JDK 8 Installation Directory
2023-02-07, 254289👍, 3💬
Popular Posts:
What Is jaxb-api-2.1.6.jar? Java Architecture for XML Binding (JAXB) is a Java API that allows Java ...
What Is commons-codec-1.4.jar? commons-codec-1.4.jar is the JAR file for Apache Commons Codec 1.4, w...
itextpdf.jar is a component in iText 5 Java library to provide core functionalities. iText Java libr...
What JAR files are required to run dom\Counter.java provided in the Apache Xerces package? You can f...
How to run "jarsigner" command from JDK tools.jar file? "jarsigner" command allows you to digitally ...