Enum Class CacheState
- All Implemented Interfaces:
Serializable,Comparable<CacheState>,Constable
Derived feature cache state.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCache is enabled and exposes a last-updated timestamp.Cache persistence is disabled by configuration.Cache could be enabled, but the feature repository has not been initialized yet.Cache is enabled, but its last-updated timestamp is unavailable. -
Method Summary
Modifier and TypeMethodDescriptionstatic CacheStateReturns the enum constant of this class with the specified name.static CacheState[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
DISABLED
Cache persistence is disabled by configuration. -
NOT_INITIALIZED
Cache could be enabled, but the feature repository has not been initialized yet. -
AVAILABLE
Cache is enabled and exposes a last-updated timestamp. -
UNKNOWN
Cache is enabled, but its last-updated timestamp is unavailable.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-