Package org.infinispan.interceptors.impl
Class InvocationContextInterceptor
java.lang.Object
org.infinispan.interceptors.BaseAsyncInterceptor
org.infinispan.interceptors.impl.InvocationContextInterceptor
- All Implemented Interfaces:
AsyncInterceptor
- Since:
- 9.0
- Author:
- Mircea.Markus@jboss.com, Galder ZamarreƱo
-
Field Summary
Fields inherited from class org.infinispan.interceptors.BaseAsyncInterceptor
cacheConfiguration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvisitCommand(InvocationContext ctx, VisitableCommand command) Perform some work for a command invocation.Methods inherited from class org.infinispan.interceptors.BaseAsyncInterceptor
asyncInvokeNext, asyncInvokeNext, asyncInvokeNext, asyncValue, delayedNull, delayedValue, delayedValue, invokeNext, invokeNextAndExceptionally, invokeNextAndFinally, invokeNextAndHandle, invokeNextThenAccept, invokeNextThenApply, isSuccessfullyDone, makeStage, setNextInterceptor, valueOrException
-
Constructor Details
-
InvocationContextInterceptor
public InvocationContextInterceptor()
-
-
Method Details
-
visitCommand
Description copied from interface:AsyncInterceptorPerform some work for a command invocation. The interceptor is responsible for invoking the next interceptor in the chain, usingBaseAsyncInterceptor.invokeNext(InvocationContext, VisitableCommand)or the other methods inBaseAsyncInterceptor.- Returns:
- Either a regular value, or an
InvocationStagecreated by theBaseAsyncInterceptormethods. - Throws:
Throwable
-