public abstract class AbstractDataWriteCommand extends AbstractDataCommand implements DataWriteCommand
key
flags
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, toString
getMetadata, getTopologyId, setMetadata, setTopologyId
getFlags, hasFlag, setFlags, setFlags
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getValueMatcher, isConditional, isSuccessful, setValueMatcher, updateStatusFromRemoteResponse
acceptVisitor, ignoreCommandOnStatus, shouldInvoke
getTopologyId, setTopologyId
getCommandId, getParameters, perform, setParameters
getMetadata, setMetadata
getFlags, hasFlag, setFlags, setFlags
getKey
public Set<Object> getAffectedKeys()
getAffectedKeys
in interface WriteCommand
public boolean isReturnValueExpected()
ReplicableCommand
ResponseGenerator
may choose to simply return null to save on marshalling costs.isReturnValueExpected
in interface ReplicableCommand
isReturnValueExpected
in class AbstractDataCommand
public boolean canBlock()
ReplicableCommand
canBlock
in interface ReplicableCommand
canBlock
in class AbstractDataCommand
true
if the command can block/wait, false
otherwiseCopyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.