Uses of Class
org.infinispan.interceptors.InvocationStage
Packages that use 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
Subclasses of InvocationStage in org.infinispan.interceptorsMethods in org.infinispan.interceptors that return InvocationStageModifier and TypeMethodDescription<C extends VisitableCommand>
InvocationStageInvocationStage.andExceptionallyMakeStage(InvocationContext ctx, C command, InvocationExceptionFunction<C> function) After the current stage completes exceptionally, invokefunctionand 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, invokefunctionand return its result.<C extends VisitableCommand>
InvocationStageSyncInvocationStage.andHandleMakeStage(InvocationContext ctx, C command, InvocationFinallyFunction<C> function) static InvocationStageBaseAsyncInterceptor.asyncValue(CompletionStage<?> valueFuture) Suspend the invocation untilvalueFuturecompletes, then return its result without running the remaining interceptors.static InvocationStageInvocationStage.completedFalseStage()static InvocationStageInvocationStage.completedNullStage()static InvocationStageInvocationStage.completedTrueStage()AsyncInterceptorChain.invokeStage(InvocationContext ctx, VisitableCommand command) Walks the command through the interceptor chain.EmptyAsyncInterceptorChain.invokeStage(InvocationContext ctx, VisitableCommand command) static InvocationStageEncode the result of anBaseAsyncInterceptor.invokeNext(InvocationContext, VisitableCommand)in anInvocationStage.static InvocationStageIfmaybeStageis 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, invokefunctionand return its result.<C extends VisitableCommand>
InvocationStageSyncInvocationStage.thenApplyMakeStage(InvocationContext ctx, C command, InvocationSuccessFunction<C> function) After the current stage completes successfully, invokefunctionand return its result.Methods in org.infinispan.interceptors with parameters of type InvocationStageModifier and TypeMethodDescriptionfinal ObjectBaseAsyncInterceptor.asyncInvokeNext(InvocationContext ctx, VisitableCommand command, InvocationStage invocationStage) Suspend the invocation untilinvocationStagecompletes, then if successful invoke the next interceptor. -
Uses of InvocationStage in org.infinispan.util.concurrent.locks
Methods in org.infinispan.util.concurrent.locks that return InvocationStageModifier and TypeMethodDescriptionExtendedLockPromise.toInvocationStage(Supplier<TimeoutException> timeoutSupplier) LockPromise.toInvocationStage()PendingLockPromise.toInvocationStage()If successful,PendingLockPromise.getRemainingTimeout()will return the remaining timeout, in millis.