|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.tivoli.jmx.connector.ConnectorServer | +--com.tivoli.jmx.connector.RmiConnectorServer
RmiConnectorServer.java Defines connector servers that communicate via RMI.
Fields inherited from class com.tivoli.jmx.connector.ConnectorServer |
active,
mbeanServer,
serverName |
Constructor Summary | |
RmiConnectorServer()
Create a new instance of an RMI-based connector server. |
Method Summary | |
int |
getConnections()
The number of active connections to the connector server. |
int |
getMaxConnections()
The maximum number of simultaneous connections that will be accepted by a connector server. |
int |
getRequests()
The number of requests that have been handled by a connector server.. |
long |
getUptime()
The length of time a connector server has been servicing requests. |
void |
postDeregister()
Post deregistration callback. |
void |
postRegister(java.lang.Boolean registrationDone)
Post registration callback. |
void |
preDeregister()
Prederegistration callback. |
javax.management.ObjectName |
preRegister(javax.management.MBeanServer server,
javax.management.ObjectName name)
Preregistration callback. |
void |
setMaxConnections(int maxConnections)
Sets the maximum number of simultaneous connections to be serviced by a connector server. |
void |
start()
Begin servicing requests. |
void |
stop()
Stop servicing requests. |
Methods inherited from class com.tivoli.jmx.connector.ConnectorServer |
isActive,
newInstance |
Constructor Detail |
public RmiConnectorServer()
Method Detail |
public int getConnections()
public int getMaxConnections()
public int getRequests()
public long getUptime()
public void postDeregister()
public void postRegister(java.lang.Boolean registrationDone)
public void preDeregister() throws java.lang.Exception
public javax.management.ObjectName preRegister(javax.management.MBeanServer server, javax.management.ObjectName name) throws java.lang.Exception
server
- javax.management.MBeanServername
- javax.management.ObjectNamepublic void setMaxConnections(int maxConnections)
maxConnections
- intpublic void start() throws java.lang.reflect.InvocationTargetException, java.lang.IllegalStateException
public void stop()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |