public enum MemcacheStatus extends Enum<MemcacheStatus>
| 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 final MemcacheStatus INCR_DECR_ON_NON_NUMERIC_VALUE
public static final MemcacheStatus THE_VBUCKET_BELONGS_TO_ANOTHER_SERVER
public static final MemcacheStatus AUTHENTICATION_ERROR
public static final MemcacheStatus AUTHENTICATION_CONTINUE
public static final MemcacheStatus UNKNOWN_COMMAND
public static final MemcacheStatus OUT_OF_MEMORY
public static final MemcacheStatus NOT_SUPPORTED
public static final MemcacheStatus INTERNAL_ERROR
public static final MemcacheStatus BUSY
public static final MemcacheStatus TEMPORARY_FAILURE
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 © 2017 Spotify AB. All rights reserved.