public class ServerStats extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
ServerStats.Provider |
Constructor and Description |
---|
ServerStats(ServerStats.Provider provider) |
public ServerStats(ServerStats.Provider provider)
public long getMinLatency()
public double getAvgLatency()
public long getMaxLatency()
public long getOutstandingRequests()
public long getLastProcessedZxid()
public long getDataDirSize()
public long getLogDirSize()
public long getPacketsReceived()
public long getPacketsSent()
public String getServerState()
public int getNumAliveClientConnections()
public long getUptime()
public boolean isProviderNull()
public void updateLatency(Request request, long currentTime)
public void resetLatency()
public void resetMaxLatency()
public void incrementPacketsReceived()
public void incrementPacketsSent()
public void resetRequestCounters()
public long getFsyncThresholdExceedCount()
public void incrementFsyncThresholdExceedCount()
public void resetFsyncThresholdExceedCount()
public long getNonMTLSLocalConnCount()
public void incrementNonMTLSLocalConnCount()
public void resetNonMTLSLocalConnCount()
public long getNonMTLSRemoteConnCount()
public void incrementNonMTLSRemoteConnCount()
public void resetNonMTLSRemoteConnCount()
public long getAuthFailedCount()
public void incrementAuthFailedCount()
public void resetAuthFailedCount()
public void reset()
public void updateClientResponseSize(int size)
public BufferStats getClientResponseStats()
Copyright © 2008–2022 The Apache Software Foundation. All rights reserved.