|
||||||||||
| 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 SimonRegistryStatisticspublic long getCumulativeManagedSessionCount()
SimonRegistryStatistics
getCumulativeManagedSessionCount in interface SimonRegistryStatisticspublic long getLastIoTime()
SimonRemoteStatistics
getLastIoTime in interface SimonRemoteStatisticspublic long getLastReadTime()
SimonRemoteStatistics
getLastReadTime in interface SimonRemoteStatisticspublic long getLastWriteTime()
SimonRemoteStatistics
getLastWriteTime in interface SimonRemoteStatisticspublic long getReadBytes()
SimonRemoteStatistics
getReadBytes in interface SimonRemoteStatisticspublic long getWrittenBytes()
SimonRemoteStatistics
getWrittenBytes in interface SimonRemoteStatisticspublic long getReadMessages()
SimonRemoteStatistics
getReadMessages in interface SimonRemoteStatisticspublic long getWrittenMessages()
SimonRemoteStatistics
getWrittenMessages in interface SimonRemoteStatisticspublic double getReadBytesThroughput()
SimonRemoteStatistics
getReadBytesThroughput in interface SimonRemoteStatisticspublic double getWrittenBytesThroughput()
SimonRemoteStatistics
getWrittenBytesThroughput in interface SimonRemoteStatisticspublic double getReadMessagesThroughput()
SimonRemoteStatistics
getReadMessagesThroughput in interface SimonRemoteStatisticspublic double getWrittenMessagesThroughput()
SimonRemoteStatistics
getWrittenMessagesThroughput in interface SimonRemoteStatisticspublic double getLargestReadBytesThroughput()
SimonRegistryStatisticsreadBytesThroughput.
getLargestReadBytesThroughput in interface SimonRegistryStatisticspublic double getLargestWrittenBytesThroughput()
SimonRegistryStatisticswrittenBytesThroughput.
getLargestWrittenBytesThroughput in interface SimonRegistryStatisticspublic double getLargestReadMessagesThroughput()
SimonRegistryStatisticsreadMessagesThroughput.
getLargestReadMessagesThroughput in interface SimonRegistryStatisticspublic double getLargestWrittenMessagesThroughput()
SimonRegistryStatisticswrittenMessagesThroughput.
getLargestWrittenMessagesThroughput in interface SimonRegistryStatisticspublic int getThroughputCalculationInterval()
public long getThroughputCalculationIntervalInMillis()
public void setThroughputCalculationInterval(int throughputCalculationInterval)
public long getScheduledWriteBytes()
SimonRemoteStatistics
getScheduledWriteBytes in interface SimonRemoteStatisticspublic long getScheduledWriteMessages()
SimonRemoteStatistics
getScheduledWriteMessages in interface SimonRemoteStatistics
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||