org.apache.mina.integration.jmx

Class IoServiceManager

Implemented Interfaces:
IoServiceManagerMBean

public class IoServiceManager
extends java.lang.Object
implements IoServiceManagerMBean

Constructor Summary

IoServiceManager(IoService service)

Method Summary

void
closeAllSessions()
float
getAverageByteReadThroughput()
float
getAverageByteWrittenThroughput()
float
getAverageMessageReadThroughput()
float
getAverageMessageWrittenThroughput()
int
getManagedSessionCount()
float
getTotalByteReadThroughput()
float
getTotalByteWrittenThroughput()
float
getTotalMessageReadThroughput()
float
getTotalMessageWrittenThroughput()
void
startCollectingStats(int millisecondsPolling)
void
stopCollectingStats()

Constructor Details

IoServiceManager

public IoServiceManager(IoService service)

Method Details

closeAllSessions

public void closeAllSessions()
Specified by:
closeAllSessions in interface IoServiceManagerMBean

getAverageByteReadThroughput

public float getAverageByteReadThroughput()
Specified by:
getAverageByteReadThroughput in interface IoServiceManagerMBean

getAverageByteWrittenThroughput

public float getAverageByteWrittenThroughput()
Specified by:
getAverageByteWrittenThroughput in interface IoServiceManagerMBean

getAverageMessageReadThroughput

public float getAverageMessageReadThroughput()
Specified by:
getAverageMessageReadThroughput in interface IoServiceManagerMBean

getAverageMessageWrittenThroughput

public float getAverageMessageWrittenThroughput()
Specified by:
getAverageMessageWrittenThroughput in interface IoServiceManagerMBean

getManagedSessionCount

public int getManagedSessionCount()
Specified by:
getManagedSessionCount in interface IoServiceManagerMBean

getTotalByteReadThroughput

public float getTotalByteReadThroughput()
Specified by:
getTotalByteReadThroughput in interface IoServiceManagerMBean

getTotalByteWrittenThroughput

public float getTotalByteWrittenThroughput()
Specified by:
getTotalByteWrittenThroughput in interface IoServiceManagerMBean

getTotalMessageReadThroughput

public float getTotalMessageReadThroughput()
Specified by:
getTotalMessageReadThroughput in interface IoServiceManagerMBean

getTotalMessageWrittenThroughput

public float getTotalMessageWrittenThroughput()
Specified by:
getTotalMessageWrittenThroughput in interface IoServiceManagerMBean

startCollectingStats

public void startCollectingStats(int millisecondsPolling)
Specified by:
startCollectingStats in interface IoServiceManagerMBean

stopCollectingStats

public void stopCollectingStats()
Specified by:
stopCollectingStats in interface IoServiceManagerMBean