public class ServerStats
extends java.lang.Object
Modifier and Type | Class | Description |
---|---|---|
static interface |
ServerStats.Provider |
Constructor | Description |
---|---|
ServerStats(ServerStats.Provider provider) |
Modifier and Type | Method | Description |
---|---|---|
long |
getAvgLatency() |
|
long |
getLastProcessedZxid() |
|
long |
getMaxLatency() |
|
long |
getMinLatency() |
|
int |
getNumAliveClientConnections() |
The number of client connections alive to this server
|
long |
getOutstandingRequests() |
|
long |
getPacketsReceived() |
|
long |
getPacketsSent() |
|
java.lang.String |
getServerState() |
|
void |
incrementPacketsReceived() |
|
void |
incrementPacketsSent() |
|
void |
reset() |
|
void |
resetLatency() |
|
void |
resetMaxLatency() |
|
void |
resetRequestCounters() |
|
java.lang.String |
toString() |
public ServerStats(ServerStats.Provider provider)
public long getMinLatency()
public long getAvgLatency()
public long getMaxLatency()
public long getOutstandingRequests()
public long getLastProcessedZxid()
public long getPacketsReceived()
public long getPacketsSent()
public java.lang.String getServerState()
public int getNumAliveClientConnections()
public java.lang.String toString()
toString
in class java.lang.Object
public void resetLatency()
public void resetMaxLatency()
public void incrementPacketsReceived()
public void incrementPacketsSent()
public void resetRequestCounters()
public void reset()
Copyright © 2018 The Apache Software Foundation