public static enum MemoryPoolAdapter.PoolType extends java.lang.Enum<MemoryPoolAdapter.PoolType>
Enum Constant and Description |
---|
CODE_CACHE |
EDEN |
SURVIVOR |
TENURED |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
defaultName() |
javax.management.ObjectName |
find(java.util.Set<javax.management.ObjectName> objectNames) |
java.lang.String[] |
keywords() |
static MemoryPoolAdapter.PoolType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MemoryPoolAdapter.PoolType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MemoryPoolAdapter.PoolType CODE_CACHE
public static final MemoryPoolAdapter.PoolType EDEN
public static final MemoryPoolAdapter.PoolType SURVIVOR
public static final MemoryPoolAdapter.PoolType TENURED
public static MemoryPoolAdapter.PoolType[] values()
for (MemoryPoolAdapter.PoolType c : MemoryPoolAdapter.PoolType.values()) System.out.println(c);
public static MemoryPoolAdapter.PoolType 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 java.lang.String defaultName()
public java.lang.String[] keywords()
public javax.management.ObjectName find(java.util.Set<javax.management.ObjectName> objectNames) throws javax.management.MalformedObjectNameException
javax.management.MalformedObjectNameException