com.ibm.lang.management

Class MemoryManagerMXBeanImpl

  1. java.lang.Object
  2. extended bycom.ibm.lang.management.DynamicMXBeanImpl
  3. extended bycom.ibm.lang.management.MemoryManagerMXBeanImpl
All implemented interfaces:
java.lang.management.MemoryManagerMXBean, javax.management.DynamicMBean
Direct known subclasses:
GarbageCollectorMXBeanImpl

  1. public class MemoryManagerMXBeanImpl
  2. extends DynamicMXBeanImpl
  3. implements java.lang.management.MemoryManagerMXBean
Runtime type for MemoryManagerMXBean
Since:
1.5

Field Summary

Modifier and Type Field and Description
  1. protected
  2. int
id
  1. protected
  2. java.lang.String
name
Fields inherited from class com.ibm.lang.management.DynamicMXBeanImpl
info

Method Summary

Modifier and Type Method and Description
  1. java.lang.String[]
getMemoryPoolNames()
  1. java.lang.String
getName()
  1. protected
  2. void
initializeInfo()
  1. boolean
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

  1. protected final java.lang.String name

id

  1. protected final int id

Method Detail

initializeInfo

  1. protected void initializeInfo()

getMemoryPoolNames

  1. public java.lang.String[] getMemoryPoolNames( )

Description copied from interface: java.lang.management.MemoryManagerMXBean

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

  1. 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

  1. 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.