public interface ServerMBean
Modifier and Type | Method and Description |
---|---|
String[] |
getBoundAddresses() |
int |
getCurrentConnections()
Return the current connection count
|
long |
getHandledConnections()
Return the count of handled connections till startup
|
int |
getMaximumConcurrentConnections()
Return the maximum allowed concurrent connections for the server
|
String |
getServiceType()
Return the service type of the server
|
String |
getSocketType()
Return the socket type of the server.
|
boolean |
getStartTLSSupported()
Return true if startTLS is supported by the server
|
int |
getTimeout()
Return the timeout in seconds
|
boolean |
isEnabled()
Return true if the server is enabled
|
boolean |
isStarted()
Return true if the server is started, which basicly means it is bound to
a address and accept connections
|
boolean |
start()
Start the server
|
boolean |
stop()
Stop the server
|
int getMaximumConcurrentConnections()
int getCurrentConnections()
long getHandledConnections()
boolean isEnabled()
boolean getStartTLSSupported()
String[] getBoundAddresses()
String getSocketType()
String getServiceType()
boolean isStarted()
boolean start()
boolean stop()
int getTimeout()
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.