Class ServerStats


  • public class ServerStats
    extends java.lang.Object
    Basic Server Statistics
    • Method Detail

      • getMinLatency

        public long getMinLatency()
      • getAvgLatency

        public long getAvgLatency()
      • getMaxLatency

        public long getMaxLatency()
      • getOutstandingRequests

        public long getOutstandingRequests()
      • getLastProcessedZxid

        public long getLastProcessedZxid()
      • getPacketsReceived

        public long getPacketsReceived()
      • getPacketsSent

        public long getPacketsSent()
      • getServerState

        public java.lang.String getServerState()
      • getNumAliveClientConnections

        public int getNumAliveClientConnections()
        The number of client connections alive to this server
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getFsyncThresholdExceedCount

        public long getFsyncThresholdExceedCount()
      • incrementFsyncThresholdExceedCount

        public void incrementFsyncThresholdExceedCount()
      • resetFsyncThresholdExceedCount

        public void resetFsyncThresholdExceedCount()
      • resetLatency

        public void resetLatency()
      • resetMaxLatency

        public void resetMaxLatency()
      • incrementPacketsReceived

        public void incrementPacketsReceived()
      • incrementPacketsSent

        public void incrementPacketsSent()
      • resetRequestCounters

        public void resetRequestCounters()
      • reset

        public void reset()