Class ConnectionStatistics.Stats
java.lang.Object
org.eclipse.jetty.io.ConnectionStatistics.Stats
- All Implemented Interfaces:
org.eclipse.jetty.util.component.Dumpable
- Enclosing class:
ConnectionStatistics
public static class ConnectionStatistics.Stats
extends Object
implements org.eclipse.jetty.util.component.Dumpable
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
org.eclipse.jetty.util.component.Dumpable.DumpableContainer -
Field Summary
Fields inherited from interface org.eclipse.jetty.util.component.Dumpable
KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddump(Appendable out, String indent) longdoubledoublelonglonglonggetName()longlonglonglonglonglonglonglongvoidvoidrecordBytesIn(long bytesIn) voidrecordBytesOut(long bytesOut) voidrecordDuration(long duration) voidrecordMessagesIn(long messagesIn) voidrecordMessagesOut(long messagesOut) voidreset()toString()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jetty.util.component.Dumpable
dump, dumpSelf
-
Constructor Details
-
Stats
-
-
Method Details
-
reset
public void reset() -
getName
-
getReceivedBytes
public long getReceivedBytes() -
getReceivedBytesRate
public long getReceivedBytesRate() -
getSentBytes
public long getSentBytes() -
getSentBytesRate
public long getSentBytesRate() -
getConnectionDurationMax
public long getConnectionDurationMax() -
getConnectionDurationMean
public double getConnectionDurationMean() -
getConnectionDurationStdDev
public double getConnectionDurationStdDev() -
getConnectionsTotal
public long getConnectionsTotal() -
getConnections
public long getConnections() -
getConnectionsMax
public long getConnectionsMax() -
getReceivedMessages
public long getReceivedMessages() -
getReceivedMessagesRate
public long getReceivedMessagesRate() -
getSentMessages
public long getSentMessages() -
getSentMessagesRate
public long getSentMessagesRate() -
incrementCount
public void incrementCount() -
decrementCount
public void decrementCount() -
recordDuration
public void recordDuration(long duration) -
recordBytesIn
public void recordBytesIn(long bytesIn) -
recordBytesOut
public void recordBytesOut(long bytesOut) -
recordMessagesIn
public void recordMessagesIn(long messagesIn) -
recordMessagesOut
public void recordMessagesOut(long messagesOut) -
dump
- Specified by:
dumpin interfaceorg.eclipse.jetty.util.component.Dumpable- Throws:
IOException
-
toString
-