java.lang.management
20 classes of the module java.management.
Load them with:
using {
"java.lang.management"
}
BufferPoolMXBean#
interface · java.lang.management.BufferPoolMXBean
Extends: PlatformManagedObject
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getCount | getCount() | long getCount() |
getMemoryUsed | getMemoryUsed() | long getMemoryUsed() |
getName | getName() | String getName() |
getObjectName | getObjectName() | ObjectName getObjectName() |
getTotalCapacity | getTotalCapacity() | long getTotalCapacity() |
ClassLoadingMXBean#
interface · java.lang.management.ClassLoadingMXBean
Extends: PlatformManagedObject
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getLoadedClassCount | getLoadedClassCount() | int getLoadedClassCount() |
getObjectName | getObjectName() | ObjectName getObjectName() |
getTotalLoadedClassCount | getTotalLoadedClassCount() | long getTotalLoadedClassCount() |
getUnloadedClassCount | getUnloadedClassCount() | long getUnloadedClassCount() |
isVerbose | isVerbose() | boolean isVerbose() |
setVerbose | setVerbose(value) | void setVerbose(boolean value) |
CompilationMXBean#
interface · java.lang.management.CompilationMXBean
Extends: PlatformManagedObject
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getName | getName() | String getName() |
getObjectName | getObjectName() | ObjectName getObjectName() |
getTotalCompilationTime | getTotalCompilationTime() | long getTotalCompilationTime() |
isCompilationTimeMonitoringSupported | isCompilationTimeMonitoringSupported() | boolean isCompilationTimeMonitoringSupported() |
GarbageCollectorMXBean#
interface · java.lang.management.GarbageCollectorMXBean
Extends: MemoryManagerMXBean
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getCollectionCount | getCollectionCount() | long getCollectionCount() |
getCollectionTime | getCollectionTime() | long getCollectionTime() |
getMemoryPoolNames | getMemoryPoolNames() | String[] getMemoryPoolNames() |
getName | getName() | String getName() |
getObjectName | getObjectName() | ObjectName getObjectName() |
isValid | isValid() | boolean isValid() |
LockInfo#
class · extends Object · java.lang.management.LockInfo
Constructors
new LockInfo(String className, int identityHashCode) |
Ring: new LockInfo(args) uses the constructor with the fewest parameters (at least one); new LockInfo makes the object with the constructor without parameters; the others: (new LockInfo).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
from | from(cd) | static LockInfo from(CompositeData cd) |
getClassName | getClassName() | String getClassName() |
getIdentityHashCode | getIdentityHashCode() | int getIdentityHashCode() |
The methods and fields of Object are inherited.
ManagementFactory#
class · extends Object · java.lang.management.ManagementFactory
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
CLASS_LOADING_MXBEAN_NAME | String | constant · static | o.CLASS_LOADING_MXBEAN_NAME |
COMPILATION_MXBEAN_NAME | String | constant · static | o.COMPILATION_MXBEAN_NAME |
MEMORY_MXBEAN_NAME | String | constant · static | o.MEMORY_MXBEAN_NAME |
OPERATING_SYSTEM_MXBEAN_NAME | String | constant · static | o.OPERATING_SYSTEM_MXBEAN_NAME |
RUNTIME_MXBEAN_NAME | String | constant · static | o.RUNTIME_MXBEAN_NAME |
THREAD_MXBEAN_NAME | String | constant · static | o.THREAD_MXBEAN_NAME |
GARBAGE_COLLECTOR_MXBEAN_DOMAIN_TYPE | String | constant · static | o.GARBAGE_COLLECTOR_MXBEAN_DOMAIN_TYPE |
MEMORY_MANAGER_MXBEAN_DOMAIN_TYPE | String | constant · static | o.MEMORY_MANAGER_MXBEAN_DOMAIN_TYPE |
MEMORY_POOL_MXBEAN_DOMAIN_TYPE | String | constant · static | o.MEMORY_POOL_MXBEAN_DOMAIN_TYPE |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getClassLoadingMXBean | getClassLoadingMXBean() | static ClassLoadingMXBean getClassLoadingMXBean() |
getCompilationMXBean | getCompilationMXBean() | static CompilationMXBean getCompilationMXBean() |
getGarbageCollectorMXBeans | getGarbageCollectorMXBeans() | static List getGarbageCollectorMXBeans() |
getMemoryManagerMXBeans | getMemoryManagerMXBeans() | static List getMemoryManagerMXBeans() |
getMemoryMXBean | getMemoryMXBean() | static MemoryMXBean getMemoryMXBean() |
getMemoryPoolMXBeans | getMemoryPoolMXBeans() | static List getMemoryPoolMXBeans() |
getOperatingSystemMXBean | getOperatingSystemMXBean() | static OperatingSystemMXBean getOperatingSystemMXBean() |
getPlatformManagementInterfaces | getPlatformManagementInterfaces() | static Set getPlatformManagementInterfaces() |
getPlatformMBeanServer | getPlatformMBeanServer() | static MBeanServer getPlatformMBeanServer() |
getPlatformMXBean | getPlatformMXBean(mxbeanInterface)getPlatformMXBean([connection,mxbeanInterface])getPlatformMXBean([ :connection = v, :mxbeanInterface = v ]) | static PlatformManagedObject getPlatformMXBean(Class mxbeanInterface)static PlatformManagedObject getPlatformMXBean(MBeanServerConnection connection, Class mxbeanInterface) |
getPlatformMXBeans | getPlatformMXBeans(mxbeanInterface)getPlatformMXBeans([connection,mxbeanInterface])getPlatformMXBeans([ :connection = v, :mxbeanInterface = v ]) | static List getPlatformMXBeans(Class mxbeanInterface)static List getPlatformMXBeans(MBeanServerConnection connection, Class mxbeanInterface) |
getRuntimeMXBean | getRuntimeMXBean() | static RuntimeMXBean getRuntimeMXBean() |
getThreadMXBean | getThreadMXBean() | static ThreadMXBean getThreadMXBean() |
newPlatformMXBeanProxy | newPlatformMXBeanProxy(connection,mxbeanName,mxbeanInterface) | static Object newPlatformMXBeanProxy(MBeanServerConnection connection, String mxbeanName, Class mxbeanInterface) |
The methods and fields of Object are inherited.
ManagementPermission#
class final · extends BasicPermission · java.lang.management.ManagementPermission
Constructors
new ManagementPermission(String name) |
new ManagementPermission(String name, String actions) |
Ring: new ManagementPermission(args) uses the constructor with the fewest parameters (at least one); new ManagementPermission makes the object with the constructor without parameters; the others: (new ManagementPermission).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of BasicPermission are inherited.
MemoryManagerMXBean#
interface · java.lang.management.MemoryManagerMXBean
Extends: PlatformManagedObject
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getMemoryPoolNames | getMemoryPoolNames() | String[] getMemoryPoolNames() |
getName | getName() | String getName() |
getObjectName | getObjectName() | ObjectName getObjectName() |
isValid | isValid() | boolean isValid() |
MemoryMXBean#
interface · java.lang.management.MemoryMXBean
Extends: PlatformManagedObject
Methods
| Method | Ring call | Java overloads |
|---|---|---|
gc | gc() | void gc() |
getHeapMemoryUsage | getHeapMemoryUsage() | MemoryUsage getHeapMemoryUsage() |
getNonHeapMemoryUsage | getNonHeapMemoryUsage() | MemoryUsage getNonHeapMemoryUsage() |
getObjectName | getObjectName() | ObjectName getObjectName() |
getObjectPendingFinalizationCount | getObjectPendingFinalizationCount() | int getObjectPendingFinalizationCount() |
isVerbose | isVerbose() | boolean isVerbose() |
setVerbose | setVerbose(value) | void setVerbose(boolean value) |
MemoryNotificationInfo#
class · extends Object · java.lang.management.MemoryNotificationInfo
Constructors
new MemoryNotificationInfo(String poolName, MemoryUsage usage, long count) |
Ring: new MemoryNotificationInfo(args) uses the constructor with the fewest parameters (at least one); new MemoryNotificationInfo makes the object with the constructor without parameters; the others: (new MemoryNotificationInfo).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
MEMORY_THRESHOLD_EXCEEDED | String | constant · static | o.MEMORY_THRESHOLD_EXCEEDED |
MEMORY_COLLECTION_THRESHOLD_EXCEEDED | String | constant · static | o.MEMORY_COLLECTION_THRESHOLD_EXCEEDED |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
from | from(cd) | static MemoryNotificationInfo from(CompositeData cd) |
getCount | getCount() | long getCount() |
getPoolName | getPoolName() | String getPoolName() |
getUsage | getUsage() | MemoryUsage getUsage() |
The methods and fields of Object are inherited.
MemoryPoolMXBean#
interface · java.lang.management.MemoryPoolMXBean
Extends: PlatformManagedObject
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getCollectionUsage | getCollectionUsage() | MemoryUsage getCollectionUsage() |
getCollectionUsageThreshold | getCollectionUsageThreshold() | long getCollectionUsageThreshold() |
getCollectionUsageThresholdCount | getCollectionUsageThresholdCount() | long getCollectionUsageThresholdCount() |
getMemoryManagerNames | getMemoryManagerNames() | String[] getMemoryManagerNames() |
getName | getName() | String getName() |
getObjectName | getObjectName() | ObjectName getObjectName() |
getPeakUsage | getPeakUsage() | MemoryUsage getPeakUsage() |
getType | getType() | MemoryType getType() |
getUsage | getUsage() | MemoryUsage getUsage() |
getUsageThreshold | getUsageThreshold() | long getUsageThreshold() |
getUsageThresholdCount | getUsageThresholdCount() | long getUsageThresholdCount() |
isCollectionUsageThresholdExceeded | isCollectionUsageThresholdExceeded() | boolean isCollectionUsageThresholdExceeded() |
isCollectionUsageThresholdSupported | isCollectionUsageThresholdSupported() | boolean isCollectionUsageThresholdSupported() |
isUsageThresholdExceeded | isUsageThresholdExceeded() | boolean isUsageThresholdExceeded() |
isUsageThresholdSupported | isUsageThresholdSupported() | boolean isUsageThresholdSupported() |
isValid | isValid() | boolean isValid() |
resetPeakUsage | resetPeakUsage() | void resetPeakUsage() |
setCollectionUsageThreshold | setCollectionUsageThreshold(threshold) | void setCollectionUsageThreshold(long threshold) |
setUsageThreshold | setUsageThreshold(threshold) | void setUsageThreshold(long threshold) |
MemoryType#
enum · extends Enum · java.lang.management.MemoryType
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
HEAP | MemoryType | constant · static | o.HEAP |
NON_HEAP | MemoryType | constant · static | o.NON_HEAP |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
valueOf | valueOf(p1)valueOf([enumClass,name])valueOf([ :enumClass = v, :name = v ]) | static MemoryType valueOf(String p1)static Enum valueOf(Class enumClass, String name) |
values | values() | static MemoryType[] values() |
The methods and fields of Enum are inherited.
MemoryUsage#
class · extends Object · java.lang.management.MemoryUsage
Constructors
new MemoryUsage(long init, long used, long committed, long max) |
Ring: new MemoryUsage(args) uses the constructor with the fewest parameters (at least one); new MemoryUsage makes the object with the constructor without parameters; the others: (new MemoryUsage).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
from | from(cd) | static MemoryUsage from(CompositeData cd) |
getCommitted | getCommitted() | long getCommitted() |
getInit | getInit() | long getInit() |
getMax | getMax() | long getMax() |
getUsed | getUsed() | long getUsed() |
The methods and fields of Object are inherited.
MonitorInfo#
class · extends LockInfo · java.lang.management.MonitorInfo
Constructors
new MonitorInfo(String className, int identityHashCode, int stackDepth, StackTraceElement stackFrame) |
Ring: new MonitorInfo(args) uses the constructor with the fewest parameters (at least one); new MonitorInfo makes the object with the constructor without parameters; the others: (new MonitorInfo).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getLockedStackDepth | getLockedStackDepth() | int getLockedStackDepth() |
getLockedStackFrame | getLockedStackFrame() | StackTraceElement getLockedStackFrame() |
The methods and fields of LockInfo are inherited.
OperatingSystemMXBean#
interface · java.lang.management.OperatingSystemMXBean
Extends: PlatformManagedObject
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getArch | getArch() | String getArch() |
getAvailableProcessors | getAvailableProcessors() | int getAvailableProcessors() |
getName | getName() | String getName() |
getObjectName | getObjectName() | ObjectName getObjectName() |
getSystemLoadAverage | getSystemLoadAverage() | double getSystemLoadAverage() |
getVersion | getVersion() | String getVersion() |
PlatformLoggingMXBean#
interface · java.lang.management.PlatformLoggingMXBean
Extends: PlatformManagedObject
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getLoggerLevel | getLoggerLevel(loggerName) | String getLoggerLevel(String loggerName) |
getLoggerNames | getLoggerNames() | List getLoggerNames() |
getObjectName | getObjectName() | ObjectName getObjectName() |
getParentLoggerName | getParentLoggerName(loggerName) | String getParentLoggerName(String loggerName) |
setLoggerLevel | setLoggerLevel(loggerName,levelName) | void setLoggerLevel(String loggerName, String levelName) |
PlatformManagedObject#
interface · java.lang.management.PlatformManagedObject
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getObjectName | getObjectName() | ObjectName getObjectName() |
RuntimeMXBean#
interface · java.lang.management.RuntimeMXBean
Extends: PlatformManagedObject
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getBootClassPath | getBootClassPath() | String getBootClassPath() |
getClassPath | getClassPath() | String getClassPath() |
getInputArguments | getInputArguments() | List getInputArguments() |
getLibraryPath | getLibraryPath() | String getLibraryPath() |
getManagementSpecVersion | getManagementSpecVersion() | String getManagementSpecVersion() |
getName | getName() | String getName() |
getObjectName | getObjectName() | ObjectName getObjectName() |
getPid | getPid() | long getPid() |
getSpecName | getSpecName() | String getSpecName() |
getSpecVendor | getSpecVendor() | String getSpecVendor() |
getSpecVersion | getSpecVersion() | String getSpecVersion() |
getStartTime | getStartTime() | long getStartTime() |
getSystemProperties | getSystemProperties() | Map getSystemProperties() |
getUptime | getUptime() | long getUptime() |
getVmName | getVmName() | String getVmName() |
getVmVendor | getVmVendor() | String getVmVendor() |
getVmVersion | getVmVersion() | String getVmVersion() |
isBootClassPathSupported | isBootClassPathSupported() | boolean isBootClassPathSupported() |
ThreadInfo#
class · extends Object · java.lang.management.ThreadInfo
Methods
| Method | Ring call | Java overloads |
|---|---|---|
from | from(cd) | static ThreadInfo from(CompositeData cd) |
getBlockedCount | getBlockedCount() | long getBlockedCount() |
getBlockedTime | getBlockedTime() | long getBlockedTime() |
getLockedMonitors | getLockedMonitors() | MonitorInfo[] getLockedMonitors() |
getLockedSynchronizers | getLockedSynchronizers() | LockInfo[] getLockedSynchronizers() |
getLockInfo | getLockInfo() | LockInfo getLockInfo() |
getLockName | getLockName() | String getLockName() |
getLockOwnerId | getLockOwnerId() | long getLockOwnerId() |
getLockOwnerName | getLockOwnerName() | String getLockOwnerName() |
getPriority | getPriority() | int getPriority() |
getStackTrace | getStackTrace() | StackTraceElement[] getStackTrace() |
getThreadId | getThreadId() | long getThreadId() |
getThreadName | getThreadName() | String getThreadName() |
getThreadState | getThreadState() | State getThreadState() |
getWaitedCount | getWaitedCount() | long getWaitedCount() |
getWaitedTime | getWaitedTime() | long getWaitedTime() |
isDaemon | isDaemon() | boolean isDaemon() |
isInNative | isInNative() | boolean isInNative() |
isSuspended | isSuspended() | boolean isSuspended() |
The methods and fields of Object are inherited.
ThreadMXBean#
interface · java.lang.management.ThreadMXBean
Extends: PlatformManagedObject
Methods
| Method | Ring call | Java overloads |
|---|---|---|
dumpAllThreads | dumpAllThreads([lockedMonitors,lockedSynchronizers])dumpAllThreads([ :lockedMonitors = v, :lockedSynchronizers = v ])dumpAllThreads([lockedMonitors,lockedSynchronizers,maxDepth])dumpAllThreads([ :lockedMonitors = v, :lockedSynchronizers = v, :maxDepth = v ]) | ThreadInfo[] dumpAllThreads(boolean lockedMonitors, boolean lockedSynchronizers)ThreadInfo[] dumpAllThreads(boolean lockedMonitors, boolean lockedSynchronizers, int maxDepth) |
findDeadlockedThreads | findDeadlockedThreads() | long[] findDeadlockedThreads() |
findMonitorDeadlockedThreads | findMonitorDeadlockedThreads() | long[] findMonitorDeadlockedThreads() |
getAllThreadIds | getAllThreadIds() | long[] getAllThreadIds() |
getCurrentThreadCpuTime | getCurrentThreadCpuTime() | long getCurrentThreadCpuTime() |
getCurrentThreadUserTime | getCurrentThreadUserTime() | long getCurrentThreadUserTime() |
getDaemonThreadCount | getDaemonThreadCount() | int getDaemonThreadCount() |
getObjectName | getObjectName() | ObjectName getObjectName() |
getPeakThreadCount | getPeakThreadCount() | int getPeakThreadCount() |
getThreadCount | getThreadCount() | int getThreadCount() |
getThreadCpuTime | getThreadCpuTime(id) | long getThreadCpuTime(long id) |
getThreadInfo | getThreadInfo(id)getThreadInfo([id,maxDepth])getThreadInfo([ :id = v, :maxDepth = v ])getThreadInfo([ids,lockedMonitors,lockedSynchronizers])getThreadInfo([ :ids = v, :lockedMonitors = v, :lockedSynchronizers = v ])getThreadInfo([ids,lockedMonitors,lockedSynchronizers,maxDepth])getThreadInfo([ :ids = v, :lockedMonitors = v, :lockedSynchronizers = v, :maxDepth = v ]) | ThreadInfo getThreadInfo(long id)ThreadInfo[] getThreadInfo(long[] ids)ThreadInfo getThreadInfo(long id, int maxDepth)ThreadInfo[] getThreadInfo(long[] ids, int maxDepth)ThreadInfo[] getThreadInfo(long[] ids, boolean lockedMonitors, boolean lockedSynchronizers)ThreadInfo[] getThreadInfo(long[] ids, boolean lockedMonitors, boolean lockedSynchronizers, int maxDepth) |
getThreadUserTime | getThreadUserTime(id) | long getThreadUserTime(long id) |
getTotalStartedThreadCount | getTotalStartedThreadCount() | long getTotalStartedThreadCount() |
isCurrentThreadCpuTimeSupported | isCurrentThreadCpuTimeSupported() | boolean isCurrentThreadCpuTimeSupported() |
isObjectMonitorUsageSupported | isObjectMonitorUsageSupported() | boolean isObjectMonitorUsageSupported() |
isSynchronizerUsageSupported | isSynchronizerUsageSupported() | boolean isSynchronizerUsageSupported() |
isThreadContentionMonitoringEnabled | isThreadContentionMonitoringEnabled() | boolean isThreadContentionMonitoringEnabled() |
isThreadContentionMonitoringSupported | isThreadContentionMonitoringSupported() | boolean isThreadContentionMonitoringSupported() |
isThreadCpuTimeEnabled | isThreadCpuTimeEnabled() | boolean isThreadCpuTimeEnabled() |
isThreadCpuTimeSupported | isThreadCpuTimeSupported() | boolean isThreadCpuTimeSupported() |
resetPeakThreadCount | resetPeakThreadCount() | void resetPeakThreadCount() |
setThreadContentionMonitoringEnabled | setThreadContentionMonitoringEnabled(enable) | void setThreadContentionMonitoringEnabled(boolean enable) |
setThreadCpuTimeEnabled | setThreadCpuTimeEnabled(enable) | void setThreadCpuTimeEnabled(boolean enable) |