Package net.spy.memcached.protocol.ascii
Class GetlOperationImpl
- 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.GetlOperationImpl
-
- All Implemented Interfaces:
GetlOperation
,KeyedOperation
,Operation
class GetlOperationImpl extends BaseGetOpImpl implements GetlOperation
Implementation of the getl operation.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.spy.memcached.ops.GetlOperation
GetlOperation.Callback
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
CMD
private int
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 GetlOperationImpl(java.lang.String key, int exp, GetlOperation.Callback c)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getExpiration()
-
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
-
-
-
-
Field Detail
-
CMD
private static final java.lang.String CMD
- See Also:
- Constant Field Values
-
exp
private final int exp
-
-
Constructor Detail
-
GetlOperationImpl
public GetlOperationImpl(java.lang.String key, int exp, GetlOperation.Callback c)
-
-
Method Detail
-
getExpiration
public int getExpiration()
- Specified by:
getExpiration
in interfaceGetlOperation
-
-