public interface MemoryManagerMXBean extends PlatformManagedObject
Multiple instances of this interface are available to clients. Each may be
distinguished by their separate ObjectName
value.
Accessing this kind of MXBean
can be done in one of three
ways.
ManagementFactory.getMemoryManagerMXBeans()
method which returns a List
of all currently instantiated
MemoryManagerBeans.MBeanServerConnection
.ManagementFactory.newPlatformMXBeanProxy(javax.management.MBeanServerConnection, java.lang.String, java.lang.Class<T>)
method, passing in the
string "java.lang:type=MemoryManager,name= unique manager's name
" for the value of the second parameter.Modifier and Type | Method and Description |
---|---|
String[] |
getMemoryPoolNames()
Returns the names of all of the memory pools managed by this
MXBean . |
String |
getName()
Returns the name of this particular memory manager.
|
boolean |
isValid()
Returns
true if this memory manager is still valid in the
virtual machine. |
getObjectName
String[] getMemoryPoolNames()
MXBean
.String getName()
boolean isValid()
true
if this memory manager is still valid in the
virtual machine. That is, the memory manager has not been eliminated from
the virtual machine memory.true
if the memory manager is still valid in the
virtual machine ; otherwise false
.Eclipse OpenJ9 website.
To raise a bug report or suggest an improvement create an Eclipse OpenJ9 issue.
Copyright © 1993, 2023 IBM Corp. and others.