public static enum CacheOperationOutcomes.GetOutcome extends java.lang.Enum<CacheOperationOutcomes.GetOutcome> 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
failure
|
HIT
hit, loader or not is Cache impl specific
|
MISS
miss, loader or not is Cache impl specific
|
Modifier and Type | Method and Description |
---|---|
static CacheOperationOutcomes.GetOutcome |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CacheOperationOutcomes.GetOutcome[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheOperationOutcomes.GetOutcome HIT
public static final CacheOperationOutcomes.GetOutcome MISS
public static final CacheOperationOutcomes.GetOutcome FAILURE
public static CacheOperationOutcomes.GetOutcome[] values()
for (CacheOperationOutcomes.GetOutcome c : CacheOperationOutcomes.GetOutcome.values()) System.out.println(c);
public static CacheOperationOutcomes.GetOutcome 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