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 );
| Constructor | Description |
|---|---|
IoSessionStat() |
| Modifier and Type | Method | Description |
|---|---|---|
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()