Public Member Functions | |
| void | cancel () |
| ByteBuffer | getBuffer () |
| OperationCallback | getCallback () |
| OperationException | getException () |
| OperationState | getState () |
| void | handleRead (ByteBuffer data) |
| boolean | hasErrored () |
| void | initialize () |
| void | readFromBuffer (ByteBuffer data) throws IOException |
| void | writeComplete () |
Package Functions | |
| boolean | isCancelled () |
| void cancel | ( | ) |
Cancel this operation.
| ByteBuffer getBuffer | ( | ) |
Get the write buffer for this operation.
| OperationCallback getCallback | ( | ) |
Get the callback for this get operation.
| OperationException getException | ( | ) |
Get the exception that occurred (or null if no exception occurred).
| OperationState getState | ( | ) |
Get the current state of this operation.
| void handleRead | ( | ByteBuffer | data | ) |
Handle a raw data read.
Implemented in BaseGetOpImpl.
| boolean hasErrored | ( | ) |
True if an error occurred while processing this operation.
| void initialize | ( | ) |
Initialize this operation. This is used to prepare output byte buffers and stuff.
Implemented in BaseGetOpImpl, BaseStoreOperationImpl, CASOperationImpl, DeleteOperationImpl, FlushOperationImpl, MutatorOperationImpl, StatsOperationImpl, VersionOperationImpl, ConcatenationOperationImpl, DeleteOperationImpl, FlushOperationImpl, GetOperationImpl, MultiGetOperationImpl, MutatorOperationImpl, NoopOperationImpl, StoreOperationImpl, and VersionOperationImpl.
| boolean isCancelled | ( | ) | [package] |
Has this operation been cancelled?
| void readFromBuffer | ( | ByteBuffer | data | ) | throws IOException |
Read data from the given byte buffer and dispatch to the appropriate read mechanism.
Implemented in OperationImpl.
| void writeComplete | ( | ) |
Invoked after having written all of the bytes from the supplied output buffer.
1.5.8