public class IoServiceManager extends java.lang.Object implements IoServiceManagerMBean
| 构造器和说明 |
|---|
IoServiceManager(IoService service) |
| 限定符和类型 | 方法和说明 |
|---|---|
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
|
public IoServiceManager(IoService service)
public int getManagedSessionCount()
IoServiceManagerMBeangetManagedSessionCount 在接口中 IoServiceManagerMBeanpublic void startCollectingStats(int millisecondsPolling)
IoServiceManagerMBeanstartCollectingStats 在接口中 IoServiceManagerMBeanmillisecondsPolling - polling time in milliseconds like 5000 for computing throughput every 5 secondspublic void stopCollectingStats()
IoServiceManagerMBeanstopCollectingStats 在接口中 IoServiceManagerMBeanpublic float getTotalByteReadThroughput()
IoServiceManagerMBeangetTotalByteReadThroughput 在接口中 IoServiceManagerMBeanpublic float getTotalByteWrittenThroughput()
IoServiceManagerMBeangetTotalByteWrittenThroughput 在接口中 IoServiceManagerMBeanpublic float getTotalMessageReadThroughput()
IoServiceManagerMBeangetTotalMessageReadThroughput 在接口中 IoServiceManagerMBeanpublic float getTotalMessageWrittenThroughput()
IoServiceManagerMBeangetTotalMessageWrittenThroughput 在接口中 IoServiceManagerMBeanpublic float getAverageByteReadThroughput()
IoServiceManagerMBeangetAverageByteReadThroughput 在接口中 IoServiceManagerMBeanpublic float getAverageByteWrittenThroughput()
IoServiceManagerMBeangetAverageByteWrittenThroughput 在接口中 IoServiceManagerMBeanpublic float getAverageMessageReadThroughput()
IoServiceManagerMBeangetAverageMessageReadThroughput 在接口中 IoServiceManagerMBeanpublic float getAverageMessageWrittenThroughput()
IoServiceManagerMBeangetAverageMessageWrittenThroughput 在接口中 IoServiceManagerMBeanpublic void closeAllSessions()
IoServiceManagerMBeancloseAllSessions 在接口中 IoServiceManagerMBean