Package net.spy.memcached.protocol.ascii
Class ConcatenationOperationImpl
- java.lang.Object
-
- net.spy.memcached.compat.SpyObject
-
- net.spy.memcached.protocol.BaseOperationImpl
-
- net.spy.memcached.protocol.ascii.OperationImpl
-
- net.spy.memcached.protocol.ascii.BaseStoreOperationImpl
-
- net.spy.memcached.protocol.ascii.ConcatenationOperationImpl
-
- All Implemented Interfaces:
ConcatenationOperation
,KeyedOperation
,Operation
public class ConcatenationOperationImpl extends BaseStoreOperationImpl implements ConcatenationOperation
Operation for ascii concatenations.
-
-
Field Summary
Fields Modifier and Type Field Description private ConcatenationType
concatType
-
Fields inherited from class net.spy.memcached.protocol.ascii.BaseStoreOperationImpl
data, exp, flags, key, type
-
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 ConcatenationOperationImpl(ConcatenationType t, java.lang.String k, byte[] d, OperationCallback cb)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getCasValue()
Get the CAS value sent with this operation.ConcatenationType
getStoreType()
Get the concatenation type for this operation.-
Methods inherited from class net.spy.memcached.protocol.ascii.BaseStoreOperationImpl
getData, getExpiration, getFlags, getKeys, handleLine, 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, handleRead, 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.ConcatenationOperation
getData
-
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
-
concatType
private final ConcatenationType concatType
-
-
Constructor Detail
-
ConcatenationOperationImpl
public ConcatenationOperationImpl(ConcatenationType t, java.lang.String k, byte[] d, OperationCallback cb)
-
-
Method Detail
-
getCasValue
public long getCasValue()
Description copied from interface:ConcatenationOperation
Get the CAS value sent with this operation.- Specified by:
getCasValue
in interfaceConcatenationOperation
-
getStoreType
public ConcatenationType getStoreType()
Description copied from interface:ConcatenationOperation
Get the concatenation type for this operation.- Specified by:
getStoreType
in interfaceConcatenationOperation
-
-