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, 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, setTickTimeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAuthFailedCount, 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, 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, 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 String nonVotingFollowerInfo()
nonVotingFollowerInfo 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 LeaderMXBeanpublic int getMaxConcurrentSnapSyncs()
getMaxConcurrentSnapSyncs in interface LeaderMXBeanpublic void setMaxConcurrentSnapSyncs(int maxConcurrentSnapshots)
setMaxConcurrentSnapSyncs in interface LeaderMXBeanmaxConcurrentSnapshots - Number of concurrent snapshots permitted to send to observerspublic int getMaxConcurrentDiffSyncs()
getMaxConcurrentDiffSyncs in interface LeaderMXBeanpublic void setMaxConcurrentDiffSyncs(int maxConcurrentDiffSyncs)
setMaxConcurrentDiffSyncs in interface LeaderMXBeanmaxConcurrentDiffSyncs - Number of concurrent diff syncs permitted to send to observersCopyright © 2008–2021 The Apache Software Foundation. All rights reserved.