public class ZooKeeperServerBean extends Object implements ZooKeeperServerMXBean, ZKMBeanInfo
| Modifier and Type | Field and Description |
|---|---|
protected ZooKeeperServer |
zks |
| Constructor and Description |
|---|
ZooKeeperServerBean(ZooKeeperServer zks) |
protected final ZooKeeperServer zks
public ZooKeeperServerBean(ZooKeeperServer zks)
public String getClientPort()
getClientPort in interface ZooKeeperServerMXBeanpublic String getName()
getName in interface ZKMBeanInfopublic boolean isHidden()
ZKMBeanInfoisHidden in interface ZKMBeanInfopublic String getStartTime()
getStartTime in interface ZooKeeperServerMXBeanpublic String getVersion()
getVersion in interface ZooKeeperServerMXBeanpublic double getAvgRequestLatency()
getAvgRequestLatency in interface ZooKeeperServerMXBeanpublic long getMaxRequestLatency()
getMaxRequestLatency in interface ZooKeeperServerMXBeanpublic long getMinRequestLatency()
getMinRequestLatency in interface ZooKeeperServerMXBeanpublic long getOutstandingRequests()
getOutstandingRequests in interface ZooKeeperServerMXBeanpublic int getTickTime()
ZooKeeperServerMXBeangetTickTime in interface ZooKeeperServerMXBeanpublic void setTickTime(int tickTime)
ZooKeeperServerMXBeansetTickTime in interface ZooKeeperServerMXBeanpublic int getMaxClientCnxnsPerHost()
ZooKeeperServerMXBeangetMaxClientCnxnsPerHost in interface ZooKeeperServerMXBeanpublic void setMaxClientCnxnsPerHost(int max)
ZooKeeperServerMXBeansetMaxClientCnxnsPerHost in interface ZooKeeperServerMXBeanpublic int getMinSessionTimeout()
ZooKeeperServerMXBeangetMinSessionTimeout in interface ZooKeeperServerMXBeanpublic void setMinSessionTimeout(int min)
ZooKeeperServerMXBeansetMinSessionTimeout in interface ZooKeeperServerMXBeanpublic int getMaxSessionTimeout()
ZooKeeperServerMXBeangetMaxSessionTimeout in interface ZooKeeperServerMXBeanpublic void setMaxSessionTimeout(int max)
ZooKeeperServerMXBeansetMaxSessionTimeout in interface ZooKeeperServerMXBeanpublic long getDataDirSize()
getDataDirSize in interface ZooKeeperServerMXBeanpublic long getLogDirSize()
getLogDirSize in interface ZooKeeperServerMXBeanpublic long getPacketsReceived()
getPacketsReceived in interface ZooKeeperServerMXBeanpublic long getPacketsSent()
getPacketsSent in interface ZooKeeperServerMXBeanpublic long getFsyncThresholdExceedCount()
getFsyncThresholdExceedCount in interface ZooKeeperServerMXBeanpublic long getAuthFailedCount()
getAuthFailedCount in interface ZooKeeperServerMXBeanpublic long getNonMTLSRemoteConnCount()
getNonMTLSRemoteConnCount in interface ZooKeeperServerMXBeanpublic long getNonMTLSLocalConnCount()
getNonMTLSLocalConnCount in interface ZooKeeperServerMXBeanpublic void resetLatency()
ZooKeeperServerMXBeanresetLatency in interface ZooKeeperServerMXBeanpublic void resetMaxLatency()
ZooKeeperServerMXBeanresetMaxLatency in interface ZooKeeperServerMXBeanpublic void resetFsyncThresholdExceedCount()
ZooKeeperServerMXBeanresetFsyncThresholdExceedCount in interface ZooKeeperServerMXBeanpublic void resetAuthFailedCount()
ZooKeeperServerMXBeanresetAuthFailedCount in interface ZooKeeperServerMXBeanpublic void resetNonMTLSConnCount()
ZooKeeperServerMXBeanresetNonMTLSConnCount in interface ZooKeeperServerMXBeanpublic void resetStatistics()
ZooKeeperServerMXBeanresetStatistics in interface ZooKeeperServerMXBeanpublic long getNumAliveConnections()
getNumAliveConnections in interface ZooKeeperServerMXBeanpublic String getSecureClientPort()
getSecureClientPort in interface ZooKeeperServerMXBeanpublic String getSecureClientAddress()
getSecureClientAddress in interface ZooKeeperServerMXBeanpublic long getTxnLogElapsedSyncTime()
ZooKeeperServerMXBeangetTxnLogElapsedSyncTime in interface ZooKeeperServerMXBeanpublic int getJuteMaxBufferSize()
getJuteMaxBufferSize in interface ZooKeeperServerMXBeanpublic int getLastClientResponseSize()
getLastClientResponseSize in interface ZooKeeperServerMXBeanpublic int getMinClientResponseSize()
getMinClientResponseSize in interface ZooKeeperServerMXBeanpublic int getMaxClientResponseSize()
getMaxClientResponseSize in interface ZooKeeperServerMXBeanpublic boolean getResponseCachingEnabled()
getResponseCachingEnabled in interface ZooKeeperServerMXBeanpublic void setResponseCachingEnabled(boolean isEnabled)
setResponseCachingEnabled in interface ZooKeeperServerMXBeanpublic int getConnectionMaxTokens()
getConnectionMaxTokens in interface ZooKeeperServerMXBeanpublic void setConnectionMaxTokens(int val)
setConnectionMaxTokens in interface ZooKeeperServerMXBeanpublic int getConnectionTokenFillTime()
getConnectionTokenFillTime in interface ZooKeeperServerMXBeanpublic void setConnectionTokenFillTime(int val)
setConnectionTokenFillTime in interface ZooKeeperServerMXBeanpublic int getConnectionTokenFillCount()
getConnectionTokenFillCount in interface ZooKeeperServerMXBeanpublic void setConnectionTokenFillCount(int val)
setConnectionTokenFillCount in interface ZooKeeperServerMXBeanpublic int getConnectionFreezeTime()
getConnectionFreezeTime in interface ZooKeeperServerMXBeanpublic void setConnectionFreezeTime(int val)
setConnectionFreezeTime in interface ZooKeeperServerMXBeanpublic double getConnectionDropIncrease()
getConnectionDropIncrease in interface ZooKeeperServerMXBeanpublic void setConnectionDropIncrease(double val)
setConnectionDropIncrease in interface ZooKeeperServerMXBeanpublic double getConnectionDropDecrease()
getConnectionDropDecrease in interface ZooKeeperServerMXBeanpublic void setConnectionDropDecrease(double val)
setConnectionDropDecrease in interface ZooKeeperServerMXBeanpublic double getConnectionDecreaseRatio()
getConnectionDecreaseRatio in interface ZooKeeperServerMXBeanpublic void setConnectionDecreaseRatio(double val)
setConnectionDecreaseRatio in interface ZooKeeperServerMXBeanpublic int getCommitProcMaxReadBatchSize()
getCommitProcMaxReadBatchSize in interface ZooKeeperServerMXBeanpublic void setCommitProcMaxReadBatchSize(int size)
setCommitProcMaxReadBatchSize in interface ZooKeeperServerMXBeanpublic int getCommitProcMaxCommitBatchSize()
getCommitProcMaxCommitBatchSize in interface ZooKeeperServerMXBeanpublic void setCommitProcMaxCommitBatchSize(int size)
setCommitProcMaxCommitBatchSize in interface ZooKeeperServerMXBeanpublic long getFlushDelay()
getFlushDelay in interface ZooKeeperServerMXBeanpublic void setFlushDelay(long delay)
setFlushDelay in interface ZooKeeperServerMXBeanpublic int getRequestThrottleLimit()
getRequestThrottleLimit in interface ZooKeeperServerMXBeanpublic void setRequestThrottleLimit(int requests)
setRequestThrottleLimit in interface ZooKeeperServerMXBeanpublic int getRequestThrottleStallTime()
getRequestThrottleStallTime in interface ZooKeeperServerMXBeanpublic void setRequestThrottleStallTime(int time)
setRequestThrottleStallTime in interface ZooKeeperServerMXBeanpublic boolean getRequestThrottleDropStale()
getRequestThrottleDropStale in interface ZooKeeperServerMXBeanpublic void setRequestThrottleDropStale(boolean drop)
setRequestThrottleDropStale in interface ZooKeeperServerMXBeanpublic long getMaxWriteQueuePollTime()
getMaxWriteQueuePollTime in interface ZooKeeperServerMXBeanpublic void setMaxWriteQueuePollTime(long delay)
setMaxWriteQueuePollTime in interface ZooKeeperServerMXBeanpublic boolean getRequestStaleLatencyCheck()
getRequestStaleLatencyCheck in interface ZooKeeperServerMXBeanpublic void setRequestStaleLatencyCheck(boolean check)
setRequestStaleLatencyCheck in interface ZooKeeperServerMXBeanpublic int getMaxBatchSize()
getMaxBatchSize in interface ZooKeeperServerMXBeanpublic void setMaxBatchSize(int size)
setMaxBatchSize in interface ZooKeeperServerMXBeanpublic boolean getRequestStaleConnectionCheck()
getRequestStaleConnectionCheck in interface ZooKeeperServerMXBeanpublic void setRequestStaleConnectionCheck(boolean check)
setRequestStaleConnectionCheck in interface ZooKeeperServerMXBeanpublic int getLargeRequestMaxBytes()
getLargeRequestMaxBytes in interface ZooKeeperServerMXBeanpublic void setLargeRequestMaxBytes(int bytes)
setLargeRequestMaxBytes in interface ZooKeeperServerMXBeanpublic int getLargeRequestThreshold()
getLargeRequestThreshold in interface ZooKeeperServerMXBeanpublic void setLargeRequestThreshold(int threshold)
setLargeRequestThreshold in interface ZooKeeperServerMXBeanpublic int getMaxCnxns()
getMaxCnxns in interface ZooKeeperServerMXBeanCopyright © 2008–2021 The Apache Software Foundation. All rights reserved.