Package org.opends.server.extensions
Enum EntryCacheCommon.ConfigPhase
- java.lang.Object
-
- java.lang.Enum<EntryCacheCommon.ConfigPhase>
-
- org.opends.server.extensions.EntryCacheCommon.ConfigPhase
-
- All Implemented Interfaces:
Serializable,Comparable<EntryCacheCommon.ConfigPhase>
- Enclosing class:
- EntryCacheCommon
public static enum EntryCacheCommon.ConfigPhase extends 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
Enum Constants Enum Constant Description PHASE_ACCEPTABLEIndicates that entry cache is in configuration check phase.PHASE_APPLYIndicates that entry cache is applying its configuration.PHASE_INITIndicates that entry cache is in initialization check phase.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EntryCacheCommon.ConfigPhasevalueOf(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.
-
-
-
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(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-