org.apache.mina.integration.jmx
Interface IoServiceManagerMBean
- IoServiceManager
public interface IoServiceManagerMBean
closeAllSessions
public void closeAllSessions()
close all the managed sessions
getAverageByteReadThroughput
public float getAverageByteReadThroughput()
average bytes read per seconds for all the managed sessions
getAverageByteWrittenThroughput
public float getAverageByteWrittenThroughput()
average bytes written per seconds for all the managed sessions
getAverageMessageReadThroughput
public float getAverageMessageReadThroughput()
average messages read per seconds for all the managed sessions
getAverageMessageWrittenThroughput
public float getAverageMessageWrittenThroughput()
average messages written per seconds for all the managed sessions
getManagedSessionCount
public int getManagedSessionCount()
amount of session currently managed
getTotalByteReadThroughput
public float getTotalByteReadThroughput()
bytes read per seconds sum of all the managed sessions
getTotalByteWrittenThroughput
public float getTotalByteWrittenThroughput()
bytes written per seconds sum for all the managed sessions
getTotalMessageReadThroughput
public float getTotalMessageReadThroughput()
messages read per seconds sum of all the managed sessions
getTotalMessageWrittenThroughput
public float getTotalMessageWrittenThroughput()
messages written per seconds sum for all the managed sessions
startCollectingStats
public void startCollectingStats(int millisecondsPolling)
start collecting throughput statistics for all the managed sessions
millisecondsPolling
- polling time in milliseconds like 5000 for computing throughput every 5 seconds
stopCollectingStats
public void stopCollectingStats()
stop collecting throughput statistics