|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ZooKeeperServerMXBean
ZooKeeper server MBean.
Method Summary | |
---|---|
long |
getAvgRequestLatency()
|
String |
getClientPort()
|
int |
getMaxClientCnxnsPerHost()
Current maxClientCnxns allowed from a particular host |
long |
getMaxRequestLatency()
|
int |
getMaxSessionTimeout()
Current maxSessionTimeout of the server in milliseconds |
long |
getMinRequestLatency()
|
int |
getMinSessionTimeout()
Current minSessionTimeout of the server in milliseconds |
long |
getOutstandingRequests()
|
long |
getPacketsReceived()
|
long |
getPacketsSent()
|
String |
getStartTime()
|
int |
getTickTime()
Current TickTime of server in milliseconds |
String |
getVersion()
|
void |
resetLatency()
Reset min/avg/max latency statistics |
void |
resetMaxLatency()
Reset max latency statistics only. |
void |
resetStatistics()
Reset packet and latency statistics |
void |
setMaxClientCnxnsPerHost(int max)
Set maxClientCnxns allowed from a particular host |
void |
setMaxSessionTimeout(int max)
Set maxSessionTimeout of server in milliseconds |
void |
setMinSessionTimeout(int min)
Set minSessionTimeout of server in milliseconds |
void |
setTickTime(int tickTime)
Set TickTime of server in milliseconds |
Method Detail |
---|
String getClientPort()
String getVersion()
String getStartTime()
long getMinRequestLatency()
long getAvgRequestLatency()
long getMaxRequestLatency()
long getPacketsReceived()
long getPacketsSent()
long getOutstandingRequests()
int getTickTime()
void setTickTime(int tickTime)
int getMaxClientCnxnsPerHost()
void setMaxClientCnxnsPerHost(int max)
int getMinSessionTimeout()
void setMinSessionTimeout(int min)
int getMaxSessionTimeout()
void setMaxSessionTimeout(int max)
void resetStatistics()
void resetLatency()
void resetMaxLatency()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |