com.caucho.util
Enum MemoryPoolAdapter.PoolType
java.lang.Object
java.lang.Enum<MemoryPoolAdapter.PoolType>
com.caucho.util.MemoryPoolAdapter.PoolType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<MemoryPoolAdapter.PoolType>
- Enclosing class:
- MemoryPoolAdapter
public static enum MemoryPoolAdapter.PoolType
- extends java.lang.Enum<MemoryPoolAdapter.PoolType>
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
CODE_CACHE
public static final MemoryPoolAdapter.PoolType CODE_CACHE
EDEN
public static final MemoryPoolAdapter.PoolType EDEN
PERM_GEN
public static final MemoryPoolAdapter.PoolType PERM_GEN
SURVIVOR
public static final MemoryPoolAdapter.PoolType SURVIVOR
TENURED
public static final MemoryPoolAdapter.PoolType TENURED
values
public static MemoryPoolAdapter.PoolType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (MemoryPoolAdapter.PoolType c : MemoryPoolAdapter.PoolType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static MemoryPoolAdapter.PoolType valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
defaultName
public java.lang.String defaultName()
keywords
public java.lang.String[] keywords()
find
public javax.management.ObjectName find(java.util.Set<javax.management.ObjectName> objectNames)
throws javax.management.MalformedObjectNameException
- Throws:
javax.management.MalformedObjectNameException