org.openspaces.memcached.protocol.binary
Enum MemcachedBinaryResponseEncoder.ResponseCode
java.lang.Object
java.lang.Enum<MemcachedBinaryResponseEncoder.ResponseCode>
org.openspaces.memcached.protocol.binary.MemcachedBinaryResponseEncoder.ResponseCode
- All Implemented Interfaces:
- Serializable, Comparable<MemcachedBinaryResponseEncoder.ResponseCode>
- Enclosing class:
- MemcachedBinaryResponseEncoder
public static enum MemcachedBinaryResponseEncoder.ResponseCode
- extends Enum<MemcachedBinaryResponseEncoder.ResponseCode>
OK
public static final MemcachedBinaryResponseEncoder.ResponseCode OK
KEYNF
public static final MemcachedBinaryResponseEncoder.ResponseCode KEYNF
KEYEXISTS
public static final MemcachedBinaryResponseEncoder.ResponseCode KEYEXISTS
TOOLARGE
public static final MemcachedBinaryResponseEncoder.ResponseCode TOOLARGE
INVARG
public static final MemcachedBinaryResponseEncoder.ResponseCode INVARG
NOT_STORED
public static final MemcachedBinaryResponseEncoder.ResponseCode NOT_STORED
UNKNOWN
public static final MemcachedBinaryResponseEncoder.ResponseCode UNKNOWN
OOM
public static final MemcachedBinaryResponseEncoder.ResponseCode OOM
code
public short code
values
public static MemcachedBinaryResponseEncoder.ResponseCode[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (MemcachedBinaryResponseEncoder.ResponseCode c : MemcachedBinaryResponseEncoder.ResponseCode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static MemcachedBinaryResponseEncoder.ResponseCode valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Copyright © GigaSpaces.