
Public Member Functions | |
| CASOperationImpl (String k, long c, int f, byte[] d, OperationCallback cb) | |
| void | handleLine (String line) |
| void | initialize () |
Protected Member Functions | |
| void | wasCancelled () |
Private Attributes | |
| final long | casValue |
| final byte[] | data |
| final int | flags |
| final String | key |
Static Private Attributes | |
| static final OperationStatus | EXISTS |
| static final OperationStatus | NOT_FOUND |
| static final int | OVERHEAD = 32 |
| static final OperationStatus | STORED |
| CASOperationImpl | ( | String | k, | |
| long | c, | |||
| int | f, | |||
| byte[] | d, | |||
| OperationCallback | cb | |||
| ) |
| void handleLine | ( | String | line | ) | [virtual] |
Implements OperationImpl.
| void initialize | ( | ) |
Initialize this operation. This is used to prepare output byte buffers and stuff.
Implements Operation.
| void wasCancelled | ( | ) | [protected] |
This is called on each subclass whenever an operation was cancelled.
Reimplemented from BaseOperationImpl.
final long casValue [private] |
final byte [] data [private] |
final OperationStatus EXISTS [static, private] |
Initial value:
new CASOperationStatus(false, "EXISTS", CASResponse.EXISTS)
final int flags [private] |
final OperationStatus NOT_FOUND [static, private] |
Initial value:
new CASOperationStatus(false, "NOT_FOUND", CASResponse.NOT_FOUND)
final int OVERHEAD = 32 [static, private] |
final OperationStatus STORED [static, private] |
Initial value:
new CASOperationStatus(true, "STORED", CASResponse.OK)
1.5.8