public class

ManagementFactory

extends Object
java.lang.Object
   ↳ sun.management.ManagementFactory

Class Overview

ManagementFactory provides static factory methods to create instances of the management interface.

Summary

Public Methods
static MBeanServer createPlatformMBeanServer()
synchronized static ClassLoadingMXBean getClassLoadingMXBean()
synchronized static CompilationMXBean getCompilationMXBean()
synchronized static HotSpotDiagnosticMXBean getDiagnosticMXBean()
static List<GarbageCollectorMXBean> getGarbageCollectorMXBeans()
synchronized static HotspotClassLoadingMBean getHotspotClassLoadingMBean()
This method is for testing only.
synchronized static HotspotCompilationMBean getHotspotCompilationMBean()
This method is for testing only.
synchronized static HotspotMemoryMBean getHotspotMemoryMBean()
This method is for testing only.
synchronized static HotspotRuntimeMBean getHotspotRuntimeMBean()
/** This method is for testing only.
synchronized static HotspotThreadMBean getHotspotThreadMBean()
This method is for testing only.
synchronized static MemoryMXBean getMemoryMXBean()
static List<MemoryManagerMXBean> getMemoryManagerMXBeans()
static List<MemoryPoolMXBean> getMemoryPoolMXBeans()
synchronized static OperatingSystemMXBean getOperatingSystemMXBean()
synchronized static RuntimeMXBean getRuntimeMXBean()
synchronized static ThreadMXBean getThreadMXBean()
static boolean isThreadRunningNative(int state)
static boolean isThreadSuspended(int state)
static Thread.State toThreadState(int state)
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static MBeanServer createPlatformMBeanServer ()

public static synchronized ClassLoadingMXBean getClassLoadingMXBean ()

public static synchronized CompilationMXBean getCompilationMXBean ()

public static synchronized HotSpotDiagnosticMXBean getDiagnosticMXBean ()

public static List<GarbageCollectorMXBean> getGarbageCollectorMXBeans ()

public static synchronized HotspotClassLoadingMBean getHotspotClassLoadingMBean ()

This method is for testing only.

public static synchronized HotspotCompilationMBean getHotspotCompilationMBean ()

This method is for testing only.

public static synchronized HotspotMemoryMBean getHotspotMemoryMBean ()

This method is for testing only.

public static synchronized HotspotRuntimeMBean getHotspotRuntimeMBean ()

/** This method is for testing only.

public static synchronized HotspotThreadMBean getHotspotThreadMBean ()

This method is for testing only.

public static synchronized MemoryMXBean getMemoryMXBean ()

public static List<MemoryManagerMXBean> getMemoryManagerMXBeans ()

public static List<MemoryPoolMXBean> getMemoryPoolMXBeans ()

public static synchronized OperatingSystemMXBean getOperatingSystemMXBean ()

public static synchronized RuntimeMXBean getRuntimeMXBean ()

public static synchronized ThreadMXBean getThreadMXBean ()

public static boolean isThreadRunningNative (int state)

public static boolean isThreadSuspended (int state)

public static Thread.State toThreadState (int state)