public class MemoryManagerMXBeanImpl extends DynamicMXBeanImpl implements java.lang.management.MemoryManagerMXBean
MemoryManagerMXBean
Modifier and Type | Field and Description |
---|---|
protected int |
id |
protected java.lang.String |
name |
info
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getMemoryPoolNames()
Returns the names of all of the memory pools managed by this
MXBean . |
java.lang.String |
getName()
Returns the name of this particular memory manager.
|
protected void |
initializeInfo() |
boolean |
isValid()
Returns
true if this memory manager is still valid in the
virtual machine. |
getAttribute, getAttributes, getMBeanInfo, getPresentAttribute, getPresentOperation, initMBeanInfo, invoke, setAttribute, setAttributes, setMBeanInfo
protected void initializeInfo()
public java.lang.String[] getMemoryPoolNames()
java.lang.management.MemoryManagerMXBean
MXBean
.getMemoryPoolNames
in interface java.lang.management.MemoryManagerMXBean
public java.lang.String getName()
java.lang.management.MemoryManagerMXBean
getName
in interface java.lang.management.MemoryManagerMXBean
public boolean isValid()
java.lang.management.MemoryManagerMXBean
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.isValid
in interface java.lang.management.MemoryManagerMXBean
true
if the memory manager is still valid in the
virtual machine ; otherwise false
.