Inherited by GetOperationImpl, and GetsOperationImpl.

Public Member Functions | |
| BaseGetOpImpl (String c, OperationCallback cb, Collection< String > k) | |
| final Collection< String > | getKeys () |
| final void | handleLine (String line) |
| final void | handleRead (ByteBuffer b) |
| final void | initialize () |
Protected Member Functions | |
| final void | wasCancelled () |
Private Attributes | |
| long | casValue = 0 |
| final String | cmd |
| int | currentFlags = 0 |
| String | currentKey = null |
| byte[] | data = null |
| final Collection< String > | keys |
| byte | lookingFor = '\0' |
| int | readOffset = 0 |
Static Private Attributes | |
| static final OperationStatus | END = new OperationStatus(true, "END") |
| BaseGetOpImpl | ( | String | c, | |
| OperationCallback | cb, | |||
| Collection< String > | k | |||
| ) |
| final Collection<String> getKeys | ( | ) |
Get the keys this GetOperation is looking for.
| final void handleLine | ( | String | line | ) | [virtual] |
Implements OperationImpl.
| final void handleRead | ( | ByteBuffer | data | ) |
Handle a raw data read.
Implements Operation.
| final void initialize | ( | ) |
Initialize this operation. This is used to prepare output byte buffers and stuff.
Implements Operation.
| final void wasCancelled | ( | ) | [protected] |
This is called on each subclass whenever an operation was cancelled.
Reimplemented from BaseOperationImpl.
long casValue = 0 [private] |
Reimplemented from BaseOperationImpl.
int currentFlags = 0 [private] |
String currentKey = null [private] |
final OperationStatus END = new OperationStatus(true, "END") [static, private] |
byte lookingFor = '\0' [private] |
int readOffset = 0 [private] |
1.5.8