Name
MemoryType
Synopsis
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( )
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.