public static enum MemcachedBinaryResponseEncoder.ResponseCode extends Enum<MemcachedBinaryResponseEncoder.ResponseCode>
Enum Constant and Description |
---|
INVARG |
KEYEXISTS |
KEYNF |
NOT_STORED |
OK |
OOM |
TOOLARGE |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
short |
getCode() |
static MemcachedBinaryResponseEncoder.ResponseCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MemcachedBinaryResponseEncoder.ResponseCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MemcachedBinaryResponseEncoder.ResponseCode OK
public static final MemcachedBinaryResponseEncoder.ResponseCode KEYNF
public static final MemcachedBinaryResponseEncoder.ResponseCode KEYEXISTS
public static final MemcachedBinaryResponseEncoder.ResponseCode TOOLARGE
public static final MemcachedBinaryResponseEncoder.ResponseCode INVARG
public static final MemcachedBinaryResponseEncoder.ResponseCode NOT_STORED
public static final MemcachedBinaryResponseEncoder.ResponseCode UNKNOWN
public static final MemcachedBinaryResponseEncoder.ResponseCode OOM
public static MemcachedBinaryResponseEncoder.ResponseCode[] values()
for (MemcachedBinaryResponseEncoder.ResponseCode c : MemcachedBinaryResponseEncoder.ResponseCode.values()) System.out.println(c);
public static MemcachedBinaryResponseEncoder.ResponseCode 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 short getCode()
Copyright © GigaSpaces.