public class IoSessionStat
extends java.lang.Object
StatCollector
to attach
throughput stats to an IoSession
. You can accces a session stat using
IoSession
getAttribute method :
IoSession session = ... IoSessionStat stat = session.getAttribute( StatCollector.KEY );
构造器和说明 |
---|
IoSessionStat() |
限定符和类型 | 方法和说明 |
---|---|
float |
getByteReadThroughput()
Bytes read per second
|
float |
getByteWrittenThroughput()
Bytes written per second
|
float |
getMessageReadThroughput()
Messages read per second
|
float |
getMessageWrittenThroughput()
Messages written per second
|
public float getByteReadThroughput()
public float getByteWrittenThroughput()
public float getMessageReadThroughput()
public float getMessageWrittenThroughput()