Package net.spy.memcached.protocol.ascii
Class StoreOperationImpl
- 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.StoreOperationImpl
-
- All Implemented Interfaces:
KeyedOperation
,Operation
,StoreOperation
final class StoreOperationImpl extends BaseStoreOperationImpl implements StoreOperation
Operation to store data in a memcached server.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.spy.memcached.ops.StoreOperation
StoreOperation.Callback
-
-
Field Summary
Fields Modifier and Type Field Description private StoreType
storeType
-
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 StoreOperationImpl(StoreType t, java.lang.String k, int f, int e, byte[] d, OperationCallback cb)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StoreType
getStoreType()
Get the store type used by 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.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
-
Methods inherited from interface net.spy.memcached.ops.StoreOperation
getData, getExpiration, getFlags
-
-
-
-
Field Detail
-
storeType
private final StoreType storeType
-
-
Constructor Detail
-
StoreOperationImpl
public StoreOperationImpl(StoreType t, java.lang.String k, int f, int e, byte[] d, OperationCallback cb)
-
-
Method Detail
-
getStoreType
public StoreType getStoreType()
Description copied from interface:StoreOperation
Get the store type used by this operation.- Specified by:
getStoreType
in interfaceStoreOperation
-
-