|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.management.StandardMBean
org.jboss.xnio.nio.NioTcpChannel.MBean
public final class NioTcpChannel.MBean
| Constructor Summary | |
|---|---|
NioTcpChannel.MBean()
|
|
| Method Summary | |
|---|---|
void |
close()
MBean operation to forcibly close a channel. |
java.net.SocketAddress |
getBindAddress()
Get the bind address. |
long |
getBytesRead()
Get the number of bytes read from this channel. |
long |
getBytesWritten()
Get the number of bytes written to this channel. |
long |
getMessagesRead()
Get the number of read operations performed on this channel. |
long |
getMessagesWritten()
Get the number of write operations performed on this channel. |
java.net.SocketAddress |
getPeerAddress()
Get the peer address. |
java.lang.String |
toString()
|
| Methods inherited from class javax.management.StandardMBean |
|---|
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NioTcpChannel.MBean()
throws javax.management.NotCompliantMBeanException
javax.management.NotCompliantMBeanException| Method Detail |
|---|
public long getBytesRead()
ReadableChannelStats
getBytesRead in interface ReadableChannelStatspublic long getBytesWritten()
WritableChannelStats
getBytesWritten in interface WritableChannelStatspublic long getMessagesRead()
ReadableChannelStats
getMessagesRead in interface ReadableChannelStatspublic long getMessagesWritten()
WritableChannelStats
getMessagesWritten in interface WritableChannelStatspublic java.lang.String toString()
toString in class java.lang.Objectpublic java.net.SocketAddress getPeerAddress()
InetConnected
getPeerAddress in interface InetConnectedpublic java.net.SocketAddress getBindAddress()
InetBound
getBindAddress in interface InetBoundpublic void close()
ManagedCloseable
close in interface ManagedCloseable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||