- java.lang.Object
-
- com.ibm.lang.management.internal.JvmCpuMonitor
-
- All Implemented Interfaces:
JvmCpuMonitorMXBean
,PlatformManagedObject
public class JvmCpuMonitor extends Object implements JvmCpuMonitorMXBean
Runtime type forJvmCpuMonitorMXBean
.Implements getting CPU Usage for various JVM thread categories.
-
-
Constructor Summary
Constructors Constructor Description JvmCpuMonitor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JvmCpuMonitor
getInstance()
Singleton accessor method.ObjectName
getObjectName()
Returns the object name of the MXBean-
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods declared in interface com.ibm.lang.management.JvmCpuMonitorMXBean
getThreadCategory, getThreadsCpuUsage, getThreadsCpuUsage, setThreadCategory
-
-
-
-
Method Detail
-
getInstance
public static JvmCpuMonitor getInstance()
Singleton accessor method. Returns an instance ofJvmCpuMonitor
- Returns:
- a static instance of
JvmCpuMonitor
-
getObjectName
public ObjectName getObjectName()
Returns the object name of the MXBean- Specified by:
getObjectName
in interfacePlatformManagedObject
- Returns:
- objectName representing the MXBean
-
-