public final class CommandMessage extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
CommandMessage.ErrorType |
Modifier and Type | Field and Description |
---|---|
boolean |
addKeyToResponse |
long |
cas_key |
LocalCacheElement |
element |
CommandMessage.ErrorType |
error |
String |
errorString |
int |
incrAmount |
Integer |
incrDefault |
int |
incrExpiry |
List<Key> |
keys |
boolean |
noreply |
Op |
op |
int |
opaque |
int |
time |
Modifier and Type | Method and Description |
---|---|
static CommandMessage |
clientError(String errorString) |
static CommandMessage |
command(Op operation) |
static CommandMessage |
error(String errorString) |
void |
setKey(byte[] key) |
void |
setKeys(Iterable<byte[]> keys) |
public final Op op
public LocalCacheElement element
public boolean noreply
public long cas_key
public int time
public CommandMessage.ErrorType error
public String errorString
public int opaque
public boolean addKeyToResponse
public Integer incrDefault
public int incrExpiry
public int incrAmount
public void setKey(byte[] key)
public void setKeys(Iterable<byte[]> keys)
public static CommandMessage error(String errorString)
public static CommandMessage clientError(String errorString)
public static CommandMessage command(Op operation)
Copyright © GigaSpaces.