|
|||||||||
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 ReadableChannelStats
public long getBytesWritten()
WritableChannelStats
getBytesWritten
in interface WritableChannelStats
public long getMessagesRead()
ReadableChannelStats
getMessagesRead
in interface ReadableChannelStats
public long getMessagesWritten()
WritableChannelStats
getMessagesWritten
in interface WritableChannelStats
public java.lang.String toString()
toString
in class java.lang.Object
public java.net.SocketAddress getPeerAddress()
InetConnected
getPeerAddress
in interface InetConnected
public java.net.SocketAddress getBindAddress()
InetBound
getBindAddress
in interface InetBound
public void close()
ManagedCloseable
close
in interface ManagedCloseable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |