|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
MBean interface for the session manager, it's used for instrumenting IoSession
Method Summary | |
void |
addFirstLoggingFilter()
add a logging filter at begining of the chain |
void |
addLastLoggingFilter()
add a logging filter at end of the chain |
void |
close()
close the session |
long |
getBothIdleTime()
read and write IDLE time |
float |
getByteReadThroughtput()
get the read bytes per second throughput works only if a stat collector is inspecting this session, |
float |
getByteWrittenThroughtput()
get the written bytes per second throughput works only if a stat collector is inspecting this session, |
Date |
getCreationTime()
when the session was created |
String[] |
getInstalledFilters()
get the list of filters installed in the filter chain |
Date |
getLastIoTime()
last time the session processed an IO |
Date |
getLastReadTime()
last time the session processed an read |
Date |
getLastWriteTime()
last time the session processed a write |
float |
getMessageReadThroughtput()
get the read messages per second throughput works only if a stat collector is inspecting this session, and only if a ProtocolDecoderFilter is used |
float |
getMessageWrittenThroughtput()
get the written messages per second throughput works only if a stat collector is inspecting this session, and only if a ProtocolDecoderFilter is used |
long |
getReadBytes()
bytes read from the beginning |
long |
getReadIdleTime()
read IDLE time |
long |
getReadMessages()
PDU decoded from the beginning. |
long |
getWriteIdleTime()
write IDLE time |
long |
getWrittenBytes()
bytes written from the beginning |
long |
getWrittenMessages()
PDU encoded from the beginning. |
boolean |
isConnected()
is the session is connected |
void |
removeFirstLoggingFilter()
remove the logging filter at begining of the chain |
void |
removeLastLoggingFilter()
remove the logging filter at end of the chain |
Method Detail |
public boolean isConnected()
public long getReadBytes()
public long getWrittenBytes()
public long getReadMessages()
public long getWrittenMessages()
public void close()
public Date getCreationTime()
public Date getLastIoTime()
public Date getLastWriteTime()
public Date getLastReadTime()
public String[] getInstalledFilters()
public void addLastLoggingFilter()
public void removeLastLoggingFilter()
public void addFirstLoggingFilter()
public void removeFirstLoggingFilter()
public long getBothIdleTime()
public long getReadIdleTime()
public long getWriteIdleTime()
public float getByteReadThroughtput()
public float getByteWrittenThroughtput()
public float getMessageReadThroughtput()
public float getMessageWrittenThroughtput()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |