public static enum CacheOperationOutcomes.ReplaceOutcome extends java.lang.Enum<CacheOperationOutcomes.ReplaceOutcome> 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
|
HIT
replaced mapping
|
MISS_NOT_PRESENT
no mapping present
|
MISS_PRESENT
mapping present and not replaced
|
Modifier and Type | Method and Description |
---|---|
static CacheOperationOutcomes.ReplaceOutcome |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CacheOperationOutcomes.ReplaceOutcome[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheOperationOutcomes.ReplaceOutcome HIT
public static final CacheOperationOutcomes.ReplaceOutcome MISS_PRESENT
public static final CacheOperationOutcomes.ReplaceOutcome MISS_NOT_PRESENT
public static final CacheOperationOutcomes.ReplaceOutcome FAILURE
public static CacheOperationOutcomes.ReplaceOutcome[] values()
for (CacheOperationOutcomes.ReplaceOutcome c : CacheOperationOutcomes.ReplaceOutcome.values()) System.out.println(c);
public static CacheOperationOutcomes.ReplaceOutcome 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