@Deprecated public class CreateNodeCommand extends AbstractDataCommand implements WriteCommand, ReversibleCommand
| Modifier and Type | Field and Description |
|---|---|
static int |
METHOD_ID
Deprecated.
|
protected List<Fqn> |
newlyCreated
Deprecated.
|
dataContainer, fqn| Constructor and Description |
|---|
CreateNodeCommand()
Deprecated.
|
CreateNodeCommand(Fqn fqn)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
acceptVisitor(InvocationContext ctx,
Visitor visitor)
Deprecated.
Accept a visitor, and return the result of accepting this visitor.
|
int |
getCommandId()
Deprecated.
Used by marshallers to convert this command into an id for streaming.
|
GlobalTransaction |
getGlobalTransaction()
Deprecated.
|
Object |
perform(InvocationContext ctx)
Deprecated.
Creates a node in the cache, specified by the given Fqn.
|
void |
rollback()
Deprecated.
Reverses a command that has already been invoked.
|
void |
setGlobalTransaction(GlobalTransaction gtx)
Deprecated.
Sets a GlobalTransaction on this command.
|
String |
toString()
Deprecated.
|
equals, getFqn, getParameters, hashCode, initialize, setParametersclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetFqngetParameters, setParameterspublic static final int METHOD_ID
public CreateNodeCommand(Fqn fqn)
public CreateNodeCommand()
public int getCommandId()
ReplicableCommandgetCommandId in interface ReplicableCommandpublic void setGlobalTransaction(GlobalTransaction gtx)
WriteCommandsetGlobalTransaction in interface WriteCommandgtx - global transaction to setpublic GlobalTransaction getGlobalTransaction()
getGlobalTransaction in interface WriteCommandpublic Object perform(InvocationContext ctx)
perform in interface ReplicableCommandctx - invocation contextpublic void rollback()
ReversibleCommandrollback in interface ReversibleCommandpublic Object acceptVisitor(InvocationContext ctx, Visitor visitor) throws Throwable
VisitableCommandacceptVisitor in interface VisitableCommandctx - invocation contextvisitor - visitor to acceptThrowable - in the event of problemspublic String toString()
toString in class AbstractDataCommandCopyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.