Class FollowerBean
- java.lang.Object
- 
- org.apache.zookeeper.server.ZooKeeperServerBean
- 
- org.apache.zookeeper.server.quorum.FollowerBean
 
 
- 
- All Implemented Interfaces:
- ZKMBeanInfo,- FollowerMXBean,- ZooKeeperServerMXBean
 
 public class FollowerBean extends ZooKeeperServerBean implements FollowerMXBean Follower MBean interface implementation
- 
- 
Field Summary- 
Fields inherited from class org.apache.zookeeper.server.ZooKeeperServerBeanzks
 
- 
 - 
Constructor SummaryConstructors Constructor Description FollowerBean(Follower follower, ZooKeeperServer zks)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetElectionTimeTaken()StringgetLastQueuedZxid()intgetMaxConcurrentDiffSyncs()intgetMaxConcurrentSnapSyncs()StringgetName()intgetObserverMasterPacketSizeLimit()intgetPendingRevalidationCount()StringgetQuorumAddress()voidsetMaxConcurrentDiffSyncs(int maxConcurrentDiffSyncs)voidsetMaxConcurrentSnapSyncs(int maxConcurrentSnapshots)voidsetObserverMasterPacketSizeLimit(int sizeLimit)set the size limit in bytes for the observer master commit packet queue- 
Methods inherited from class org.apache.zookeeper.server.ZooKeeperServerBeangetAuthFailedCount, 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
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.apache.zookeeper.server.ZooKeeperServerMXBeangetAuthFailedCount, 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
 
- 
 
- 
- 
- 
Constructor Detail- 
FollowerBeanpublic FollowerBean(Follower follower, ZooKeeperServer zks) 
 
- 
 - 
Method Detail- 
getNamepublic String getName() - Specified by:
- getNamein interface- ZKMBeanInfo
- Overrides:
- getNamein class- ZooKeeperServerBean
- Returns:
- a string identifying the MBean
 
 - 
getQuorumAddresspublic String getQuorumAddress() - Specified by:
- getQuorumAddressin interface- FollowerMXBean
- Returns:
- socket address
 
 - 
getLastQueuedZxidpublic String getLastQueuedZxid() - Specified by:
- getLastQueuedZxidin interface- FollowerMXBean
- Returns:
- last queued zxid
 
 - 
getPendingRevalidationCountpublic int getPendingRevalidationCount() - Specified by:
- getPendingRevalidationCountin interface- FollowerMXBean
- Returns:
- count of pending revalidations
 
 - 
getElectionTimeTakenpublic long getElectionTimeTaken() - Specified by:
- getElectionTimeTakenin interface- FollowerMXBean
- Returns:
- time taken for leader election in milliseconds.
 
 - 
getObserverMasterPacketSizeLimitpublic int getObserverMasterPacketSizeLimit() - Specified by:
- getObserverMasterPacketSizeLimitin interface- FollowerMXBean
- Returns:
- the size limit in bytes for the observer master commit packet queue
 
 - 
setObserverMasterPacketSizeLimitpublic void setObserverMasterPacketSizeLimit(int sizeLimit) Description copied from interface:FollowerMXBeanset the size limit in bytes for the observer master commit packet queue- Specified by:
- setObserverMasterPacketSizeLimitin interface- FollowerMXBean
 
 - 
getMaxConcurrentSnapSyncspublic int getMaxConcurrentSnapSyncs() - Specified by:
- getMaxConcurrentSnapSyncsin interface- FollowerMXBean
- Returns:
- Number of concurrent snapshots permitted to send to observers
 
 - 
setMaxConcurrentSnapSyncspublic void setMaxConcurrentSnapSyncs(int maxConcurrentSnapshots) - Specified by:
- setMaxConcurrentSnapSyncsin interface- FollowerMXBean
- Parameters:
- maxConcurrentSnapshots- Number of concurrent snapshots permitted to send to observers
 
 - 
getMaxConcurrentDiffSyncspublic int getMaxConcurrentDiffSyncs() - Specified by:
- getMaxConcurrentDiffSyncsin interface- FollowerMXBean
- Returns:
- Number of concurrent diff syncs permitted to send to observers
 
 - 
setMaxConcurrentDiffSyncspublic void setMaxConcurrentDiffSyncs(int maxConcurrentDiffSyncs) - Specified by:
- setMaxConcurrentDiffSyncsin interface- FollowerMXBean
- Parameters:
- maxConcurrentDiffSyncs- Number of concurrent diff syncs permitted to send to observers
 
 
- 
 
-