|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.mina.management.IoSessionStat
public class IoSessionStat
The collected stats for a session. It's used by 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 Summary | |
|---|---|
IoSessionStat()
|
|
| Method Summary | |
|---|---|
float |
getByteReadThroughput()
Bytes read per second |
float |
getByteWrittenThroughput()
Bytes written per second |
float |
getMessageReadThroughput()
Messages read per second |
float |
getMessageWrittenThroughput()
Messages written per second |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IoSessionStat()
| Method Detail |
|---|
public float getByteReadThroughput()
public float getByteWrittenThroughput()
public float getMessageReadThroughput()
public float getMessageWrittenThroughput()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||