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()
IoServiceManagerMBean
getManagedSessionCount
在接口中 IoServiceManagerMBean
public void startCollectingStats(int millisecondsPolling)
IoServiceManagerMBean
startCollectingStats
在接口中 IoServiceManagerMBean
millisecondsPolling
- polling time in milliseconds like 5000 for computing throughput every 5 secondspublic void stopCollectingStats()
IoServiceManagerMBean
stopCollectingStats
在接口中 IoServiceManagerMBean
public float getTotalByteReadThroughput()
IoServiceManagerMBean
getTotalByteReadThroughput
在接口中 IoServiceManagerMBean
public float getTotalByteWrittenThroughput()
IoServiceManagerMBean
getTotalByteWrittenThroughput
在接口中 IoServiceManagerMBean
public float getTotalMessageReadThroughput()
IoServiceManagerMBean
getTotalMessageReadThroughput
在接口中 IoServiceManagerMBean
public float getTotalMessageWrittenThroughput()
IoServiceManagerMBean
getTotalMessageWrittenThroughput
在接口中 IoServiceManagerMBean
public float getAverageByteReadThroughput()
IoServiceManagerMBean
getAverageByteReadThroughput
在接口中 IoServiceManagerMBean
public float getAverageByteWrittenThroughput()
IoServiceManagerMBean
getAverageByteWrittenThroughput
在接口中 IoServiceManagerMBean
public float getAverageMessageReadThroughput()
IoServiceManagerMBean
getAverageMessageReadThroughput
在接口中 IoServiceManagerMBean
public float getAverageMessageWrittenThroughput()
IoServiceManagerMBean
getAverageMessageWrittenThroughput
在接口中 IoServiceManagerMBean
public void closeAllSessions()
IoServiceManagerMBean
closeAllSessions
在接口中 IoServiceManagerMBean