public enum MemcacheStatus extends Enum<MemcacheStatus>
| Enum Constant and Description |
|---|
INVALID_ARGUMENTS |
ITEM_NOT_STORED |
KEY_EXISTS |
KEY_NOT_FOUND |
OK |
VALUE_TOO_LARGE |
| Modifier and Type | Method and Description |
|---|---|
static MemcacheStatus |
fromInt(int status) |
static MemcacheStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MemcacheStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MemcacheStatus OK
public static final MemcacheStatus KEY_NOT_FOUND
public static final MemcacheStatus KEY_EXISTS
public static final MemcacheStatus VALUE_TOO_LARGE
public static final MemcacheStatus INVALID_ARGUMENTS
public static final MemcacheStatus ITEM_NOT_STORED
public static MemcacheStatus[] values()
for (MemcacheStatus c : MemcacheStatus.values()) System.out.println(c);
public static MemcacheStatus 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 nullpublic static MemcacheStatus fromInt(int status) throws IOException
IOExceptionCopyright © 2015 Spotify AB. All Rights Reserved.