com.ibm.lang.management
Class MemoryManagerMXBeanImpl
- java.lang.Object
com.ibm.lang.management.DynamicMXBeanImpl
com.ibm.lang.management.MemoryManagerMXBeanImpl
All implemented interfaces:
java.lang.management.MemoryManagerMXBean, javax.management.DynamicMBean
Direct known subclasses:
- public class MemoryManagerMXBeanImpl
- extends DynamicMXBeanImpl
- implements java.lang.management.MemoryManagerMXBean
MemoryManagerMXBean
Since:
1.5
Field Summary
Modifier and Type | Field and Description |
---|---|
|
id
|
|
name
|
Fields inherited from class com.ibm.lang.management.DynamicMXBeanImpl |
---|
info |
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getMemoryPoolNames()
|
|
getName()
|
|
initializeInfo()
|
|
isValid()
|
Methods inherited from class com.ibm.lang.management.DynamicMXBeanImpl |
---|
getAttribute, getAttributes, getMBeanInfo, getPresentAttribute, getPresentOperation, initMBeanInfo, invoke, setAttribute, setAttributes, setMBeanInfo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail
name
- protected final java.lang.String name
id
- protected final int id
Method Detail
initializeInfo
- protected void initializeInfo()
getMemoryPoolNames
- public java.lang.String[] getMemoryPoolNames( )
Returns the names of all of the memory pools managed by this
MXBean
.
Specified by:
getMemoryPoolNames
in interface java.lang.management.MemoryManagerMXBean
Returns:
string array containing the names of all of the managed memory
pools.
getName
- public java.lang.String getName( )
Description copied from interface: java.lang.management.MemoryManagerMXBean
Returns the name of this particular memory manager.
Specified by:
getName
in interface java.lang.management.MemoryManagerMXBean
Returns:
the name of this memory manager.
isValid
- public boolean isValid()
Description copied from interface: java.lang.management.MemoryManagerMXBean
Returns
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.
Specified by:
isValid
in interface java.lang.management.MemoryManagerMXBean
Returns:
true
if the memory manager is still valid in the
virtual machine ; otherwise false
.
Description copied from interface:
java.lang.management.MemoryManagerMXBean