This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
java.lang.management
interface MemoryManagerMXBean
- All Known Subinterfaces:
- GarbageCollectorMXBean
public interface MemoryManagerMXBean
The management interface for a memory manager.
A memory manager manages one or more memory pools of the
Java virtual machine.
A Java virtual machine has one or more memory managers.
An instance implementing this interface is
an MXBean
that can be obtained by calling
the {@link ManagementFactory#getMemoryManagerMXBeans} method or
from the {@link ManagementFactory#getPlatformMBeanServer
platform MBeanServer} method.
The ObjectName for uniquely identifying the MXBean for
a memory manager within an MBeanServer is:
{@link ManagementFactory#MEMORY_MANAGER_MXBEAN_DOMAIN_TYPE
java.lang:type=MemoryManager},name=manager's name
Method Summary |
String[] |
Returns the name of memory pools that this memory manager manages.
|
String |
Returns the name representing this memory manager.
|
boolean |
Tests if this memory manager is valid in the Java virtual
machine.
|
getMemoryPoolNames
public String[] getMemoryPoolNames()
-
Returns the name of memory pools that this memory manager manages.
- Returns:
- an array of String objects, each is
the name of a memory pool that this memory manager manages.
getName
public String getName()
-
Returns the name representing this memory manager.
- Returns:
- the name of this memory manager.
isValid
public boolean isValid()
-
Tests if this memory manager is valid in the Java virtual
machine. A memory manager becomes invalid once the Java virtual
machine removes it from the memory system.
- Returns:
- true if the memory manager is valid in the
Java virtual machine;
false otherwise.
This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
This page displays the
Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
The official Sun™ documentation can be found here at
http://java.sun.com/javase/6/docs/api/.