org.opends.server.extensions
Enum EntryCacheCommon.ConfigPhase

java.lang.Object
  extended by java.lang.Enum<EntryCacheCommon.ConfigPhase>
      extended by org.opends.server.extensions.EntryCacheCommon.ConfigPhase
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EntryCacheCommon.ConfigPhase>
Enclosing class:
EntryCacheCommon

public static enum EntryCacheCommon.ConfigPhase
extends java.lang.Enum<EntryCacheCommon.ConfigPhase>

Configuration phases. Each value identifies a configuration step: - PHASE_INIT when invoking method initializeEntryCache() - PHASE_ACCEPTABLE when invoking method isConfigurationChangeAcceptable() - PHASE_APPLY when invoking method applyConfigurationChange()


Enum Constant Summary
PHASE_ACCEPTABLE
          Indicates that entry cache is in configuration check phase.
PHASE_APPLY
          Indicates that entry cache is applying its configuration.
PHASE_INIT
          Indicates that entry cache is in initialization check phase.
 
Method Summary
static EntryCacheCommon.ConfigPhase valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EntryCacheCommon.ConfigPhase[] 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

PHASE_INIT

public static final EntryCacheCommon.ConfigPhase PHASE_INIT
Indicates that entry cache is in initialization check phase.


PHASE_ACCEPTABLE

public static final EntryCacheCommon.ConfigPhase PHASE_ACCEPTABLE
Indicates that entry cache is in configuration check phase.


PHASE_APPLY

public static final EntryCacheCommon.ConfigPhase PHASE_APPLY
Indicates that entry cache is applying its configuration.

Method Detail

values

public static EntryCacheCommon.ConfigPhase[] 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 (EntryCacheCommon.ConfigPhase c : EntryCacheCommon.ConfigPhase.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static EntryCacheCommon.ConfigPhase 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