Team LiB
Previous Section Next Section

MemoryTypejava.lang.management

Java 5.0serializable comparable enum

The constants defined by this enumerated type define the type of a memory pool as either heap or nonheap memory. See MemoryPoolMXBean.getType( ).

Figure 10-87. java.lang.management.MemoryType


public enum MemoryType {
// Enumerated Constants
     HEAP,  
     NON_HEAP;  
// Public Class Methods
     public static MemoryType valueOf(String name);  
     public static final MemoryType[ ] values( );  
// Public Methods Overriding Enum
     public String toString( );  
}

Returned By

MemoryPoolMXBean.getType( )

    Team LiB
    Previous Section Next Section