GigaSpaces XAP 10.0.1 API

org.openspaces.memcached.protocol
Class CommandMessage

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

Nested Class Summary
static class CommandMessage.ErrorType
           
 
Field Summary
 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
           
 
Method Summary
static CommandMessage clientError(String errorString)
           
static CommandMessage command(Op operation)
           
static CommandMessage error(String errorString)
           
 void setKey(byte[] key)
           
 void setKeys(Iterable<byte[]> keys)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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

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)

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.