com.caucho.util
Enum MemoryPoolAdapter.PoolType

java.lang.Object
  extended by java.lang.Enum<MemoryPoolAdapter.PoolType>
      extended by 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>


Enum Constant Summary
CODE_CACHE
           
EDEN
           
PERM_GEN
           
SURVIVOR
           
TENURED
           
 
Method Summary
 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.
 
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
 

Enum Constant Detail

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
Method Detail

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