|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.root1.simon.RegistryStatistics
public class RegistryStatistics
A simple implementation of SimonRegistryStatistics
Constructor Summary | |
---|---|
protected |
RegistryStatistics(org.apache.mina.core.service.IoServiceStatistics ioServiceStatistics)
|
Method Summary | |
---|---|
long |
getCumulativeManagedSessionCount()
Returns the cumulative number of sessions which were managed (or are being managed) by this service, which means 'currently managed session count + closed session count'. |
int |
getLargestManagedSessionCount()
Returns the maximum number of sessions which were being managed at the same time. |
double |
getLargestReadBytesThroughput()
Returns the maximum of the readBytesThroughput . |
double |
getLargestReadMessagesThroughput()
Returns the maximum of the readMessagesThroughput . |
double |
getLargestWrittenBytesThroughput()
Returns the maximum of the writtenBytesThroughput . |
double |
getLargestWrittenMessagesThroughput()
Returns the maximum of the writtenMessagesThroughput . |
long |
getLastIoTime()
Returns the time in milliseconds when I/O occurred lastly. |
long |
getLastReadTime()
Returns the time in milliseconds when read operation occurred lastly. |
long |
getLastWriteTime()
Returns the time in milliseconds when write operation occurred lastly. |
long |
getReadBytes()
Returns the number of bytes read by this service |
double |
getReadBytesThroughput()
Returns the number of read bytes per second. |
long |
getReadMessages()
Returns the number of messages this services has read |
double |
getReadMessagesThroughput()
Returns the number of read messages per second. |
long |
getScheduledWriteBytes()
Returns the number of bytes that are scheduled for sending |
long |
getScheduledWriteMessages()
Returns the number of messages that are scheduled for sending |
int |
getThroughputCalculationInterval()
Returns the interval (seconds) between each throughput calculation. |
long |
getThroughputCalculationIntervalInMillis()
Returns the interval (milliseconds) between each throughput calculation. |
long |
getWrittenBytes()
Returns the number of bytes written out by this service |
double |
getWrittenBytesThroughput()
Returns the number of written bytes per second. |
long |
getWrittenMessages()
Returns the number of messages this service has written |
double |
getWrittenMessagesThroughput()
Returns the number of written messages per second. |
void |
setThroughputCalculationInterval(int throughputCalculationInterval)
Sets the interval (seconds) between each throughput calculation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected RegistryStatistics(org.apache.mina.core.service.IoServiceStatistics ioServiceStatistics)
Method Detail |
---|
public int getLargestManagedSessionCount()
SimonRegistryStatistics
getLargestManagedSessionCount
in interface SimonRegistryStatistics
public long getCumulativeManagedSessionCount()
SimonRegistryStatistics
getCumulativeManagedSessionCount
in interface SimonRegistryStatistics
public long getLastIoTime()
SimonRemoteStatistics
getLastIoTime
in interface SimonRemoteStatistics
public long getLastReadTime()
SimonRemoteStatistics
getLastReadTime
in interface SimonRemoteStatistics
public long getLastWriteTime()
SimonRemoteStatistics
getLastWriteTime
in interface SimonRemoteStatistics
public long getReadBytes()
SimonRemoteStatistics
getReadBytes
in interface SimonRemoteStatistics
public long getWrittenBytes()
SimonRemoteStatistics
getWrittenBytes
in interface SimonRemoteStatistics
public long getReadMessages()
SimonRemoteStatistics
getReadMessages
in interface SimonRemoteStatistics
public long getWrittenMessages()
SimonRemoteStatistics
getWrittenMessages
in interface SimonRemoteStatistics
public double getReadBytesThroughput()
SimonRemoteStatistics
getReadBytesThroughput
in interface SimonRemoteStatistics
public double getWrittenBytesThroughput()
SimonRemoteStatistics
getWrittenBytesThroughput
in interface SimonRemoteStatistics
public double getReadMessagesThroughput()
SimonRemoteStatistics
getReadMessagesThroughput
in interface SimonRemoteStatistics
public double getWrittenMessagesThroughput()
SimonRemoteStatistics
getWrittenMessagesThroughput
in interface SimonRemoteStatistics
public double getLargestReadBytesThroughput()
SimonRegistryStatistics
readBytesThroughput
.
getLargestReadBytesThroughput
in interface SimonRegistryStatistics
public double getLargestWrittenBytesThroughput()
SimonRegistryStatistics
writtenBytesThroughput
.
getLargestWrittenBytesThroughput
in interface SimonRegistryStatistics
public double getLargestReadMessagesThroughput()
SimonRegistryStatistics
readMessagesThroughput
.
getLargestReadMessagesThroughput
in interface SimonRegistryStatistics
public double getLargestWrittenMessagesThroughput()
SimonRegistryStatistics
writtenMessagesThroughput
.
getLargestWrittenMessagesThroughput
in interface SimonRegistryStatistics
public int getThroughputCalculationInterval()
public long getThroughputCalculationIntervalInMillis()
public void setThroughputCalculationInterval(int throughputCalculationInterval)
public long getScheduledWriteBytes()
SimonRemoteStatistics
getScheduledWriteBytes
in interface SimonRemoteStatistics
public long getScheduledWriteMessages()
SimonRemoteStatistics
getScheduledWriteMessages
in interface SimonRemoteStatistics
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |