Package com.tangosol.net.cache
Enum CacheEvent.TransformationState
- java.lang.Object
-
- java.lang.Enum<CacheEvent.TransformationState>
-
- com.tangosol.net.cache.CacheEvent.TransformationState
-
- All Implemented Interfaces:
Serializable
,Comparable<CacheEvent.TransformationState>
- Enclosing class:
- CacheEvent<K,V>
public static enum CacheEvent.TransformationState extends Enum<CacheEvent.TransformationState>
TransformationState describes how a CacheEvent has been or should betransformed
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NON_TRANSFORMABLE
Value used to indicate that an event is non-transformable and should not be passed to any transformer-based listeners.TRANSFORMABLE
Value used to indicate that an event is transformable and could be passed to transformer-based listeners.TRANSFORMED
Value used to indicate that an event has been transformed, and should only be passed to transformer-based listeners.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CacheEvent.TransformationState
valueOf(String name)
Returns the enum constant of this type with the specified name.static CacheEvent.TransformationState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NON_TRANSFORMABLE
public static final CacheEvent.TransformationState NON_TRANSFORMABLE
Value used to indicate that an event is non-transformable and should not be passed to any transformer-based listeners.
-
TRANSFORMABLE
public static final CacheEvent.TransformationState TRANSFORMABLE
Value used to indicate that an event is transformable and could be passed to transformer-based listeners.
-
TRANSFORMED
public static final CacheEvent.TransformationState TRANSFORMED
Value used to indicate that an event has been transformed, and should only be passed to transformer-based listeners.
-
-
Method Detail
-
values
public static CacheEvent.TransformationState[] 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 (CacheEvent.TransformationState c : CacheEvent.TransformationState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CacheEvent.TransformationState 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
-
-