|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.mina.integration.jmx.IoServiceManager
public class IoServiceManager
| Constructor Summary | |
|---|---|
IoServiceManager(IoService service)
|
|
| Method Summary | |
|---|---|
void |
closeAllSessions()
close all the managed sessions |
float |
getAverageByteReadThroughput()
average bytes read per seconds for all the managed sessions |
float |
getAverageByteWrittenThroughput()
average bytes written per seconds for all the managed sessions |
float |
getAverageMessageReadThroughput()
average messages read per seconds for all the managed sessions |
float |
getAverageMessageWrittenThroughput()
average messages written per seconds for all the managed sessions |
int |
getManagedSessionCount()
amount of session currently managed |
float |
getTotalByteReadThroughput()
bytes read per seconds sum of all the managed sessions |
float |
getTotalByteWrittenThroughput()
bytes written per seconds sum for all the managed sessions |
float |
getTotalMessageReadThroughput()
messages read per seconds sum of all the managed sessions |
float |
getTotalMessageWrittenThroughput()
messages written per seconds sum for all the managed sessions |
void |
startCollectingStats(int millisecondsPolling)
start collecting throughput statistics for all the managed sessions |
void |
stopCollectingStats()
stop collecting throughput statistics |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IoServiceManager(IoService service)
| Method Detail |
|---|
public int getManagedSessionCount()
IoServiceManagerMBean
getManagedSessionCount in interface IoServiceManagerMBeanpublic void startCollectingStats(int millisecondsPolling)
IoServiceManagerMBean
startCollectingStats in interface IoServiceManagerMBeanmillisecondsPolling - polling time in milliseconds like 5000 for computing throughput every 5 secondspublic void stopCollectingStats()
IoServiceManagerMBean
stopCollectingStats in interface IoServiceManagerMBeanpublic float getTotalByteReadThroughput()
IoServiceManagerMBean
getTotalByteReadThroughput in interface IoServiceManagerMBeanpublic float getTotalByteWrittenThroughput()
IoServiceManagerMBean
getTotalByteWrittenThroughput in interface IoServiceManagerMBeanpublic float getTotalMessageReadThroughput()
IoServiceManagerMBean
getTotalMessageReadThroughput in interface IoServiceManagerMBeanpublic float getTotalMessageWrittenThroughput()
IoServiceManagerMBean
getTotalMessageWrittenThroughput in interface IoServiceManagerMBeanpublic float getAverageByteReadThroughput()
IoServiceManagerMBean
getAverageByteReadThroughput in interface IoServiceManagerMBeanpublic float getAverageByteWrittenThroughput()
IoServiceManagerMBean
getAverageByteWrittenThroughput in interface IoServiceManagerMBeanpublic float getAverageMessageReadThroughput()
IoServiceManagerMBean
getAverageMessageReadThroughput in interface IoServiceManagerMBeanpublic float getAverageMessageWrittenThroughput()
IoServiceManagerMBean
getAverageMessageWrittenThroughput in interface IoServiceManagerMBeanpublic void closeAllSessions()
IoServiceManagerMBean
closeAllSessions in interface IoServiceManagerMBean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||