Team LiB
Previous Section Next Section

MemoryManagerMXBeanjava.lang.management

Java 5.0

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( );  
}

Implementations

GarbageCollectorMXBean

    Team LiB
    Previous Section Next Section