public enum CacheResultCode extends Enum<CacheResultCode>
| Enum Constant and Description |
|---|
EXISTS |
EXPIRED |
FAIL |
NOT_EXISTS |
PART_SUCCESS |
SUCCESS |
| Modifier and Type | Method and Description |
|---|---|
static CacheResultCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheResultCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheResultCode SUCCESS
public static final CacheResultCode PART_SUCCESS
public static final CacheResultCode FAIL
public static final CacheResultCode NOT_EXISTS
public static final CacheResultCode EXISTS
public static final CacheResultCode EXPIRED
public static CacheResultCode[] values()
for (CacheResultCode c : CacheResultCode.values()) System.out.println(c);
public static CacheResultCode 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 © 2013–2022. All rights reserved.