Package org.eclipse.jetty.io
Class ConnectionStatistics.Stats
- java.lang.Object
-
- org.eclipse.jetty.io.ConnectionStatistics.Stats
-
- All Implemented Interfaces:
Dumpable
- Enclosing class:
- ConnectionStatistics
public static class ConnectionStatistics.Stats extends java.lang.Object implements Dumpable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
Dumpable.DumpableContainer
-
-
Constructor Summary
Constructors Constructor Description Stats(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
decrementCount()
void
dump(java.lang.Appendable out, java.lang.String indent)
Dump this object (and children) into an Appendable using the provided indent after any new lines.long
getConnectionDurationMax()
double
getConnectionDurationMean()
double
getConnectionDurationStdDev()
long
getConnections()
long
getConnectionsMax()
long
getConnectionsTotal()
java.lang.String
getName()
long
getReceivedBytes()
long
getReceivedBytesRate()
long
getReceivedMessages()
long
getReceivedMessagesRate()
long
getSentBytes()
long
getSentBytesRate()
long
getSentMessages()
long
getSentMessagesRate()
void
incrementCount()
void
recordBytesIn(long bytesIn)
void
recordBytesOut(long bytesOut)
void
recordDuration(long duration)
void
recordMessagesIn(long messagesIn)
void
recordMessagesOut(long messagesOut)
void
reset()
java.lang.String
toString()
-
-
-
Method Detail
-
reset
public void reset()
-
getName
public java.lang.String 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
public void dump(java.lang.Appendable out, java.lang.String indent) throws java.io.IOException
Description copied from interface:Dumpable
Dump this object (and children) into an Appendable using the provided indent after any new lines. The indent should not be applied to the first object dumped.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-