public enum Op extends Enum<Op>
Enum Constant and Description |
---|
ADD |
APPEND |
CAS |
DECR |
DELETE |
FLUSH_ALL |
GET |
GETS |
INCR |
PREPEND |
QUIT |
REPLACE |
SET |
STATS |
VERBOSITY |
VERSION |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final Op GET
public static final Op GETS
public static final Op APPEND
public static final Op PREPEND
public static final Op DELETE
public static final Op DECR
public static final Op INCR
public static final Op REPLACE
public static final Op ADD
public static final Op SET
public static final Op CAS
public static final Op STATS
public static final Op VERSION
public static final Op QUIT
public static final Op FLUSH_ALL
public static final Op VERBOSITY
public static Op[] values()
for (Op c : Op.values()) System.out.println(c);
public static Op 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 static Op findOp(byte[] cmd)
Copyright © GigaSpaces.