public abstract class AbstractVisitor extends Object implements Visitor
Constructor and Description |
---|
AbstractVisitor() |
public Object visitPutKeyValueCommand(InvocationContext ctx, PutKeyValueCommand command) throws Throwable
visitPutKeyValueCommand
in interface Visitor
Throwable
public Object visitRemoveCommand(InvocationContext ctx, RemoveCommand command) throws Throwable
visitRemoveCommand
in interface Visitor
Throwable
public Object visitReplaceCommand(InvocationContext ctx, ReplaceCommand command) throws Throwable
visitReplaceCommand
in interface Visitor
Throwable
public Object visitClearCommand(InvocationContext ctx, ClearCommand command) throws Throwable
visitClearCommand
in interface Visitor
Throwable
public Object visitPutMapCommand(InvocationContext ctx, PutMapCommand command) throws Throwable
visitPutMapCommand
in interface Visitor
Throwable
public Object visitEvictCommand(InvocationContext ctx, EvictCommand command) throws Throwable
visitEvictCommand
in interface Visitor
Throwable
public Object visitApplyDeltaCommand(InvocationContext ctx, ApplyDeltaCommand command) throws Throwable
visitApplyDeltaCommand
in interface Visitor
Throwable
public Object visitSizeCommand(InvocationContext ctx, SizeCommand command) throws Throwable
visitSizeCommand
in interface Visitor
Throwable
public Object visitGetKeyValueCommand(InvocationContext ctx, GetKeyValueCommand command) throws Throwable
visitGetKeyValueCommand
in interface Visitor
Throwable
public Object visitKeySetCommand(InvocationContext ctx, KeySetCommand command) throws Throwable
visitKeySetCommand
in interface Visitor
Throwable
public Object visitValuesCommand(InvocationContext ctx, ValuesCommand command) throws Throwable
visitValuesCommand
in interface Visitor
Throwable
public Object visitEntrySetCommand(InvocationContext ctx, EntrySetCommand command) throws Throwable
visitEntrySetCommand
in interface Visitor
Throwable
public Object visitPrepareCommand(TxInvocationContext ctx, PrepareCommand command) throws Throwable
visitPrepareCommand
in interface Visitor
Throwable
public Object visitRollbackCommand(TxInvocationContext ctx, RollbackCommand command) throws Throwable
visitRollbackCommand
in interface Visitor
Throwable
public Object visitCommitCommand(TxInvocationContext ctx, CommitCommand command) throws Throwable
visitCommitCommand
in interface Visitor
Throwable
public Object visitInvalidateCommand(InvocationContext ctx, InvalidateCommand invalidateCommand) throws Throwable
visitInvalidateCommand
in interface Visitor
Throwable
public Object visitInvalidateL1Command(InvocationContext ctx, InvalidateL1Command invalidateL1Command) throws Throwable
visitInvalidateL1Command
in interface Visitor
Throwable
protected Object handleDefault(InvocationContext ctx, VisitableCommand command) throws Throwable
ctx
- invocation contextcommand
- command to handleThrowable
- in the case of a problempublic void visitCollection(InvocationContext ctx, Collection<? extends VisitableCommand> toVisit) throws Throwable
ctx
- Invocation contexttoVisit
- collection of commands to visitThrowable
- in the event of problemspublic Object visitLockControlCommand(TxInvocationContext ctx, LockControlCommand command) throws Throwable
visitLockControlCommand
in interface Visitor
Throwable
public Object visitUnknownCommand(InvocationContext ctx, VisitableCommand command) throws Throwable
visitUnknownCommand
in interface Visitor
Throwable
public <V> Object visitDistributedExecuteCommand(InvocationContext ctx, DistributedExecuteCommand<V> command) throws Throwable
visitDistributedExecuteCommand
in interface Visitor
Throwable
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.