RingJavafor Ring

java.lang.management

20 classes of the module java.management.

Load them with:

using {
	"java.lang.management"
}

All packages

BufferPoolMXBean#

interface · java.lang.management.BufferPoolMXBean

Extends: PlatformManagedObject

Methods

MethodRing callJava overloads
getCountgetCount()long getCount()
getMemoryUsedgetMemoryUsed()long getMemoryUsed()
getNamegetName()String getName()
getObjectNamegetObjectName()ObjectName getObjectName()
getTotalCapacitygetTotalCapacity()long getTotalCapacity()

ClassLoadingMXBean#

interface · java.lang.management.ClassLoadingMXBean

Extends: PlatformManagedObject

Methods

MethodRing callJava overloads
getLoadedClassCountgetLoadedClassCount()int getLoadedClassCount()
getObjectNamegetObjectName()ObjectName getObjectName()
getTotalLoadedClassCountgetTotalLoadedClassCount()long getTotalLoadedClassCount()
getUnloadedClassCountgetUnloadedClassCount()long getUnloadedClassCount()
isVerboseisVerbose()boolean isVerbose()
setVerbosesetVerbose(value)void setVerbose(boolean value)

CompilationMXBean#

interface · java.lang.management.CompilationMXBean

Extends: PlatformManagedObject

Methods

MethodRing callJava overloads
getNamegetName()String getName()
getObjectNamegetObjectName()ObjectName getObjectName()
getTotalCompilationTimegetTotalCompilationTime()long getTotalCompilationTime()
isCompilationTimeMonitoringSupportedisCompilationTimeMonitoringSupported()boolean isCompilationTimeMonitoringSupported()

GarbageCollectorMXBean#

interface · java.lang.management.GarbageCollectorMXBean

Extends: MemoryManagerMXBean

Methods

MethodRing callJava overloads
getCollectionCountgetCollectionCount()long getCollectionCount()
getCollectionTimegetCollectionTime()long getCollectionTime()
getMemoryPoolNamesgetMemoryPoolNames()String[] getMemoryPoolNames()
getNamegetName()String getName()
getObjectNamegetObjectName()ObjectName getObjectName()
isValidisValid()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

MethodRing callJava overloads
fromfrom(cd)static LockInfo from(CompositeData cd)
getClassNamegetClassName()String getClassName()
getIdentityHashCodegetIdentityHashCode()int getIdentityHashCode()

The methods and fields of Object are inherited.

ManagementFactory#

class · extends Object · java.lang.management.ManagementFactory

Fields

NameTypeAccessIn Ring
CLASS_LOADING_MXBEAN_NAMEStringconstant · statico.CLASS_LOADING_MXBEAN_NAME
COMPILATION_MXBEAN_NAMEStringconstant · statico.COMPILATION_MXBEAN_NAME
MEMORY_MXBEAN_NAMEStringconstant · statico.MEMORY_MXBEAN_NAME
OPERATING_SYSTEM_MXBEAN_NAMEStringconstant · statico.OPERATING_SYSTEM_MXBEAN_NAME
RUNTIME_MXBEAN_NAMEStringconstant · statico.RUNTIME_MXBEAN_NAME
THREAD_MXBEAN_NAMEStringconstant · statico.THREAD_MXBEAN_NAME
GARBAGE_COLLECTOR_MXBEAN_DOMAIN_TYPEStringconstant · statico.GARBAGE_COLLECTOR_MXBEAN_DOMAIN_TYPE
MEMORY_MANAGER_MXBEAN_DOMAIN_TYPEStringconstant · statico.MEMORY_MANAGER_MXBEAN_DOMAIN_TYPE
MEMORY_POOL_MXBEAN_DOMAIN_TYPEStringconstant · statico.MEMORY_POOL_MXBEAN_DOMAIN_TYPE

Methods

MethodRing callJava overloads
getClassLoadingMXBeangetClassLoadingMXBean()static ClassLoadingMXBean getClassLoadingMXBean()
getCompilationMXBeangetCompilationMXBean()static CompilationMXBean getCompilationMXBean()
getGarbageCollectorMXBeansgetGarbageCollectorMXBeans()static List getGarbageCollectorMXBeans()
getMemoryManagerMXBeansgetMemoryManagerMXBeans()static List getMemoryManagerMXBeans()
getMemoryMXBeangetMemoryMXBean()static MemoryMXBean getMemoryMXBean()
getMemoryPoolMXBeansgetMemoryPoolMXBeans()static List getMemoryPoolMXBeans()
getOperatingSystemMXBeangetOperatingSystemMXBean()static OperatingSystemMXBean getOperatingSystemMXBean()
getPlatformManagementInterfacesgetPlatformManagementInterfaces()static Set getPlatformManagementInterfaces()
getPlatformMBeanServergetPlatformMBeanServer()static MBeanServer getPlatformMBeanServer()
getPlatformMXBeangetPlatformMXBean(mxbeanInterface)
getPlatformMXBean([connection,mxbeanInterface])
getPlatformMXBean([ :connection = v, :mxbeanInterface = v ])
static PlatformManagedObject getPlatformMXBean(Class mxbeanInterface)
static PlatformManagedObject getPlatformMXBean(MBeanServerConnection connection, Class mxbeanInterface)
getPlatformMXBeansgetPlatformMXBeans(mxbeanInterface)
getPlatformMXBeans([connection,mxbeanInterface])
getPlatformMXBeans([ :connection = v, :mxbeanInterface = v ])
static List getPlatformMXBeans(Class mxbeanInterface)
static List getPlatformMXBeans(MBeanServerConnection connection, Class mxbeanInterface)
getRuntimeMXBeangetRuntimeMXBean()static RuntimeMXBean getRuntimeMXBean()
getThreadMXBeangetThreadMXBean()static ThreadMXBean getThreadMXBean()
newPlatformMXBeanProxynewPlatformMXBeanProxy(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

MethodRing callJava overloads
getMemoryPoolNamesgetMemoryPoolNames()String[] getMemoryPoolNames()
getNamegetName()String getName()
getObjectNamegetObjectName()ObjectName getObjectName()
isValidisValid()boolean isValid()

MemoryMXBean#

interface · java.lang.management.MemoryMXBean

Extends: PlatformManagedObject

Methods

MethodRing callJava overloads
gcgc()void gc()
getHeapMemoryUsagegetHeapMemoryUsage()MemoryUsage getHeapMemoryUsage()
getNonHeapMemoryUsagegetNonHeapMemoryUsage()MemoryUsage getNonHeapMemoryUsage()
getObjectNamegetObjectName()ObjectName getObjectName()
getObjectPendingFinalizationCountgetObjectPendingFinalizationCount()int getObjectPendingFinalizationCount()
isVerboseisVerbose()boolean isVerbose()
setVerbosesetVerbose(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

NameTypeAccessIn Ring
MEMORY_THRESHOLD_EXCEEDEDStringconstant · statico.MEMORY_THRESHOLD_EXCEEDED
MEMORY_COLLECTION_THRESHOLD_EXCEEDEDStringconstant · statico.MEMORY_COLLECTION_THRESHOLD_EXCEEDED

Methods

MethodRing callJava overloads
fromfrom(cd)static MemoryNotificationInfo from(CompositeData cd)
getCountgetCount()long getCount()
getPoolNamegetPoolName()String getPoolName()
getUsagegetUsage()MemoryUsage getUsage()

The methods and fields of Object are inherited.

MemoryPoolMXBean#

interface · java.lang.management.MemoryPoolMXBean

Extends: PlatformManagedObject

Methods

MethodRing callJava overloads
getCollectionUsagegetCollectionUsage()MemoryUsage getCollectionUsage()
getCollectionUsageThresholdgetCollectionUsageThreshold()long getCollectionUsageThreshold()
getCollectionUsageThresholdCountgetCollectionUsageThresholdCount()long getCollectionUsageThresholdCount()
getMemoryManagerNamesgetMemoryManagerNames()String[] getMemoryManagerNames()
getNamegetName()String getName()
getObjectNamegetObjectName()ObjectName getObjectName()
getPeakUsagegetPeakUsage()MemoryUsage getPeakUsage()
getTypegetType()MemoryType getType()
getUsagegetUsage()MemoryUsage getUsage()
getUsageThresholdgetUsageThreshold()long getUsageThreshold()
getUsageThresholdCountgetUsageThresholdCount()long getUsageThresholdCount()
isCollectionUsageThresholdExceededisCollectionUsageThresholdExceeded()boolean isCollectionUsageThresholdExceeded()
isCollectionUsageThresholdSupportedisCollectionUsageThresholdSupported()boolean isCollectionUsageThresholdSupported()
isUsageThresholdExceededisUsageThresholdExceeded()boolean isUsageThresholdExceeded()
isUsageThresholdSupportedisUsageThresholdSupported()boolean isUsageThresholdSupported()
isValidisValid()boolean isValid()
resetPeakUsageresetPeakUsage()void resetPeakUsage()
setCollectionUsageThresholdsetCollectionUsageThreshold(threshold)void setCollectionUsageThreshold(long threshold)
setUsageThresholdsetUsageThreshold(threshold)void setUsageThreshold(long threshold)

MemoryType#

enum · extends Enum · java.lang.management.MemoryType

Fields

NameTypeAccessIn Ring
HEAPMemoryTypeconstant · statico.HEAP
NON_HEAPMemoryTypeconstant · statico.NON_HEAP

Methods

MethodRing callJava overloads
valueOfvalueOf(p1)
valueOf([enumClass,name])
valueOf([ :enumClass = v, :name = v ])
static MemoryType valueOf(String p1)
static Enum valueOf(Class enumClass, String name)
valuesvalues()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

MethodRing callJava overloads
fromfrom(cd)static MemoryUsage from(CompositeData cd)
getCommittedgetCommitted()long getCommitted()
getInitgetInit()long getInit()
getMaxgetMax()long getMax()
getUsedgetUsed()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

MethodRing callJava overloads
getLockedStackDepthgetLockedStackDepth()int getLockedStackDepth()
getLockedStackFramegetLockedStackFrame()StackTraceElement getLockedStackFrame()

The methods and fields of LockInfo are inherited.

OperatingSystemMXBean#

interface · java.lang.management.OperatingSystemMXBean

Extends: PlatformManagedObject

Methods

MethodRing callJava overloads
getArchgetArch()String getArch()
getAvailableProcessorsgetAvailableProcessors()int getAvailableProcessors()
getNamegetName()String getName()
getObjectNamegetObjectName()ObjectName getObjectName()
getSystemLoadAveragegetSystemLoadAverage()double getSystemLoadAverage()
getVersiongetVersion()String getVersion()

PlatformLoggingMXBean#

interface · java.lang.management.PlatformLoggingMXBean

Extends: PlatformManagedObject

Methods

MethodRing callJava overloads
getLoggerLevelgetLoggerLevel(loggerName)String getLoggerLevel(String loggerName)
getLoggerNamesgetLoggerNames()List getLoggerNames()
getObjectNamegetObjectName()ObjectName getObjectName()
getParentLoggerNamegetParentLoggerName(loggerName)String getParentLoggerName(String loggerName)
setLoggerLevelsetLoggerLevel(loggerName,levelName)void setLoggerLevel(String loggerName, String levelName)

PlatformManagedObject#

interface · java.lang.management.PlatformManagedObject

Methods

MethodRing callJava overloads
getObjectNamegetObjectName()ObjectName getObjectName()

RuntimeMXBean#

interface · java.lang.management.RuntimeMXBean

Extends: PlatformManagedObject

Methods

MethodRing callJava overloads
getBootClassPathgetBootClassPath()String getBootClassPath()
getClassPathgetClassPath()String getClassPath()
getInputArgumentsgetInputArguments()List getInputArguments()
getLibraryPathgetLibraryPath()String getLibraryPath()
getManagementSpecVersiongetManagementSpecVersion()String getManagementSpecVersion()
getNamegetName()String getName()
getObjectNamegetObjectName()ObjectName getObjectName()
getPidgetPid()long getPid()
getSpecNamegetSpecName()String getSpecName()
getSpecVendorgetSpecVendor()String getSpecVendor()
getSpecVersiongetSpecVersion()String getSpecVersion()
getStartTimegetStartTime()long getStartTime()
getSystemPropertiesgetSystemProperties()Map getSystemProperties()
getUptimegetUptime()long getUptime()
getVmNamegetVmName()String getVmName()
getVmVendorgetVmVendor()String getVmVendor()
getVmVersiongetVmVersion()String getVmVersion()
isBootClassPathSupportedisBootClassPathSupported()boolean isBootClassPathSupported()

ThreadInfo#

class · extends Object · java.lang.management.ThreadInfo

Methods

MethodRing callJava overloads
fromfrom(cd)static ThreadInfo from(CompositeData cd)
getBlockedCountgetBlockedCount()long getBlockedCount()
getBlockedTimegetBlockedTime()long getBlockedTime()
getLockedMonitorsgetLockedMonitors()MonitorInfo[] getLockedMonitors()
getLockedSynchronizersgetLockedSynchronizers()LockInfo[] getLockedSynchronizers()
getLockInfogetLockInfo()LockInfo getLockInfo()
getLockNamegetLockName()String getLockName()
getLockOwnerIdgetLockOwnerId()long getLockOwnerId()
getLockOwnerNamegetLockOwnerName()String getLockOwnerName()
getPrioritygetPriority()int getPriority()
getStackTracegetStackTrace()StackTraceElement[] getStackTrace()
getThreadIdgetThreadId()long getThreadId()
getThreadNamegetThreadName()String getThreadName()
getThreadStategetThreadState()State getThreadState()
getWaitedCountgetWaitedCount()long getWaitedCount()
getWaitedTimegetWaitedTime()long getWaitedTime()
isDaemonisDaemon()boolean isDaemon()
isInNativeisInNative()boolean isInNative()
isSuspendedisSuspended()boolean isSuspended()

The methods and fields of Object are inherited.

ThreadMXBean#

interface · java.lang.management.ThreadMXBean

Extends: PlatformManagedObject

Methods

MethodRing callJava overloads
dumpAllThreadsdumpAllThreads([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)
findDeadlockedThreadsfindDeadlockedThreads()long[] findDeadlockedThreads()
findMonitorDeadlockedThreadsfindMonitorDeadlockedThreads()long[] findMonitorDeadlockedThreads()
getAllThreadIdsgetAllThreadIds()long[] getAllThreadIds()
getCurrentThreadCpuTimegetCurrentThreadCpuTime()long getCurrentThreadCpuTime()
getCurrentThreadUserTimegetCurrentThreadUserTime()long getCurrentThreadUserTime()
getDaemonThreadCountgetDaemonThreadCount()int getDaemonThreadCount()
getObjectNamegetObjectName()ObjectName getObjectName()
getPeakThreadCountgetPeakThreadCount()int getPeakThreadCount()
getThreadCountgetThreadCount()int getThreadCount()
getThreadCpuTimegetThreadCpuTime(id)long getThreadCpuTime(long id)
getThreadInfogetThreadInfo(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)
getThreadUserTimegetThreadUserTime(id)long getThreadUserTime(long id)
getTotalStartedThreadCountgetTotalStartedThreadCount()long getTotalStartedThreadCount()
isCurrentThreadCpuTimeSupportedisCurrentThreadCpuTimeSupported()boolean isCurrentThreadCpuTimeSupported()
isObjectMonitorUsageSupportedisObjectMonitorUsageSupported()boolean isObjectMonitorUsageSupported()
isSynchronizerUsageSupportedisSynchronizerUsageSupported()boolean isSynchronizerUsageSupported()
isThreadContentionMonitoringEnabledisThreadContentionMonitoringEnabled()boolean isThreadContentionMonitoringEnabled()
isThreadContentionMonitoringSupportedisThreadContentionMonitoringSupported()boolean isThreadContentionMonitoringSupported()
isThreadCpuTimeEnabledisThreadCpuTimeEnabled()boolean isThreadCpuTimeEnabled()
isThreadCpuTimeSupportedisThreadCpuTimeSupported()boolean isThreadCpuTimeSupported()
resetPeakThreadCountresetPeakThreadCount()void resetPeakThreadCount()
setThreadContentionMonitoringEnabledsetThreadContentionMonitoringEnabled(enable)void setThreadContentionMonitoringEnabled(boolean enable)
setThreadCpuTimeEnabledsetThreadCpuTimeEnabled(enable)void setThreadCpuTimeEnabled(boolean enable)
RingJava - use Java classes and methods from Ring programs.