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