public interface LeaderMXBean extends ZooKeeperServerMXBean
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 |
nonVotingFollowerInfo() |
void |
resetProposalStatistics()
Resets statistics of proposal size (min/max/last)
|
void |
setMaxConcurrentDiffSyncs(int maxConcurrentDiffSyncs) |
void |
setMaxConcurrentSnapSyncs(int maxConcurrentSnapSyncs) |
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
String getCurrentZxid()
String followerInfo()
String nonVotingFollowerInfo()
long getElectionTimeTaken()
int getLastProposalSize()
int getMinProposalSize()
int getMaxProposalSize()
void resetProposalStatistics()
int getMaxConcurrentSnapSyncs()
void setMaxConcurrentSnapSyncs(int maxConcurrentSnapSyncs)
maxConcurrentSnapSyncs
- Number of concurrent snapshots permitted to send to observersint getMaxConcurrentDiffSyncs()
void setMaxConcurrentDiffSyncs(int maxConcurrentDiffSyncs)
maxConcurrentDiffSyncs
- Number of concurrent diff syncs permitted to send to observersCopyright © 2008–2021 The Apache Software Foundation. All rights reserved.