public enum MemoryType extends java.lang.Enum<MemoryType>
Types of memory pools.
Two types are for the memory in the process, JAVA_HEAP and
NON_JAVA_HEAP. The SYSTEM memory type is for
system memory, the memory available for multiple processes to use.
| Enum Constant and Description |
|---|
JAVA_HEAP
Java Heap memory type (for this process).
|
NON_JAVA_HEAP
Non-Java heap memory type (for this process).
|
SYSTEM
System memory type.
|
| Modifier and Type | Method and Description |
|---|---|
static MemoryType |
enumValue(long ordinalValue)
Returns the MemoryType enum value corresponding to a long value.
|
java.lang.String |
toString()
Returns the string representation of this
MemoryType object. |
static MemoryType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MemoryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MemoryType JAVA_HEAP
Java Heap memory type (for this process).
public static final MemoryType NON_JAVA_HEAP
Non-Java heap memory type (for this process).
public static final MemoryType SYSTEM
System memory type. The type of the system total memory and the memory pools shared between processes.
public static MemoryType enumValue(long ordinalValue)
ordinalValue - value corresponding to a MemoryType enum value’s ordinal value.java.lang.IllegalArgumentException - if ordinalValue is less
than 0 or ordinalValue is greater than the number
of enum values in MemoryTypepublic java.lang.String toString()
MemoryType object.toString in class java.lang.Enum<MemoryType>MemoryType object.public static MemoryType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is nullpublic static MemoryType[] values()
for (MemoryType c : MemoryType.values()) System.out.println(c);
Submit a bug or feature request
Copyright © 2015-2017, Azul Systems, Inc. All rights reserved.
Azul Systems and Zing are registered trademarks of Azul Systems, Inc.