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 |
---|---|
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
getFlags, getTopologyId, hasFlag, setFlags, setFlags, setTopologyId
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
isConditional, isIgnorePreviousValue, isSuccessful, setIgnorePreviousValue
getFlags, hasFlag, setFlags, setFlags
acceptVisitor, ignoreCommandOnStatus, shouldInvoke
getTopologyId, setTopologyId
getCommandId, getParameters, perform, setParameters
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
Copyright © 2017 JBoss, a division of Red Hat. All Rights Reserved.