public abstract class AbstractWriteKeyCommand<K,V> extends AbstractDataWriteCommand implements ParamsCommand
commandInvocationIdkeyflags| Constructor and Description |
|---|
AbstractWriteKeyCommand() |
AbstractWriteKeyCommand(K key,
ValueMatcher valueMatcher,
CommandInvocationId id,
Params params) |
| Modifier and Type | Method and Description |
|---|---|
Params |
getParams() |
ValueMatcher |
getValueMatcher() |
boolean |
isSuccessful()
Some commands may want to provide information on whether the command was successful or not.
|
void |
setValueMatcher(ValueMatcher valueMatcher) |
canBlock, getAffectedKeys, getKeyLockOwner, getKeysToLock, hasSkipLocking, hasZeroLockAcquisition, isReturnValueExpectedequals, getKey, hashCode, ignoreCommandOnStatus, setKey, shouldInvoke, toStringgetMetadata, getTopologyId, setMetadata, setTopologyIdgetFlags, setFlagsclone, finalize, getClass, notify, notifyAll, wait, wait, waitisConditional, isWriteOnly, updateStatusFromRemoteResponseacceptVisitor, alwaysReadsExistingValues, ignoreCommandOnStatus, readsExistingValues, shouldInvokegetTopologyId, setTopologyIdgetCommandId, getParameters, perform, readFrom, setParameters, writeTogetMetadata, setMetadataaddFlag, addFlags, getFlags, hasFlag, setFlags, setFlagsgetKeypublic AbstractWriteKeyCommand(K key, ValueMatcher valueMatcher, CommandInvocationId id, Params params)
public AbstractWriteKeyCommand()
public ValueMatcher getValueMatcher()
getValueMatcher in interface WriteCommandpublic void setValueMatcher(ValueMatcher valueMatcher)
setValueMatcher in interface WriteCommandvalueMatcher - The new value matching policy.public boolean isSuccessful()
WriteCommandisSuccessful in interface WriteCommandpublic Params getParams()
getParams in interface ParamsCommandCopyright © 2025 JBoss, a division of Red Hat. All rights reserved.