MutatorOperationImpl Class Reference

Inherits net::spy::memcached::protocol::binary::OperationImpl, and net::spy::memcached::ops::MutatatorOperation.

Collaboration diagram for MutatorOperationImpl:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void initialize ()
 MutatorOperationImpl (Mutator m, String k, long b, long d, int e, OperationCallback cb)

Protected Member Functions

void decodePayload (byte[] pl)
OperationStatus getStatusForErrorCode (int errCode, byte[] errPl)

Private Attributes

final long by
final long def
final int exp
final String key

Static Private Attributes

static final int CMD_DECR = 6
static final int CMD_INCR = 5


Constructor & Destructor Documentation

MutatorOperationImpl ( Mutator  m,
String  k,
long  b,
long  d,
int  e,
OperationCallback  cb 
)


Member Function Documentation

void decodePayload ( byte[]  pl  )  [protected]

Decode the given payload for this command.

Parameters:
pl the payload.

Reimplemented from OperationImpl.

OperationStatus getStatusForErrorCode ( int  errCode,
byte[]  errPl 
) [protected]

Get the OperationStatus object for the given error code.

Parameters:
errCode the error code
Returns:
the status to return, or null if this is an exceptional case

Reimplemented from OperationImpl.

void initialize (  ) 

Initialize this operation. This is used to prepare output byte buffers and stuff.

Implements Operation.


Member Data Documentation

final long by [private]

final int CMD_DECR = 6 [static, private]

final int CMD_INCR = 5 [static, private]

final long def [private]

final int exp [private]

final String key [private]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:38 2012 for Project Wonder by  doxygen 1.5.8