Enum ModeledCacheListener.Type
- java.lang.Object
-
- java.lang.Enum<ModeledCacheListener.Type>
-
- org.apache.curator.x.async.modeled.cached.ModeledCacheListener.Type
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ModeledCacheListener.Type>
- Enclosing interface:
- ModeledCacheListener<T>
public static enum ModeledCacheListener.Type extends java.lang.Enum<ModeledCacheListener.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NODE_ADDEDA child was added to the pathNODE_REMOVEDA child was removed from the pathNODE_UPDATEDA child's data was changed
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ModeledCacheListener.TypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ModeledCacheListener.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NODE_ADDED
public static final ModeledCacheListener.Type NODE_ADDED
A child was added to the path
-
NODE_UPDATED
public static final ModeledCacheListener.Type NODE_UPDATED
A child's data was changed
-
NODE_REMOVED
public static final ModeledCacheListener.Type NODE_REMOVED
A child was removed from the path
-
-
Method Detail
-
values
public static ModeledCacheListener.Type[] 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 (ModeledCacheListener.Type c : ModeledCacheListener.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ModeledCacheListener.Type 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 namejava.lang.NullPointerException- if the argument is null
-
-