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 and Description |
---|
IoSessionStat() |
Modifier and Type | Method and 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()
Copyright © 2004-2019 Apache MINA Project. All Rights Reserved.