GigaSpaces XAP 10.0.1 API

org.openspaces.memcached.protocol.binary
Enum MemcachedBinaryResponseEncoder.ResponseCode

java.lang.Object
  extended by java.lang.Enum<MemcachedBinaryResponseEncoder.ResponseCode>
      extended by 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>


Enum Constant Summary
INVARG
           
KEYEXISTS
           
KEYNF
           
NOT_STORED
           
OK
           
OOM
           
TOOLARGE
           
UNKNOWN
           
 
Field Summary
 short code
           
 
Method Summary
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.
 
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
 

Enum Constant Detail

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
Field Detail

code

public short code
Method Detail

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

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.