StoreOperationImpl Class Reference

Inherits net::spy::memcached::protocol::binary::OperationImpl, net::spy::memcached::ops::StoreOperation, net::spy::memcached::ops::CASOperation, and net::spy::memcached::ops::ConcatenationOperation.

Collaboration diagram for StoreOperationImpl:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void initialize ()
 StoreOperationImpl (StoreType t, String k, int f, int e, byte[] d, long c, OperationCallback cb)

Protected Member Functions

OperationStatus getStatusForErrorCode (int errCode, byte[] errPl)

Static Private Member Functions

static int cmdMap (StoreType t)

Private Attributes

final long cas
final byte[] data
final int exp
final int flags
final String key

Static Private Attributes

static final int ADD = 2
static final int REPLACE = 3
static final int SET = 1


Constructor & Destructor Documentation

StoreOperationImpl ( StoreType  t,
String  k,
int  f,
int  e,
byte[]  d,
long  c,
OperationCallback  cb 
)


Member Function Documentation

static int cmdMap ( StoreType  t  )  [static, private]

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 int ADD = 2 [static, private]

final long cas [private]

final byte [] data [private]

final int exp [private]

final int flags [private]

final String key [private]

final int REPLACE = 3 [static, private]

final int SET = 1 [static, 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