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, hasFlag, setFlags
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
isConditional, isSuccessful
getFlags, hasFlag, setFlags
getKey
acceptVisitor, ignoreCommandOnStatus, shouldInvoke
getCommandId, getParameters, perform, setParameters
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 © 2012 JBoss by Red Hat. All Rights Reserved.