GigaSpaces XAP 10.0.1 API

org.openspaces.memcached.protocol
Enum Op

java.lang.Object
  extended by java.lang.Enum<Op>
      extended by org.openspaces.memcached.protocol.Op
All Implemented Interfaces:
Serializable, Comparable<Op>

public enum Op
extends Enum<Op>


Enum Constant Summary
ADD
           
APPEND
           
CAS
           
DECR
           
DELETE
           
FLUSH_ALL
           
GET
           
GETS
           
INCR
           
PREPEND
           
QUIT
           
REPLACE
           
SET
           
STATS
           
VERBOSITY
           
VERSION
           
 
Method Summary
static Op findOp(byte[] cmd)
           
static Op valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Op[] 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

GET

public static final Op GET

GETS

public static final Op GETS

APPEND

public static final Op APPEND

PREPEND

public static final Op PREPEND

DELETE

public static final Op DELETE

DECR

public static final Op DECR

INCR

public static final Op INCR

REPLACE

public static final Op REPLACE

ADD

public static final Op ADD

SET

public static final Op SET

CAS

public static final Op CAS

STATS

public static final Op STATS

VERSION

public static final Op VERSION

QUIT

public static final Op QUIT

FLUSH_ALL

public static final Op FLUSH_ALL

VERBOSITY

public static final Op VERBOSITY
Method Detail

values

public static Op[] 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 (Op c : Op.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Op 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

findOp

public static Op findOp(byte[] cmd)

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.