@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, setParameters
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getFqn
getParameters, setParameters
public static final int METHOD_ID
public CreateNodeCommand(Fqn fqn)
public CreateNodeCommand()
public int getCommandId()
ReplicableCommand
getCommandId
in interface ReplicableCommand
public void setGlobalTransaction(GlobalTransaction gtx)
WriteCommand
setGlobalTransaction
in interface WriteCommand
gtx
- global transaction to setpublic GlobalTransaction getGlobalTransaction()
getGlobalTransaction
in interface WriteCommand
public Object perform(InvocationContext ctx)
perform
in interface ReplicableCommand
ctx
- invocation contextpublic void rollback()
ReversibleCommand
rollback
in interface ReversibleCommand
public Object acceptVisitor(InvocationContext ctx, Visitor visitor) throws Throwable
VisitableCommand
acceptVisitor
in interface VisitableCommand
ctx
- invocation contextvisitor
- visitor to acceptThrowable
- in the event of problemspublic String toString()
toString
in class AbstractDataCommand
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.