public abstract class AbstractDataCommand extends Object implements DataCommand
DataCommands.| Modifier and Type | Field and Description |
|---|---|
protected DataContainer |
dataContainer |
protected Fqn |
fqn |
| Constructor and Description |
|---|
AbstractDataCommand() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Fqn |
getFqn()
Returns the Fqn of the node on which this command operates.
|
Object[] |
getParameters()
Basic versions of these methods
|
int |
hashCode() |
void |
initialize(DataContainer dataContainer) |
void |
setParameters(int commandId,
Object[] args)
Basic versions of these methods
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitacceptVisitorgetCommandId, performprotected Fqn fqn
protected DataContainer dataContainer
public void initialize(DataContainer dataContainer)
public Fqn getFqn()
DataCommandgetFqn in interface DataCommandpublic Object[] getParameters()
getParameters in interface ReplicableCommandpublic void setParameters(int commandId,
Object[] args)
setParameters in interface ReplicableCommandcommandId - command id to set. This is usually unused but *could* be used in the event of a command having multiple IDs, such as PutKeyValueCommand.args - object array of argsCopyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.