src/share/classes/java/lang/management/BufferPoolMXBean.java

Print this page

        

*** 21,39 **** * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ ! package java.nio; - import java.lang.management.PlatformManagedObject; - /** ! * The management interface for a buffer pool. * ! * <p> A class implementing this interface is an <a href= ! * "java.lang.management.ManagementFactory.html#MXBean">MXBean</a>. A Java * virtual machine has one or more implementations of this interface. The {@link * java.lang.management.ManagementFactory#getPlatformMXBeans getPlatformMXBeans} * method can be used to obtain the list of {@code BufferPoolMXBean} objects * representing the management interfaces for pools of buffers as follows: * <pre> --- 21,39 ---- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ ! package java.lang.management; /** ! * The management interface for a buffer pool, for example a pool of ! * {@link java.nio.ByteBuffer#allocateDirect direct} or {@link ! * java.nio.MappedByteBuffer mapped} buffers. * ! * <p> A class implementing this interface is an ! * {@link javax.management.MXBean}. A Java * virtual machine has one or more implementations of this interface. The {@link * java.lang.management.ManagementFactory#getPlatformMXBeans getPlatformMXBeans} * method can be used to obtain the list of {@code BufferPoolMXBean} objects * representing the management interfaces for pools of buffers as follows: * <pre>
*** 42,59 **** * * <p> The management interfaces are also registered with the platform {@link * javax.management.MBeanServer MBeanServer}. The {@link * javax.management.ObjectName ObjectName} that uniquely identifies the * management interface within the {@code MBeanServer} takes the form: ! * <blockquote> ! * <tt>java.nio:type=BufferPool</tt><tt>,name=</tt><i>pool name</i> ! * </blockquote> * where <em>pool name</em> is the {@link #getName name} of the buffer pool. * * @since 1.7 */ - public interface BufferPoolMXBean extends PlatformManagedObject { /** * Returns the name representing this buffer pool. * --- 42,58 ---- * * <p> The management interfaces are also registered with the platform {@link * javax.management.MBeanServer MBeanServer}. The {@link * javax.management.ObjectName ObjectName} that uniquely identifies the * management interface within the {@code MBeanServer} takes the form: ! * <pre> ! * java.nio:type=BufferPool,name=<i>pool name</i> ! * </pre> * where <em>pool name</em> is the {@link #getName name} of the buffer pool. * * @since 1.7 */ public interface BufferPoolMXBean extends PlatformManagedObject { /** * Returns the name representing this buffer pool. *