|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface VisitableCommand
A type of command that can accept Visitors, such as CommandInterceptors.
| Method Summary | |
|---|---|
Object |
acceptVisitor(InvocationContext ctx,
Visitor visitor)
Accept a visitor, and return the result of accepting this visitor. |
boolean |
ignoreCommandOnStatus(ComponentStatus status)
Similar to shouldInvoke(InvocationContext) but evaluated by InvocationContextInterceptor. |
boolean |
shouldInvoke(InvocationContext ctx)
Used by the InboundInvocationHandler to determine whether the command should be invoked or not. |
| Methods inherited from interface org.infinispan.commands.ReplicableCommand |
|---|
canBlock, getCommandId, getParameters, isReturnValueExpected, perform, setParameters |
| Method Detail |
|---|
Object acceptVisitor(InvocationContext ctx,
Visitor visitor)
throws Throwable
ctx - invocation contextvisitor - visitor to accept
Throwable - in the event of problemsboolean shouldInvoke(InvocationContext ctx)
boolean ignoreCommandOnStatus(ComponentStatus status)
shouldInvoke(InvocationContext) but evaluated by InvocationContextInterceptor.
Commands can opt to be discarded in case the cache status is not suited (as InvalidateCommand)
|
--> | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||