public static enum CacheGetResult.Type extends Enum<CacheGetResult.Type>
| Enum Constant and Description |
|---|
ERROR |
EXPIRED |
HIT |
INVALIDATED |
MISS |
TIMEOUT |
| Modifier and Type | Method and Description |
|---|---|
static CacheGetResult.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheGetResult.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheGetResult.Type HIT
public static final CacheGetResult.Type MISS
public static final CacheGetResult.Type EXPIRED
public static final CacheGetResult.Type INVALIDATED
public static final CacheGetResult.Type TIMEOUT
public static final CacheGetResult.Type ERROR
public static CacheGetResult.Type[] values()
for (CacheGetResult.Type c : CacheGetResult.Type.values()) System.out.println(c);
public static CacheGetResult.Type 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 © 2019. All rights reserved.