java.lang.management
Interface MemoryManagerMXBean
public
interface
MemoryManagerMXBean
Provides access to information about the memory managers
of the virtual machine. An instance of this bean for each
memory manager is obtained by calling
getMemoryManagerMXBeans.
Since: 1.5
Method Summary |
String[] | getMemoryPoolNames()
Returns an array containing the names of the memory pools
this memory manager manages.
|
String | getName()
Returns the name of the memory manager.
|
boolean | isValid()
Returns true if this memory manager is still valid. |
public String[] getMemoryPoolNames()
Returns an array containing the names of the memory pools
this memory manager manages.
Returns: an array containing the name of each memory pool
this manager is responsible for.
public String getName()
Returns the name of the memory manager.
Returns: the memory manager name.
public boolean isValid()
Returns true if this memory manager is still valid. A memory
manager becomes invalid when it is removed by the virtual machine
and no longer used.
Returns: true if this memory manager is valid.