public abstract class AbstractDataWriteCommand extends AbstractDataCommand implements DataWriteCommand
keyflags| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDataWriteCommand() |
protected |
AbstractDataWriteCommand(Object key,
Set<Flag> flags) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBlock()
If true, the command is processed asynchronously in a thread provided by an Infinispan thread pool.
|
Set<Object> |
getAffectedKeys() |
boolean |
isReturnValueExpected()
If true, a return value will be provided when performed remotely.
|
equals, getKey, getParameters, hashCode, ignoreCommandOnStatus, setKey, setParameters, shouldInvoke, toStringgetMetadata, getTopologyId, setMetadata, setTopologyIdgetFlags, hasFlag, setFlags, setFlagsclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetValueMatcher, isConditional, isSuccessful, setValueMatcher, updateStatusFromRemoteResponseacceptVisitor, ignoreCommandOnStatus, shouldInvokegetTopologyId, setTopologyIdgetCommandId, getParameters, perform, setParametersgetMetadata, setMetadatagetFlags, hasFlag, setFlags, setFlagsgetKeypublic Set<Object> getAffectedKeys()
getAffectedKeys in interface WriteCommandpublic boolean isReturnValueExpected()
ReplicableCommandResponseGenerator
may choose to simply return null to save on marshalling costs.isReturnValueExpected in interface ReplicableCommandisReturnValueExpected in class AbstractDataCommandpublic boolean canBlock()
ReplicableCommandcanBlock in interface ReplicableCommandcanBlock in class AbstractDataCommandtrue if the command can block/wait, false otherwiseCopyright © 2016 JBoss, a division of Red Hat. All rights reserved.