com.thimbleware.jmemcached.protocol
Class CommandMessage<CACHE_ELEMENT extends CacheElement>

java.lang.Object
  extended by com.thimbleware.jmemcached.protocol.CommandMessage<CACHE_ELEMENT>
All Implemented Interfaces:
java.io.Serializable

public final class CommandMessage<CACHE_ELEMENT extends CacheElement>
extends java.lang.Object
implements java.io.Serializable

The payload object holding the parsed message.

See Also:
Serialized Form

Field Summary
 boolean addKeyToResponse
           
 long cas_key
           
 CACHE_ELEMENT element
           
 int incrAmount
           
 int incrExpiry
           
 java.util.List<Key> keys
           
 boolean noreply
           
 Op op
           
 int opaque
           
 int time
           
 
Method Summary
static CommandMessage command(Op operation)
           
 void setKey(org.jboss.netty.buffer.ChannelBuffer key)
           
 void setKeys(java.util.List<org.jboss.netty.buffer.ChannelBuffer> keys)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

op

public Op op

element

public CACHE_ELEMENT extends CacheElement element

keys

public java.util.List<Key> keys

noreply

public boolean noreply

cas_key

public long cas_key

time

public int time

opaque

public int opaque

addKeyToResponse

public boolean addKeyToResponse

incrExpiry

public int incrExpiry

incrAmount

public int incrAmount
Method Detail

setKey

public void setKey(org.jboss.netty.buffer.ChannelBuffer key)

setKeys

public void setKeys(java.util.List<org.jboss.netty.buffer.ChannelBuffer> keys)

command

public static CommandMessage command(Op operation)


Copyright © 2008-2011 ThimbleWare. All Rights Reserved.