|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MessageConnectorMBean
Defines properties and operations that every MessageConnector
exposes via JMX.
Method Summary | |
---|---|
java.lang.String |
getAddress()
Returns address string of this connector. |
int |
getConnectionCount()
Returns number of established connections. |
com.devexperts.transport.stats.EndpointStats |
getEndpointStats()
Returns statistics for this message connector. |
java.lang.String |
getName()
Returns connector's short name for logging and monitoring. |
long |
getReconnectDelay()
Returns reconnection delay. |
MessageConnectorState |
getState()
Returns message connector state. |
int |
getThreadPriority()
Returns thread priority for all threads created by this connector. |
boolean |
isActive()
Returns true if connector is started (not stopped). |
void |
restart()
Restarts connector (connection is immediately dropped and established again). |
void |
setName(java.lang.String name)
Sets connector's short name for logging and monitoring. |
void |
setReconnectDelay(long delay)
Sets reconnection delay. |
void |
setThreadPriority(int priority)
Sets thread priority for all threads created by this connector. |
void |
start()
Starts connector (connection is immediately established). |
void |
stop()
Stops connector (connection is immediately dropped). |
Method Detail |
---|
java.lang.String getAddress()
void start()
void stop()
void restart()
stop()
and start()
in sequence.
boolean isActive()
MessageConnectorState getState()
java.lang.String getName()
void setName(java.lang.String name)
name
- connector's new short name for logging and monitoringint getConnectionCount()
int getThreadPriority()
void setThreadPriority(int priority)
priority
- thread priority for all threads created by this connectorlong getReconnectDelay()
void setReconnectDelay(long delay)
delay
- reconnection delaycom.devexperts.transport.stats.EndpointStats getEndpointStats()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |