Package org.apache.zookeeper.server
Class ServerStats
- java.lang.Object
- 
- org.apache.zookeeper.server.ServerStats
 
- 
 public class ServerStats extends Object Basic Server Statistics
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static interfaceServerStats.Provider
 - 
Constructor SummaryConstructors Constructor Description ServerStats(ServerStats.Provider provider)
 - 
Method Summary
 
- 
- 
- 
Constructor Detail- 
ServerStatspublic ServerStats(ServerStats.Provider provider) 
 
- 
 - 
Method Detail- 
getMinLatencypublic long getMinLatency() 
 - 
getAvgLatencypublic double getAvgLatency() 
 - 
getMaxLatencypublic long getMaxLatency() 
 - 
getOutstandingRequestspublic long getOutstandingRequests() 
 - 
getLastProcessedZxidpublic long getLastProcessedZxid() 
 - 
getDataDirSizepublic long getDataDirSize() 
 - 
getLogDirSizepublic long getLogDirSize() 
 - 
getPacketsReceivedpublic long getPacketsReceived() 
 - 
getPacketsSentpublic long getPacketsSent() 
 - 
getServerStatepublic String getServerState() 
 - 
getNumAliveClientConnectionspublic int getNumAliveClientConnections() The number of client connections alive to this server
 - 
getUptimepublic long getUptime() 
 - 
isProviderNullpublic boolean isProviderNull() 
 - 
updateLatencypublic void updateLatency(Request request, long currentTime) Update request statistic. This should only be called from a request that originated from that machine.
 - 
resetLatencypublic void resetLatency() 
 - 
resetMaxLatencypublic void resetMaxLatency() 
 - 
incrementPacketsReceivedpublic void incrementPacketsReceived() 
 - 
incrementPacketsSentpublic void incrementPacketsSent() 
 - 
resetRequestCounterspublic void resetRequestCounters() 
 - 
getFsyncThresholdExceedCountpublic long getFsyncThresholdExceedCount() 
 - 
incrementFsyncThresholdExceedCountpublic void incrementFsyncThresholdExceedCount() 
 - 
resetFsyncThresholdExceedCountpublic void resetFsyncThresholdExceedCount() 
 - 
getNonMTLSLocalConnCountpublic long getNonMTLSLocalConnCount() 
 - 
incrementNonMTLSLocalConnCountpublic void incrementNonMTLSLocalConnCount() 
 - 
resetNonMTLSLocalConnCountpublic void resetNonMTLSLocalConnCount() 
 - 
getNonMTLSRemoteConnCountpublic long getNonMTLSRemoteConnCount() 
 - 
incrementNonMTLSRemoteConnCountpublic void incrementNonMTLSRemoteConnCount() 
 - 
resetNonMTLSRemoteConnCountpublic void resetNonMTLSRemoteConnCount() 
 - 
getAuthFailedCountpublic long getAuthFailedCount() 
 - 
incrementAuthFailedCountpublic void incrementAuthFailedCount() 
 - 
resetAuthFailedCountpublic void resetAuthFailedCount() 
 - 
resetpublic void reset() 
 - 
updateClientResponseSizepublic void updateClientResponseSize(int size) 
 - 
getClientResponseStatspublic BufferStats getClientResponseStats() 
 
- 
 
-