equal
deleted
inserted
replaced
43 * a memory pool within an <tt>MBeanServer</tt> is: |
43 * a memory pool within an <tt>MBeanServer</tt> is: |
44 * <blockquote> |
44 * <blockquote> |
45 * {@link ManagementFactory#MEMORY_POOL_MXBEAN_DOMAIN_TYPE |
45 * {@link ManagementFactory#MEMORY_POOL_MXBEAN_DOMAIN_TYPE |
46 * <tt>java.lang:type=MemoryPool</tt>}<tt>,name=</tt><i>pool's name</i> |
46 * <tt>java.lang:type=MemoryPool</tt>}<tt>,name=</tt><i>pool's name</i> |
47 * </blockquote> |
47 * </blockquote> |
|
48 * |
|
49 * It can be obtained by calling the |
|
50 * {@link PlatformManagedObject#getObjectName} method. |
48 * |
51 * |
49 * <h4>Memory Type</h4> |
52 * <h4>Memory Type</h4> |
50 * <p>The Java virtual machine has a heap for object allocation and also |
53 * <p>The Java virtual machine has a heap for object allocation and also |
51 * maintains non-heap memory for the method area and the Java virtual |
54 * maintains non-heap memory for the method area and the Java virtual |
52 * machine execution. The Java virtual machine can have one or more |
55 * machine execution. The Java virtual machine can have one or more |
347 * memory space. The collection usage could also be monitored |
350 * memory space. The collection usage could also be monitored |
348 * by the polling and threshold notification mechanism |
351 * by the polling and threshold notification mechanism |
349 * described above for the <a href="#UsageThreshold">usage threshold</a> |
352 * described above for the <a href="#UsageThreshold">usage threshold</a> |
350 * in a similar fashion. |
353 * in a similar fashion. |
351 * |
354 * |
|
355 * @see ManagementFactory#getPlatformMXBeans(Class) |
352 * @see <a href="../../../javax/management/package-summary.html"> |
356 * @see <a href="../../../javax/management/package-summary.html"> |
353 * JMX Specification.</a> |
357 * JMX Specification.</a> |
354 * @see <a href="package-summary.html#examples"> |
358 * @see <a href="package-summary.html#examples"> |
355 * Ways to Access MXBeans</a> |
359 * Ways to Access MXBeans</a> |
356 * |
360 * |
357 * @author Mandy Chung |
361 * @author Mandy Chung |
358 * @since 1.5 |
362 * @since 1.5 |
359 */ |
363 */ |
360 public interface MemoryPoolMXBean { |
364 public interface MemoryPoolMXBean extends PlatformManagedObject { |
361 /** |
365 /** |
362 * Returns the name representing this memory pool. |
366 * Returns the name representing this memory pool. |
363 * |
367 * |
364 * @return the name of this memory pool. |
368 * @return the name of this memory pool. |
365 */ |
369 */ |