|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.root1.simon.RemoteStatistics
public class RemoteStatistics
A simple implementation of SimonRemoteStatistics
Constructor Summary | |
---|---|
protected |
RemoteStatistics(org.apache.mina.core.session.IoSession ioSession)
|
Method Summary | |
---|---|
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 |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected RemoteStatistics(org.apache.mina.core.session.IoSession ioSession)
Method Detail |
---|
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 double getReadBytesThroughput()
SimonRemoteStatistics
getReadBytesThroughput
in interface SimonRemoteStatistics
public long getReadMessages()
SimonRemoteStatistics
getReadMessages
in interface SimonRemoteStatistics
public double getReadMessagesThroughput()
SimonRemoteStatistics
getReadMessagesThroughput
in interface SimonRemoteStatistics
public long getScheduledWriteBytes()
SimonRemoteStatistics
getScheduledWriteBytes
in interface SimonRemoteStatistics
public long getScheduledWriteMessages()
SimonRemoteStatistics
getScheduledWriteMessages
in interface SimonRemoteStatistics
public long getWrittenBytes()
SimonRemoteStatistics
getWrittenBytes
in interface SimonRemoteStatistics
public double getWrittenBytesThroughput()
SimonRemoteStatistics
getWrittenBytesThroughput
in interface SimonRemoteStatistics
public long getWrittenMessages()
SimonRemoteStatistics
getWrittenMessages
in interface SimonRemoteStatistics
public double getWrittenMessagesThroughput()
SimonRemoteStatistics
getWrittenMessagesThroughput
in interface SimonRemoteStatistics
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |