ZKMBeanInfo, LeaderMXBean, ZooKeeperServerMXBeanpublic class LeaderBean extends ZooKeeperServerBean implements LeaderMXBean
zks| Constructor | Description |
|---|---|
LeaderBean(Leader leader,
ZooKeeperServer zks) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
followerInfo() |
|
java.lang.String |
getCurrentZxid() |
Current zxid of cluster.
|
long |
getElectionTimeTaken() |
|
int |
getLastProposalSize() |
|
int |
getMaxProposalSize() |
|
int |
getMinProposalSize() |
|
java.lang.String |
getName() |
|
void |
resetProposalStatistics() |
Resets statistics of proposal size (min/max/last)
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAvgRequestLatency, getClientPort, getFsyncThresholdExceedCount, getJuteMaxBufferSize, getMaxClientCnxnsPerHost, getMaxRequestLatency, getMaxSessionTimeout, getMinRequestLatency, getMinSessionTimeout, getNumAliveConnections, getOutstandingRequests, getPacketsReceived, getPacketsSent, getStartTime, getTickTime, getVersion, isHidden, resetFsyncThresholdExceedCount, resetLatency, resetMaxLatency, resetStatistics, setMaxClientCnxnsPerHost, setMaxSessionTimeout, setMinSessionTimeout, setTickTimegetAvgRequestLatency, getClientPort, getFsyncThresholdExceedCount, getJuteMaxBufferSize, getMaxClientCnxnsPerHost, getMaxRequestLatency, getMaxSessionTimeout, getMinRequestLatency, getMinSessionTimeout, getNumAliveConnections, getOutstandingRequests, getPacketsReceived, getPacketsSent, getStartTime, getTickTime, getVersion, resetFsyncThresholdExceedCount, resetLatency, resetMaxLatency, resetStatistics, setMaxClientCnxnsPerHost, setMaxSessionTimeout, setMinSessionTimeout, setTickTimepublic LeaderBean(Leader leader, ZooKeeperServer zks)
public java.lang.String getName()
getName in interface ZKMBeanInfogetName in class ZooKeeperServerBeanpublic java.lang.String getCurrentZxid()
LeaderMXBeangetCurrentZxid in interface LeaderMXBeanpublic java.lang.String followerInfo()
followerInfo in interface LeaderMXBeanpublic long getElectionTimeTaken()
getElectionTimeTaken in interface LeaderMXBeanpublic int getLastProposalSize()
getLastProposalSize in interface LeaderMXBeanpublic int getMinProposalSize()
getMinProposalSize in interface LeaderMXBeanpublic int getMaxProposalSize()
getMaxProposalSize in interface LeaderMXBeanpublic void resetProposalStatistics()
LeaderMXBeanresetProposalStatistics in interface LeaderMXBeanCopyright © 2018 The Apache Software Foundation