public class GetAndTouchOperationImpl extends BaseOperationImpl implements GetAndTouchOperation
GetAndTouchOperation.CallbackCANCELLED, TIMED_OUT| Constructor and Description |
|---|
GetAndTouchOperationImpl(java.lang.String c,
int e,
GetAndTouchOperation.Callback cb,
java.lang.String k) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getErrorMsg()
Returns the raw bytes of the error message content.
|
int |
getExpiration()
Get the expiration to set in case of a new entry.
|
java.util.Collection<java.lang.String> |
getKeys()
Get the keys this GetOperation is looking for.
|
void |
handleLine(java.lang.String line) |
void |
handleRead(java.nio.ByteBuffer b)
Handle a raw data read.
|
void |
initialize()
Initialize this operation.
|
void |
readFromBuffer(java.nio.ByteBuffer data)
Read data from the given byte buffer and dispatch to the appropriate read
mechanism.
|
java.lang.String |
toString() |
addClone, cancel, getBuffer, getCallback, getCloneCount, getException, getHandlingNode, getState, getWriteCompleteTimestamp, hasErrored, isCancelled, isTimedOut, isTimedOut, isTimedOutUnsent, setCloneCount, setHandlingNode, timeOut, writeComplete, writingequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetKeysaddClone, cancel, getBuffer, getCallback, getCloneCount, getErrorMsg, getException, getHandlingNode, getState, getWriteCompleteTimestamp, handleRead, hasErrored, initialize, isCancelled, isTimedOut, isTimedOut, isTimedOutUnsent, readFromBuffer, setCloneCount, setHandlingNode, timeOut, writeComplete, writingpublic GetAndTouchOperationImpl(java.lang.String c,
int e,
GetAndTouchOperation.Callback cb,
java.lang.String k)
public int getExpiration()
GetAndTouchOperationgetExpiration in interface GetAndTouchOperationpublic final java.util.Collection<java.lang.String> getKeys()
public final void handleLine(java.lang.String line)
public final void handleRead(java.nio.ByteBuffer b)
OperationhandleRead in interface OperationhandleRead in class BaseOperationImplpublic final void initialize()
Operationinitialize in interface Operationinitialize in class BaseOperationImplpublic java.lang.String toString()
toString in class java.lang.Objectpublic void readFromBuffer(java.nio.ByteBuffer data)
throws java.io.IOException
OperationreadFromBuffer in interface OperationreadFromBuffer in class BaseOperationImpljava.io.IOExceptionpublic byte[] getErrorMsg()
OperationgetErrorMsg in interface Operation