Uses of Class
org.infinispan.interceptors.InvocationStage
Package
Description
Infinispan is designed around a set of interceptors around a data container.
Lock and synchronization related classes, tools and utilities.
-
Uses of InvocationStage in org.infinispan.interceptors
Modifier and TypeMethodDescription<C extends VisitableCommand>
InvocationStageInvocationStage.andExceptionallyMakeStage
(InvocationContext ctx, C command, InvocationExceptionFunction<C> function) After the current stage completes exceptionally, invokefunction
and return its result.<C extends VisitableCommand>
InvocationStageSyncInvocationStage.andExceptionallyMakeStage
(InvocationContext ctx, C command, InvocationExceptionFunction<C> function) <C extends VisitableCommand>
InvocationStageInvocationStage.andFinallyMakeStage
(InvocationContext ctx, C command, InvocationFinallyAction<C> action) After the current stage completes, invokeaction
.<C extends VisitableCommand>
InvocationStageSyncInvocationStage.andFinallyMakeStage
(InvocationContext ctx, C command, InvocationFinallyAction<C> action) <C extends VisitableCommand>
InvocationStageInvocationStage.andHandleMakeStage
(InvocationContext ctx, C command, InvocationFinallyFunction<C> function) After the current stage completes, invokefunction
and return its result.<C extends VisitableCommand>
InvocationStageSyncInvocationStage.andHandleMakeStage
(InvocationContext ctx, C command, InvocationFinallyFunction<C> function) static InvocationStage
BaseAsyncInterceptor.asyncValue
(CompletionStage<?> valueFuture) Suspend the invocation untilvalueFuture
completes, then return its result without running the remaining interceptors.static InvocationStage
InvocationStage.completedFalseStage()
static InvocationStage
InvocationStage.completedNullStage()
static InvocationStage
InvocationStage.completedTrueStage()
AsyncInterceptorChain.invokeStage
(InvocationContext ctx, VisitableCommand command) Walks the command through the interceptor chain.EmptyAsyncInterceptorChain.invokeStage
(InvocationContext ctx, VisitableCommand command) static InvocationStage
Encode the result of anBaseAsyncInterceptor.invokeNext(InvocationContext, VisitableCommand)
in anInvocationStage
.static InvocationStage
IfmaybeStage
is not anInvocationStage
, wrap it, otherwise cast it to anInvocationStage
.<C extends VisitableCommand>
InvocationStageInvocationStage.thenAcceptMakeStage
(InvocationContext ctx, C command, InvocationSuccessAction<C> action) After the current stage completes successfully, invokeaction
.<C extends VisitableCommand>
InvocationStageSyncInvocationStage.thenAcceptMakeStage
(InvocationContext ctx, C command, InvocationSuccessAction<C> action) <C extends VisitableCommand>
InvocationStageInvocationStage.thenApplyMakeStage
(InvocationContext ctx, C command, InvocationSuccessFunction<C> function) After the current stage completes successfully, invokefunction
and return its result.<C extends VisitableCommand>
InvocationStageSyncInvocationStage.thenApplyMakeStage
(InvocationContext ctx, C command, InvocationSuccessFunction<C> function) After the current stage completes successfully, invokefunction
and return its result.Modifier and TypeMethodDescriptionfinal Object
BaseAsyncInterceptor.asyncInvokeNext
(InvocationContext ctx, VisitableCommand command, InvocationStage invocationStage) Suspend the invocation untilinvocationStage
completes, then if successful invoke the next interceptor. -
Uses of InvocationStage in org.infinispan.util.concurrent.locks
Modifier and TypeMethodDescriptionExtendedLockPromise.toInvocationStage
(Supplier<TimeoutException> timeoutSupplier) LockPromise.toInvocationStage()
PendingLockPromise.toInvocationStage()
If successful,PendingLockPromise.getRemainingTimeout()
will return the remaining timeout, in millis.