Class GetAndTouchOperationImpl
java.lang.Object
net.spy.memcached.compat.SpyObject
net.spy.memcached.protocol.BaseOperationImpl
net.spy.memcached.protocol.ascii.OperationImpl
net.spy.memcached.protocol.ascii.BaseGetOpImpl
net.spy.memcached.protocol.ascii.GetAndTouchOperationImpl
- All Implemented Interfaces:
GetAndTouchOperation, KeyedOperation, Operation
Implementation of the get and touch operation.
-
Nested Class Summary
Nested classes/interfaces inherited from interface GetAndTouchOperation
GetAndTouchOperation.Callback -
Field Summary
Fields inherited from class BaseGetOpImpl
expFields inherited from class OperationImpl
CRLFFields inherited from class BaseOperationImpl
callback, CANCELLED, notMyVbucketNodes, TIMED_OUT -
Constructor Summary
ConstructorsConstructorDescriptionGetAndTouchOperationImpl(String c, int e, GetAndTouchOperation.Callback cb, String k) -
Method Summary
Modifier and TypeMethodDescriptionintGet the expiration to set in case of a new entry.Methods inherited from class BaseGetOpImpl
afterKeyBytes, afterKeyBytesSize, getKeys, handleLine, handleRead, initialize, toString, wasCancelledMethods inherited from class OperationImpl
classifyError, getErrorMsg, getReadType, matchStatus, readFromBuffer, setArguments, setReadTypeMethods inherited from class BaseOperationImpl
addClone, cancel, getBuffer, getCallback, getCloneCount, getException, getHandlingNode, getState, getWriteCompleteTimestamp, handleError, hasErrored, isCancelled, isTimedOut, isTimedOut, isTimedOutUnsent, setBuffer, setCallback, setCloneCount, setHandlingNode, timeOut, transitionState, writeComplete, writingMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface KeyedOperation
getKeysMethods inherited from interface Operation
addClone, cancel, getBuffer, getCallback, getCloneCount, getErrorMsg, getException, getHandlingNode, getState, getWriteCompleteTimestamp, handleRead, hasErrored, initialize, isCancelled, isTimedOut, isTimedOut, isTimedOutUnsent, readFromBuffer, setCloneCount, setHandlingNode, timeOut, writeComplete, writing
-
Constructor Details
-
GetAndTouchOperationImpl
-
-
Method Details
-
getExpiration
public int getExpiration()Description copied from interface:GetAndTouchOperationGet the expiration to set in case of a new entry.- Specified by:
getExpirationin interfaceGetAndTouchOperation
-