Enum GridCacheUpdateAtomicResult.UpdateOutcome
- java.lang.Object
-
- java.lang.Enum<GridCacheUpdateAtomicResult.UpdateOutcome>
-
- org.apache.ignite.internal.processors.cache.GridCacheUpdateAtomicResult.UpdateOutcome
-
- All Implemented Interfaces:
Serializable,Comparable<GridCacheUpdateAtomicResult.UpdateOutcome>
- Enclosing class:
- GridCacheUpdateAtomicResult
public static enum GridCacheUpdateAtomicResult.UpdateOutcome extends Enum<GridCacheUpdateAtomicResult.UpdateOutcome>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONFLICT_USE_OLDFILTER_FAILEDINTERCEPTOR_CANCELINVOKE_NO_OPREMOVE_NO_VALSUCCESSVERSION_CHECK_FAILED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleansendToDht()booleansuccess()booleanupdateReadMetrics()static GridCacheUpdateAtomicResult.UpdateOutcomevalueOf(String name)Returns the enum constant of this type with the specified name.static GridCacheUpdateAtomicResult.UpdateOutcome[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONFLICT_USE_OLD
public static final GridCacheUpdateAtomicResult.UpdateOutcome CONFLICT_USE_OLD
-
VERSION_CHECK_FAILED
public static final GridCacheUpdateAtomicResult.UpdateOutcome VERSION_CHECK_FAILED
-
FILTER_FAILED
public static final GridCacheUpdateAtomicResult.UpdateOutcome FILTER_FAILED
-
INVOKE_NO_OP
public static final GridCacheUpdateAtomicResult.UpdateOutcome INVOKE_NO_OP
-
INTERCEPTOR_CANCEL
public static final GridCacheUpdateAtomicResult.UpdateOutcome INTERCEPTOR_CANCEL
-
REMOVE_NO_VAL
public static final GridCacheUpdateAtomicResult.UpdateOutcome REMOVE_NO_VAL
-
SUCCESS
public static final GridCacheUpdateAtomicResult.UpdateOutcome SUCCESS
-
-
Method Detail
-
values
public static GridCacheUpdateAtomicResult.UpdateOutcome[] 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 (GridCacheUpdateAtomicResult.UpdateOutcome c : GridCacheUpdateAtomicResult.UpdateOutcome.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GridCacheUpdateAtomicResult.UpdateOutcome 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
-
success
public boolean success()
- Returns:
- Success flag.
-
sendToDht
public boolean sendToDht()
- Returns:
- Whether update should be propagated to DHT node.
-
updateReadMetrics
public boolean updateReadMetrics()
- Returns:
- Metrics update flag.
-
-