Package net.spy.memcached.protocol.ascii
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
public class GetAndTouchOperationImpl extends BaseGetOpImpl implements GetAndTouchOperation
Implementation of the get and touch operation.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.spy.memcached.ops.GetAndTouchOperation
GetAndTouchOperation.Callback
-
-
Field Summary
-
Fields inherited from class net.spy.memcached.protocol.ascii.BaseGetOpImpl
exp
-
Fields inherited from class net.spy.memcached.protocol.ascii.OperationImpl
CRLF
-
Fields inherited from class net.spy.memcached.protocol.BaseOperationImpl
callback, CANCELLED, notMyVbucketNodes, TIMED_OUT
-
-
Constructor Summary
Constructors Constructor Description GetAndTouchOperationImpl(java.lang.String c, int e, GetAndTouchOperation.Callback cb, java.lang.String k)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getExpiration()
Get the expiration to set in case of a new entry.-
Methods inherited from class net.spy.memcached.protocol.ascii.BaseGetOpImpl
afterKeyBytes, afterKeyBytesSize, getKeys, handleLine, handleRead, initialize, toString, wasCancelled
-
Methods inherited from class net.spy.memcached.protocol.ascii.OperationImpl
classifyError, getErrorMsg, getReadType, matchStatus, readFromBuffer, setArguments, setReadType
-
Methods inherited from class net.spy.memcached.protocol.BaseOperationImpl
addClone, cancel, getBuffer, getCallback, getCloneCount, getException, getHandlingNode, getState, getWriteCompleteTimestamp, handleError, hasErrored, isCancelled, isTimedOut, isTimedOut, isTimedOutUnsent, setBuffer, setCallback, setCloneCount, setHandlingNode, timeOut, transitionState, writeComplete, writing
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.spy.memcached.ops.KeyedOperation
getKeys
-
Methods inherited from interface net.spy.memcached.ops.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 Detail
-
GetAndTouchOperationImpl
public GetAndTouchOperationImpl(java.lang.String c, int e, GetAndTouchOperation.Callback cb, java.lang.String k)
-
-
Method Detail
-
getExpiration
public int getExpiration()
Description copied from interface:GetAndTouchOperation
Get the expiration to set in case of a new entry.- Specified by:
getExpiration
in interfaceGetAndTouchOperation
-
-