org.openspaces.memcached.protocol
Class CommandMessage
java.lang.Object
org.openspaces.memcached.protocol.CommandMessage
- All Implemented Interfaces:
- Serializable
public final class CommandMessage
- extends Object
- implements Serializable
The payload object holding the parsed message.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
op
public final Op op
element
public LocalCacheElement element
keys
public List<Key> keys
noreply
public boolean noreply
cas_key
public long cas_key
time
public int time
error
public CommandMessage.ErrorType error
errorString
public String errorString
opaque
public int opaque
addKeyToResponse
public boolean addKeyToResponse
incrDefault
public Integer incrDefault
incrExpiry
public int incrExpiry
incrAmount
public int incrAmount
setKey
public void setKey(byte[] key)
setKeys
public void setKeys(Iterable<byte[]> keys)
error
public static CommandMessage error(String errorString)
clientError
public static CommandMessage clientError(String errorString)
command
public static CommandMessage command(Op operation)
Copyright © GigaSpaces.