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 ZooKeeperServerMXBean
public String getName()
getName
in interface ZKMBeanInfo
public boolean isHidden()
ZKMBeanInfo
isHidden
in interface ZKMBeanInfo
public String getStartTime()
getStartTime
in interface ZooKeeperServerMXBean
public String getVersion()
getVersion
in interface ZooKeeperServerMXBean
public double getAvgRequestLatency()
getAvgRequestLatency
in interface ZooKeeperServerMXBean
public long getMaxRequestLatency()
getMaxRequestLatency
in interface ZooKeeperServerMXBean
public long getMinRequestLatency()
getMinRequestLatency
in interface ZooKeeperServerMXBean
public long getOutstandingRequests()
getOutstandingRequests
in interface ZooKeeperServerMXBean
public int getTickTime()
ZooKeeperServerMXBean
getTickTime
in interface ZooKeeperServerMXBean
public void setTickTime(int tickTime)
ZooKeeperServerMXBean
setTickTime
in interface ZooKeeperServerMXBean
public int getMaxClientCnxnsPerHost()
ZooKeeperServerMXBean
getMaxClientCnxnsPerHost
in interface ZooKeeperServerMXBean
public void setMaxClientCnxnsPerHost(int max)
ZooKeeperServerMXBean
setMaxClientCnxnsPerHost
in interface ZooKeeperServerMXBean
public int getMinSessionTimeout()
ZooKeeperServerMXBean
getMinSessionTimeout
in interface ZooKeeperServerMXBean
public void setMinSessionTimeout(int min)
ZooKeeperServerMXBean
setMinSessionTimeout
in interface ZooKeeperServerMXBean
public int getMaxSessionTimeout()
ZooKeeperServerMXBean
getMaxSessionTimeout
in interface ZooKeeperServerMXBean
public void setMaxSessionTimeout(int max)
ZooKeeperServerMXBean
setMaxSessionTimeout
in interface ZooKeeperServerMXBean
public long getDataDirSize()
getDataDirSize
in interface ZooKeeperServerMXBean
public long getLogDirSize()
getLogDirSize
in interface ZooKeeperServerMXBean
public long getPacketsReceived()
getPacketsReceived
in interface ZooKeeperServerMXBean
public long getPacketsSent()
getPacketsSent
in interface ZooKeeperServerMXBean
public long getFsyncThresholdExceedCount()
getFsyncThresholdExceedCount
in interface ZooKeeperServerMXBean
public long getAuthFailedCount()
getAuthFailedCount
in interface ZooKeeperServerMXBean
public long getNonMTLSRemoteConnCount()
getNonMTLSRemoteConnCount
in interface ZooKeeperServerMXBean
public long getNonMTLSLocalConnCount()
getNonMTLSLocalConnCount
in interface ZooKeeperServerMXBean
public void resetLatency()
ZooKeeperServerMXBean
resetLatency
in interface ZooKeeperServerMXBean
public void resetMaxLatency()
ZooKeeperServerMXBean
resetMaxLatency
in interface ZooKeeperServerMXBean
public void resetFsyncThresholdExceedCount()
ZooKeeperServerMXBean
resetFsyncThresholdExceedCount
in interface ZooKeeperServerMXBean
public void resetAuthFailedCount()
ZooKeeperServerMXBean
resetAuthFailedCount
in interface ZooKeeperServerMXBean
public void resetNonMTLSConnCount()
ZooKeeperServerMXBean
resetNonMTLSConnCount
in interface ZooKeeperServerMXBean
public void resetStatistics()
ZooKeeperServerMXBean
resetStatistics
in interface ZooKeeperServerMXBean
public long getNumAliveConnections()
getNumAliveConnections
in interface ZooKeeperServerMXBean
public String getSecureClientPort()
getSecureClientPort
in interface ZooKeeperServerMXBean
public String getSecureClientAddress()
getSecureClientAddress
in interface ZooKeeperServerMXBean
public long getTxnLogElapsedSyncTime()
ZooKeeperServerMXBean
getTxnLogElapsedSyncTime
in interface ZooKeeperServerMXBean
public int getJuteMaxBufferSize()
getJuteMaxBufferSize
in interface ZooKeeperServerMXBean
public int getLastClientResponseSize()
getLastClientResponseSize
in interface ZooKeeperServerMXBean
public int getMinClientResponseSize()
getMinClientResponseSize
in interface ZooKeeperServerMXBean
public int getMaxClientResponseSize()
getMaxClientResponseSize
in interface ZooKeeperServerMXBean
public boolean getResponseCachingEnabled()
getResponseCachingEnabled
in interface ZooKeeperServerMXBean
public void setResponseCachingEnabled(boolean isEnabled)
setResponseCachingEnabled
in interface ZooKeeperServerMXBean
public int getConnectionMaxTokens()
getConnectionMaxTokens
in interface ZooKeeperServerMXBean
public void setConnectionMaxTokens(int val)
setConnectionMaxTokens
in interface ZooKeeperServerMXBean
public int getConnectionTokenFillTime()
getConnectionTokenFillTime
in interface ZooKeeperServerMXBean
public void setConnectionTokenFillTime(int val)
setConnectionTokenFillTime
in interface ZooKeeperServerMXBean
public int getConnectionTokenFillCount()
getConnectionTokenFillCount
in interface ZooKeeperServerMXBean
public void setConnectionTokenFillCount(int val)
setConnectionTokenFillCount
in interface ZooKeeperServerMXBean
public int getConnectionFreezeTime()
getConnectionFreezeTime
in interface ZooKeeperServerMXBean
public void setConnectionFreezeTime(int val)
setConnectionFreezeTime
in interface ZooKeeperServerMXBean
public double getConnectionDropIncrease()
getConnectionDropIncrease
in interface ZooKeeperServerMXBean
public void setConnectionDropIncrease(double val)
setConnectionDropIncrease
in interface ZooKeeperServerMXBean
public double getConnectionDropDecrease()
getConnectionDropDecrease
in interface ZooKeeperServerMXBean
public void setConnectionDropDecrease(double val)
setConnectionDropDecrease
in interface ZooKeeperServerMXBean
public double getConnectionDecreaseRatio()
getConnectionDecreaseRatio
in interface ZooKeeperServerMXBean
public void setConnectionDecreaseRatio(double val)
setConnectionDecreaseRatio
in interface ZooKeeperServerMXBean
public int getCommitProcMaxReadBatchSize()
getCommitProcMaxReadBatchSize
in interface ZooKeeperServerMXBean
public void setCommitProcMaxReadBatchSize(int size)
setCommitProcMaxReadBatchSize
in interface ZooKeeperServerMXBean
public int getCommitProcMaxCommitBatchSize()
getCommitProcMaxCommitBatchSize
in interface ZooKeeperServerMXBean
public void setCommitProcMaxCommitBatchSize(int size)
setCommitProcMaxCommitBatchSize
in interface ZooKeeperServerMXBean
public long getFlushDelay()
getFlushDelay
in interface ZooKeeperServerMXBean
public void setFlushDelay(long delay)
setFlushDelay
in interface ZooKeeperServerMXBean
public int getThrottledOpWaitTime()
getThrottledOpWaitTime
in interface ZooKeeperServerMXBean
public void setThrottledOpWaitTime(int val)
setThrottledOpWaitTime
in interface ZooKeeperServerMXBean
public int getRequestThrottleLimit()
getRequestThrottleLimit
in interface ZooKeeperServerMXBean
public void setRequestThrottleLimit(int requests)
setRequestThrottleLimit
in interface ZooKeeperServerMXBean
public int getRequestThrottleStallTime()
getRequestThrottleStallTime
in interface ZooKeeperServerMXBean
public void setRequestThrottleStallTime(int time)
setRequestThrottleStallTime
in interface ZooKeeperServerMXBean
public boolean getRequestThrottleDropStale()
getRequestThrottleDropStale
in interface ZooKeeperServerMXBean
public void setRequestThrottleDropStale(boolean drop)
setRequestThrottleDropStale
in interface ZooKeeperServerMXBean
public long getMaxWriteQueuePollTime()
getMaxWriteQueuePollTime
in interface ZooKeeperServerMXBean
public void setMaxWriteQueuePollTime(long delay)
setMaxWriteQueuePollTime
in interface ZooKeeperServerMXBean
public boolean getRequestStaleLatencyCheck()
getRequestStaleLatencyCheck
in interface ZooKeeperServerMXBean
public void setRequestStaleLatencyCheck(boolean check)
setRequestStaleLatencyCheck
in interface ZooKeeperServerMXBean
public int getMaxBatchSize()
getMaxBatchSize
in interface ZooKeeperServerMXBean
public void setMaxBatchSize(int size)
setMaxBatchSize
in interface ZooKeeperServerMXBean
public boolean getRequestStaleConnectionCheck()
getRequestStaleConnectionCheck
in interface ZooKeeperServerMXBean
public void setRequestStaleConnectionCheck(boolean check)
setRequestStaleConnectionCheck
in interface ZooKeeperServerMXBean
public int getLargeRequestMaxBytes()
getLargeRequestMaxBytes
in interface ZooKeeperServerMXBean
public void setLargeRequestMaxBytes(int bytes)
setLargeRequestMaxBytes
in interface ZooKeeperServerMXBean
public int getLargeRequestThreshold()
getLargeRequestThreshold
in interface ZooKeeperServerMXBean
public void setLargeRequestThreshold(int threshold)
setLargeRequestThreshold
in interface ZooKeeperServerMXBean
public int getMaxCnxns()
getMaxCnxns
in interface ZooKeeperServerMXBean
Copyright © 2008–2021 The Apache Software Foundation. All rights reserved.