|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.cache.commands.read.AbstractDataCommand
org.jboss.cache.commands.legacy.write.CreateNodeCommand
@Deprecated public class CreateNodeCommand
Command that creates a node. Primarily to be used as an undo command for removing nodes.
| Field Summary | |
|---|---|
static int |
METHOD_ID
Deprecated. |
protected List<Fqn> |
newlyCreated
Deprecated. |
| Fields inherited from class org.jboss.cache.commands.read.AbstractDataCommand |
|---|
dataContainer, fqn |
| Constructor Summary | |
|---|---|
CreateNodeCommand()
Deprecated. |
|
CreateNodeCommand(Fqn fqn)
Deprecated. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.jboss.cache.commands.read.AbstractDataCommand |
|---|
equals, getFqn, getParameters, hashCode, initialize, setParameters |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int METHOD_ID
protected final List<Fqn> newlyCreated
| Constructor Detail |
|---|
public CreateNodeCommand(Fqn fqn)
public CreateNodeCommand()
| Method Detail |
|---|
public int getCommandId()
ReplicableCommand
getCommandId in interface ReplicableCommandpublic void setGlobalTransaction(GlobalTransaction gtx)
WriteCommand
setGlobalTransaction in interface WriteCommandgtx - global transaction to setpublic GlobalTransaction getGlobalTransaction()
getGlobalTransaction in interface WriteCommandpublic Object perform(InvocationContext ctx)
perform in interface ReplicableCommandctx - invocation context
public void rollback()
ReversibleCommand
rollback in interface ReversibleCommand
public Object acceptVisitor(InvocationContext ctx,
Visitor visitor)
throws Throwable
VisitableCommand
acceptVisitor in interface VisitableCommandctx - invocation contextvisitor - visitor to accept
Throwable - in the event of problemspublic String toString()
toString in class AbstractDataCommand
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||