|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ChannelPoolMXBean
The management interface for a channel pool.
A Java virtual machine has several instances of the implementation class
of this interface. A class implementing this interface is an
javax.management.MXBean that is obtained by calling the
Channels.getChannelPoolMXBeans() method
[[NOT IMPLEMENTED: or from the platform MBeanServer]].
The ObjectName for uniquely identifying the MXBean of this type
within an MBeanServer is:
java.nio:type=ChannelPool,name=pool name
| Method Summary | |
|---|---|
long |
getCount()
Returns an estimate of the number of open channels in this pool. |
String |
getName()
Returns the name representing this channel pool. |
| Method Detail |
|---|
String getName()
long getCount()
The number of open channels is the number of channels opened since the Java virtual machine has started execution minus the number of channels that have been closed.
|
RedDwarf, Version 0.10.1 2010-03-14 10:56:12 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||