de.root1.simon
Interface SimonRemoteStatistics

All Known Subinterfaces:
SimonRegistryStatistics
All Known Implementing Classes:
RegistryStatistics, RemoteStatistics

public interface SimonRemoteStatistics

An interface for getting some network related statistics from a SimonRemote's session

Author:
alexanderchristian

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.
 

Method Detail

getLastIoTime

long getLastIoTime()
Returns the time in milliseconds when I/O occurred lastly.


getLastReadTime

long getLastReadTime()
Returns the time in milliseconds when read operation occurred lastly.


getLastWriteTime

long getLastWriteTime()
Returns the time in milliseconds when write operation occurred lastly.


getReadBytes

long getReadBytes()
Returns the number of bytes read by this service

Returns:
The number of bytes this service has read

getWrittenBytes

long getWrittenBytes()
Returns the number of bytes written out by this service

Returns:
The number of bytes this service has written

getReadBytesThroughput

double getReadBytesThroughput()
Returns the number of read bytes per second.


getWrittenBytesThroughput

double getWrittenBytesThroughput()
Returns the number of written bytes per second.


getReadMessages

long getReadMessages()
Returns the number of messages this services has read

Returns:
The number of messages this services has read

getWrittenMessages

long getWrittenMessages()
Returns the number of messages this service has written

Returns:
The number of messages this service has written

getReadMessagesThroughput

double getReadMessagesThroughput()
Returns the number of read messages per second.


getWrittenMessagesThroughput

double getWrittenMessagesThroughput()
Returns the number of written messages per second.


getScheduledWriteBytes

long getScheduledWriteBytes()
Returns the number of bytes that are scheduled for sending

Returns:
number of bytes scheduled

getScheduledWriteMessages

long getScheduledWriteMessages()
Returns the number of messages that are scheduled for sending

Returns:
number of messages scheduled


Copyright © 2011. All Rights Reserved.