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.
|
long |
getElectionTimeTaken() |
int |
getLastProposalSize() |
int |
getMaxProposalSize() |
int |
getMinProposalSize() |
String |
getName() |
void |
resetProposalStatistics()
Resets statistics of proposal size (min/max/last)
|
getAvgRequestLatency, getClientPort, getDataDirSize, getFsyncThresholdExceedCount, getJuteMaxBufferSize, getLastClientResponseSize, getLogDirSize, getMaxClientCnxnsPerHost, getMaxClientResponseSize, getMaxRequestLatency, getMaxSessionTimeout, getMinClientResponseSize, getMinRequestLatency, getMinSessionTimeout, getNumAliveConnections, getOutstandingRequests, getPacketsReceived, getPacketsSent, getSecureClientAddress, getSecureClientPort, getStartTime, getTickTime, getTxnLogElapsedSyncTime, getVersion, isHidden, resetFsyncThresholdExceedCount, resetLatency, resetMaxLatency, resetStatistics, setMaxClientCnxnsPerHost, setMaxSessionTimeout, setMinSessionTimeout, setTickTimeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAvgRequestLatency, getClientPort, getDataDirSize, getFsyncThresholdExceedCount, getJuteMaxBufferSize, getLastClientResponseSize, getLogDirSize, getMaxClientCnxnsPerHost, getMaxClientResponseSize, getMaxRequestLatency, getMaxSessionTimeout, getMinClientResponseSize, getMinRequestLatency, getMinSessionTimeout, getNumAliveConnections, getOutstandingRequests, getPacketsReceived, getPacketsSent, getSecureClientAddress, getSecureClientPort, getStartTime, getTickTime, getTxnLogElapsedSyncTime, getVersion, resetFsyncThresholdExceedCount, 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 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 © 2008–2019 The Apache Software Foundation. All rights reserved.