ConcatenationOperationImpl Class Reference

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

Collaboration diagram for ConcatenationOperationImpl:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ConcatenationOperationImpl (ConcatenationType t, String k, byte[] d, long c, OperationCallback cb)
void initialize ()

Protected Member Functions

OperationStatus getStatusForErrorCode (int errCode, byte[] errPl)

Static Private Member Functions

static int cmdMap (ConcatenationType t)

Private Attributes

final long cas
final byte[] data
final String key

Static Private Attributes

static final int APPEND = 0x0e
static final int PREPEND = 0x0f


Constructor & Destructor Documentation

ConcatenationOperationImpl ( ConcatenationType  t,
String  k,
byte[]  d,
long  c,
OperationCallback  cb 
)


Member Function Documentation

static int cmdMap ( ConcatenationType  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 APPEND = 0x0e [static, private]

final long cas [private]

final byte [] data [private]

final String key [private]

final int PREPEND = 0x0f [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