Name

MemoryManagerMXBean

Synopsis

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

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.