Package net.spy.memcached.protocol.ascii
Class OptimizedGetImpl
- java.lang.Object
-
- All Implemented Interfaces:
GetOperation
,KeyedOperation
,Operation
final class OptimizedGetImpl extends GetOperationImpl
Optimized Get operation for folding a bunch of gets together.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.spy.memcached.ops.GetOperation
GetOperation.Callback
-
-
Field Summary
Fields Modifier and Type Field Description private ProxyCallback
pcb
-
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 OptimizedGetImpl(GetOperation firstGet)
Construct an optimized get starting with the given get operation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addOperation(GetOperation o)
Add a new GetOperation to get.-
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
-
pcb
private final ProxyCallback pcb
-
-
Constructor Detail
-
OptimizedGetImpl
public OptimizedGetImpl(GetOperation firstGet)
Construct an optimized get starting with the given get operation.
-
-
Method Detail
-
addOperation
public void addOperation(GetOperation o)
Add a new GetOperation to get.
-
-