Package host.anzo.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-
Method Summary
Modifier and TypeMethodDescriptionlongReturns the time in milliseconds when I/O occurred lastly.longReturns the time in milliseconds when read operation occurred lastly.longReturns the time in milliseconds when write operation occurred lastly.longReturns the number of bytes read by this servicedoubleReturns the number of read bytes per second.longReturns the number of messages this services has readdoubleReturns the number of read messages per second.longReturns the number of bytes that are scheduled for sendinglongReturns the number of messages that are scheduled for sendinglongReturns the number of bytes written out by this servicedoubleReturns the number of written bytes per second.longReturns the number of messages this service has writtendoubleReturns the number of written messages per second.
-
Method Details
-
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
-