23 * have any questions. |
23 * have any questions. |
24 */ |
24 */ |
25 |
25 |
26 package com.sun.management; |
26 package com.sun.management; |
27 |
27 |
|
28 import java.lang.management.PlatformManagedObject; |
|
29 |
28 /** |
30 /** |
29 * Diagnostic management interface for the HotSpot Virtual Machine. |
31 * Diagnostic management interface for the HotSpot Virtual Machine. |
30 * The diagnostic MBean is registered to the platform MBeanServer |
32 * The diagnostic MBean is registered to the platform MBeanServer |
31 * as are other platform MBeans. |
33 * as are other platform MBeans. |
32 * |
34 * |
33 * <p>The <tt>ObjectName</tt> for uniquely identifying the diagnostic |
35 * <p>The <tt>ObjectName</tt> for uniquely identifying the diagnostic |
34 * MXBean within an MBeanServer is: |
36 * MXBean within an MBeanServer is: |
35 * <blockquote> |
37 * <blockquote> |
36 * <tt>com.sun.management:type=HotSpotDiagnostic</tt> |
38 * <tt>com.sun.management:type=HotSpotDiagnostic</tt> |
37 * </blockquote> |
39 * </blockquote> |
|
40 .* |
|
41 * It can be obtained by calling the |
|
42 * {@link PlatformManagedObject#getObjectName} method. |
|
43 * |
|
44 * @see ManagementFactory#getPlatformMXBeans(Class) |
38 */ |
45 */ |
39 public interface HotSpotDiagnosticMXBean { |
46 public interface HotSpotDiagnosticMXBean extends PlatformManagedObject { |
40 /** |
47 /** |
41 * Dumps the heap to the <tt>outputFile</tt> file in the same |
48 * Dumps the heap to the <tt>outputFile</tt> file in the same |
42 * format as the hprof heap dump. |
49 * format as the hprof heap dump. |
43 * <p> |
50 * <p> |
44 * If this method is called remotely from another process, |
51 * If this method is called remotely from another process, |