public class GetAndTouchOperationImpl extends OperationImpl implements GetAndTouchOperation
GetAndTouchOperation.CallbackCANCELLED, TIMED_OUT| Constructor and Description |
|---|
GetAndTouchOperationImpl(java.lang.String k,
int e,
GetAndTouchOperation.Callback cb) |
| Modifier and Type | Method and Description |
|---|---|
void |
addNotMyVbucketNode(MemcachedNode node) |
int |
getExpiration()
Get the expiration to set in case of a new entry.
|
java.util.Collection<java.lang.String> |
getKeys()
Get the keys requested in this GetOperation.
|
java.util.Collection<MemcachedNode> |
getNotMyVbucketNodes() |
short |
getVBucket(java.lang.String k) |
void |
initialize()
Initialize this operation.
|
void |
setNotMyVbucketNodes(java.util.Collection<MemcachedNode> nodes) |
void |
setVBucket(java.lang.String k,
short vb) |
java.lang.String |
toString() |
getErrorMsg, readFromBufferaddClone, cancel, getBuffer, getCallback, getCloneCount, getException, getHandlingNode, getState, getWriteCompleteTimestamp, handleRead, hasErrored, isCancelled, isTimedOut, isTimedOut, isTimedOutUnsent, setCloneCount, setHandlingNode, timeOut, writeComplete, writingequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetKeysaddClone, cancel, getBuffer, getCallback, getCloneCount, getErrorMsg, getException, getHandlingNode, getState, getWriteCompleteTimestamp, handleRead, hasErrored, isCancelled, isTimedOut, isTimedOut, isTimedOutUnsent, readFromBuffer, setCloneCount, setHandlingNode, timeOut, writeComplete, writingpublic GetAndTouchOperationImpl(java.lang.String k,
int e,
GetAndTouchOperation.Callback cb)
public void initialize()
Operationinitialize in interface Operationinitialize in class BaseOperationImplpublic java.lang.String toString()
public int getExpiration()
GetAndTouchOperationgetExpiration in interface GetAndTouchOperationpublic java.util.Collection<java.lang.String> getKeys()
KeyedOperationgetKeys in interface KeyedOperationpublic java.util.Collection<MemcachedNode> getNotMyVbucketNodes()
getNotMyVbucketNodes in interface VBucketAwarepublic void addNotMyVbucketNode(MemcachedNode node)
addNotMyVbucketNode in interface VBucketAwarepublic void setNotMyVbucketNodes(java.util.Collection<MemcachedNode> nodes)
setNotMyVbucketNodes in interface VBucketAwarepublic void setVBucket(java.lang.String k,
short vb)
setVBucket in interface VBucketAwarepublic short getVBucket(java.lang.String k)
getVBucket in interface VBucketAware