public class GetNodeCommand extends AbstractDataCommand
Cache.getNode(org.jboss.cache.Fqn)
This is the equivalent of the old MethodCallDefinitions.getNodeMethodLocal method call from 2.1.x.
| Modifier and Type | Field and Description |
|---|---|
static int |
METHOD_ID |
dataContainer, fqn| Constructor and Description |
|---|
GetNodeCommand() |
GetNodeCommand(Fqn fqn) |
| Modifier and Type | Method and Description |
|---|---|
Object |
acceptVisitor(InvocationContext ctx,
Visitor visitor)
Accept a visitor, and return the result of accepting this visitor.
|
int |
getCommandId()
Used by marshallers to convert this command into an id for streaming.
|
Object |
perform(InvocationContext ctx)
Retrieves a
Node referenced by the specified Fqn. |
equals, getFqn, getParameters, hashCode, initialize, setParameters, toStringpublic static final int METHOD_ID
public GetNodeCommand(Fqn fqn)
public GetNodeCommand()
public Object perform(InvocationContext ctx)
Node referenced by the specified Fqn.ctx - invocation contextpublic Object acceptVisitor(InvocationContext ctx, Visitor visitor) throws Throwable
VisitableCommandctx - invocation contextvisitor - visitor to acceptThrowable - in the event of problemspublic int getCommandId()
ReplicableCommandCopyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.