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) |
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, getNumAliveConnections, getOutstandingRequests, getPacketsReceived, getPacketsSent, getRequestStaleConnectionCheck, getRequestStaleLatencyCheck, getRequestThrottleDropStale, getRequestThrottleLimit, getRequestThrottleStallTime, getResponseCachingEnabled, getSecureClientAddress, getSecureClientPort, getStartTime, getTickTime, getTxnLogElapsedSyncTime, getVersion, resetFsyncThresholdExceedCount, resetLatency, resetMaxLatency, resetStatistics, setCommitProcMaxCommitBatchSize, setCommitProcMaxReadBatchSize, setConnectionDecreaseRatio, setConnectionDropDecrease, setConnectionDropIncrease, setConnectionFreezeTime, setConnectionMaxTokens, setConnectionTokenFillCount, setConnectionTokenFillTime, setFlushDelay, setLargeRequestMaxBytes, setLargeRequestThreshold, setMaxBatchSize, setMaxClientCnxnsPerHost, setMaxSessionTimeout, setMaxWriteQueuePollTime, setMinSessionTimeout, setRequestStaleConnectionCheck, setRequestStaleLatencyCheck, setRequestThrottleDropStale, setRequestThrottleLimit, setRequestThrottleStallTime, setResponseCachingEnabled, 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–2020 The Apache Software Foundation. All rights reserved.