public class LeaderBean extends ZooKeeperServerBean implements LeaderMXBean
zks| Constructor and Description |
|---|
LeaderBean(Leader leader,
ZooKeeperServer zks) |
| Modifier and Type | Method and Description |
|---|---|
String |
followerInfo() |
String |
getCurrentZxid()
Current zxid of cluster.
|
String |
getName() |
getAvgRequestLatency, getClientPort, getMaxClientCnxnsPerHost, getMaxRequestLatency, getMaxSessionTimeout, getMinRequestLatency, getMinSessionTimeout, getNumAliveConnections, getOutstandingRequests, getPacketsReceived, getPacketsSent, getStartTime, getTickTime, getVersion, isHidden, resetLatency, resetMaxLatency, resetStatistics, setMaxClientCnxnsPerHost, setMaxSessionTimeout, setMinSessionTimeout, setTickTimeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAvgRequestLatency, getClientPort, getMaxClientCnxnsPerHost, getMaxRequestLatency, getMaxSessionTimeout, getMinRequestLatency, getMinSessionTimeout, getNumAliveConnections, getOutstandingRequests, getPacketsReceived, getPacketsSent, getStartTime, getTickTime, getVersion, resetLatency, resetMaxLatency, resetStatistics, setMaxClientCnxnsPerHost, setMaxSessionTimeout, setMinSessionTimeout, setTickTimepublic LeaderBean(Leader leader, ZooKeeperServer zks)
public String getName()
getName in interface ZKMBeanInfogetName in class ZooKeeperServerBeanpublic String getCurrentZxid()
LeaderMXBeangetCurrentZxid in interface LeaderMXBeanpublic String followerInfo()
followerInfo in interface LeaderMXBeanCopyright © 2014 The Apache Software Foundation