public static enum CacheOperationOutcomes.PutIfAbsentOutcome extends Enum<CacheOperationOutcomes.PutIfAbsentOutcome>
| Enum Constant and Description |
|---|
FAILURE
already exisits; not put into cache
|
SUCCESS
put into cache
|
| Modifier and Type | Method and Description |
|---|---|
static CacheOperationOutcomes.PutIfAbsentOutcome |
valueOf(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 SUCCESS
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(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright 2001-2021, Terracotta, Inc.