org.infinispan.commands
Interface VisitableCommand
- All Superinterfaces:
- ReplicableCommand
- All Known Subinterfaces:
- DataCommand, DataWriteCommand, TransactionBoundaryCommand, WriteCommand
- All Known Implementing Classes:
- AbstractDataCommand, AbstractDataWriteCommand, AbstractTransactionBoundaryCommand, ClearCommand, CommitCommand, EntrySetCommand, EvictCommand, GetKeyValueCommand, InvalidateCommand, InvalidateL1Command, KeySetCommand, LockControlCommand, PrepareCommand, PutKeyValueCommand, PutMapCommand, RemoveCommand, ReplaceCommand, RollbackCommand, SizeCommand, ValuesCommand
public interface VisitableCommand
- extends ReplicableCommand
A type of command that can accept Visitor
s, such as CommandInterceptor
s.
- Since:
- 4.0
- Author:
- Manik Surtani (manik@jboss.org)
acceptVisitor
Object acceptVisitor(InvocationContext ctx,
Visitor visitor)
throws Throwable
- Accept a visitor, and return the result of accepting this visitor.
- Parameters:
ctx
- invocation contextvisitor
- visitor to accept
- Returns:
- arbitrary return value
- Throws:
Throwable
- in the event of problems
Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.