com.thimbleware.jmemcached.protocol.binary
Enum MemcachedBinaryResponseEncoder.ResponseCode
java.lang.Object
java.lang.Enum<MemcachedBinaryResponseEncoder.ResponseCode>
com.thimbleware.jmemcached.protocol.binary.MemcachedBinaryResponseEncoder.ResponseCode
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<MemcachedBinaryResponseEncoder.ResponseCode>
- Enclosing class:
- MemcachedBinaryResponseEncoder<CACHE_ELEMENT extends CacheElement>
public static enum MemcachedBinaryResponseEncoder.ResponseCode
- extends java.lang.Enum<MemcachedBinaryResponseEncoder.ResponseCode>
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
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(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
Copyright © 2008-2011 ThimbleWare. All Rights Reserved.