public static enum CacheOperationOutcomes.ConditionalRemoveOutcome extends java.lang.Enum<CacheOperationOutcomes.ConditionalRemoveOutcome> implements CacheOperationOutcomes
CacheOperationOutcomes.ClearOutcome, CacheOperationOutcomes.ConditionalRemoveOutcome, CacheOperationOutcomes.GetAllOutcome, CacheOperationOutcomes.GetOutcome, CacheOperationOutcomes.PutAllOutcome, CacheOperationOutcomes.PutIfAbsentOutcome, CacheOperationOutcomes.PutOutcome, CacheOperationOutcomes.RemoveAllOutcome, CacheOperationOutcomes.RemoveOutcome, CacheOperationOutcomes.ReplaceOutcome
Enum Constant and Description |
---|
FAILURE
Operation failure
|
FAILURE_KEY_MISSING
Remove failed, a mapping was not present
|
FAILURE_KEY_PRESENT
Remove failed, a mapping was present
|
SUCCESS
Remove success
|
Modifier and Type | Method and Description |
---|---|
static CacheOperationOutcomes.ConditionalRemoveOutcome |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CacheOperationOutcomes.ConditionalRemoveOutcome[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheOperationOutcomes.ConditionalRemoveOutcome SUCCESS
public static final CacheOperationOutcomes.ConditionalRemoveOutcome FAILURE_KEY_PRESENT
public static final CacheOperationOutcomes.ConditionalRemoveOutcome FAILURE_KEY_MISSING
public static final CacheOperationOutcomes.ConditionalRemoveOutcome FAILURE
public static CacheOperationOutcomes.ConditionalRemoveOutcome[] values()
for (CacheOperationOutcomes.ConditionalRemoveOutcome c : CacheOperationOutcomes.ConditionalRemoveOutcome.values()) System.out.println(c);
public static CacheOperationOutcomes.ConditionalRemoveOutcome valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null