March 2005
Intermediate to advanced
1254 pages
104h 21m
English
MemoryManagerMXBean
This MXBean interface allows monitoring of
a single memory manager (such as a garbage collector) in a
Java VM. A VM implementation
typically has more than one memory manager, and the
ManagementFactory method
getMemoryManagerMXBeans( ) returns a
List of objects of this type. Some or all of the
objects in the returned list will also implement the
GarbageCollectorMXBean subinterface.
Each memory manager may manage one or more memory pools, and
getMemoryPoolNames(
)
returns the names of these pools. See also
ManagementFactory.getMemoryPoolMXBeans( ) and
MemoryPoolMXBean.
public interface MemoryManagerMXBean { // Public Instance Methods String[ ] getMemoryPoolNames( ); String getName( ); boolean isValid( ); }
GarbageCollectorMXBean