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 |
getMaxConcurrentDiffSyncs() |
int |
getMaxConcurrentSnapSyncs() |
int |
getMaxProposalSize() |
int |
getMinProposalSize() |
String |
getName() |
String |
nonVotingFollowerInfo() |
void |
resetProposalStatistics()
Resets statistics of proposal size (min/max/last)
|
void |
setMaxConcurrentDiffSyncs(int maxConcurrentDiffSyncs) |
void |
setMaxConcurrentSnapSyncs(int maxConcurrentSnapshots) |
getAuthFailedCount, getAvgRequestLatency, getClientPort, getCommitProcMaxCommitBatchSize, getCommitProcMaxReadBatchSize, getConnectionDecreaseRatio, getConnectionDropDecrease, getConnectionDropIncrease, getConnectionFreezeTime, getConnectionMaxTokens, getConnectionTokenFillCount, getConnectionTokenFillTime, getDataDirSize, getFlushDelay, getFsyncThresholdExceedCount, getJuteMaxBufferSize, getLargeRequestMaxBytes, getLargeRequestThreshold, getLastClientResponseSize, getLogDirSize, getMaxBatchSize, getMaxClientCnxnsPerHost, getMaxClientResponseSize, getMaxCnxns, getMaxRequestLatency, getMaxSessionTimeout, getMaxWriteQueuePollTime, getMinClientResponseSize, getMinRequestLatency, getMinSessionTimeout, getNonMTLSLocalConnCount, getNonMTLSRemoteConnCount, getNumAliveConnections, getOutstandingRequests, getPacketsReceived, getPacketsSent, getRequestStaleConnectionCheck, getRequestStaleLatencyCheck, getRequestThrottleDropStale, getRequestThrottleLimit, getRequestThrottleStallTime, getResponseCachingEnabled, getSecureClientAddress, getSecureClientPort, getStartTime, getThrottledOpWaitTime, getTickTime, getTxnLogElapsedSyncTime, getVersion, isHidden, resetAuthFailedCount, resetFsyncThresholdExceedCount, resetLatency, resetMaxLatency, resetNonMTLSConnCount, resetStatistics, setCommitProcMaxCommitBatchSize, setCommitProcMaxReadBatchSize, setConnectionDecreaseRatio, setConnectionDropDecrease, setConnectionDropIncrease, setConnectionFreezeTime, setConnectionMaxTokens, setConnectionTokenFillCount, setConnectionTokenFillTime, setFlushDelay, setLargeRequestMaxBytes, setLargeRequestThreshold, setMaxBatchSize, setMaxClientCnxnsPerHost, setMaxSessionTimeout, setMaxWriteQueuePollTime, setMinSessionTimeout, setRequestStaleConnectionCheck, setRequestStaleLatencyCheck, setRequestThrottleDropStale, setRequestThrottleLimit, setRequestThrottleStallTime, setResponseCachingEnabled, setThrottledOpWaitTime, setTickTime
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAuthFailedCount, getAvgRequestLatency, getClientPort, getCommitProcMaxCommitBatchSize, getCommitProcMaxReadBatchSize, getConnectionDecreaseRatio, getConnectionDropDecrease, getConnectionDropIncrease, getConnectionFreezeTime, getConnectionMaxTokens, getConnectionTokenFillCount, getConnectionTokenFillTime, getDataDirSize, getFlushDelay, getFsyncThresholdExceedCount, getJuteMaxBufferSize, getLargeRequestMaxBytes, getLargeRequestThreshold, getLastClientResponseSize, getLogDirSize, getMaxBatchSize, getMaxClientCnxnsPerHost, getMaxClientResponseSize, getMaxCnxns, getMaxRequestLatency, getMaxSessionTimeout, getMaxWriteQueuePollTime, getMinClientResponseSize, getMinRequestLatency, getMinSessionTimeout, getNonMTLSLocalConnCount, getNonMTLSRemoteConnCount, getNumAliveConnections, getOutstandingRequests, getPacketsReceived, getPacketsSent, getRequestStaleConnectionCheck, getRequestStaleLatencyCheck, getRequestThrottleDropStale, getRequestThrottleLimit, getRequestThrottleStallTime, getResponseCachingEnabled, getSecureClientAddress, getSecureClientPort, getStartTime, getThrottledOpWaitTime, getTickTime, getTxnLogElapsedSyncTime, getVersion, resetAuthFailedCount, resetFsyncThresholdExceedCount, resetLatency, resetMaxLatency, resetNonMTLSConnCount, resetStatistics, setCommitProcMaxCommitBatchSize, setCommitProcMaxReadBatchSize, setConnectionDecreaseRatio, setConnectionDropDecrease, setConnectionDropIncrease, setConnectionFreezeTime, setConnectionMaxTokens, setConnectionTokenFillCount, setConnectionTokenFillTime, setFlushDelay, setLargeRequestMaxBytes, setLargeRequestThreshold, setMaxBatchSize, setMaxClientCnxnsPerHost, setMaxSessionTimeout, setMaxWriteQueuePollTime, setMinSessionTimeout, setRequestStaleConnectionCheck, setRequestStaleLatencyCheck, setRequestThrottleDropStale, setRequestThrottleLimit, setRequestThrottleStallTime, setResponseCachingEnabled, setThrottledOpWaitTime, setTickTime
public LeaderBean(Leader leader, ZooKeeperServer zks)
public String getName()
getName
in interface ZKMBeanInfo
getName
in class ZooKeeperServerBean
public String getCurrentZxid()
LeaderMXBean
getCurrentZxid
in interface LeaderMXBean
public String followerInfo()
followerInfo
in interface LeaderMXBean
public String nonVotingFollowerInfo()
nonVotingFollowerInfo
in interface LeaderMXBean
public long getElectionTimeTaken()
getElectionTimeTaken
in interface LeaderMXBean
public int getLastProposalSize()
getLastProposalSize
in interface LeaderMXBean
public int getMinProposalSize()
getMinProposalSize
in interface LeaderMXBean
public int getMaxProposalSize()
getMaxProposalSize
in interface LeaderMXBean
public void resetProposalStatistics()
LeaderMXBean
resetProposalStatistics
in interface LeaderMXBean
public int getMaxConcurrentSnapSyncs()
getMaxConcurrentSnapSyncs
in interface LeaderMXBean
public void setMaxConcurrentSnapSyncs(int maxConcurrentSnapshots)
setMaxConcurrentSnapSyncs
in interface LeaderMXBean
maxConcurrentSnapshots
- Number of concurrent snapshots permitted to send to observerspublic int getMaxConcurrentDiffSyncs()
getMaxConcurrentDiffSyncs
in interface LeaderMXBean
public void setMaxConcurrentDiffSyncs(int maxConcurrentDiffSyncs)
setMaxConcurrentDiffSyncs
in interface LeaderMXBean
maxConcurrentDiffSyncs
- Number of concurrent diff syncs permitted to send to observersCopyright © 2008–2023 The Apache Software Foundation. All rights reserved.