Uses of Class
org.infinispan.interceptors.InvocationStage
-
Packages that use InvocationStage Package Description org.infinispan.interceptors Infinispan is designed around a set of interceptors around a data container.org.infinispan.interceptors.impl Basic interceptorsorg.infinispan.interceptors.locking Interceptors dealing with locking.org.infinispan.util.concurrent.locks Lock and synchronization related classes, tools and utilities.org.infinispan.xsite -
-
Uses of InvocationStage in org.infinispan.interceptors
Subclasses of InvocationStage in org.infinispan.interceptors Modifier and Type Class Description classExceptionSyncInvocationStageA syncInvocationStageforThrowable.classSyncInvocationStageMethods in org.infinispan.interceptors that return InvocationStage Modifier and Type Method Description <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. completedNullStage()static InvocationStageBaseAsyncInterceptor. makeStage(Object rv)Encode the result of anBaseAsyncInterceptor.invokeNext(InvocationContext, VisitableCommand)in anInvocationStage.static InvocationStageInvocationStage. makeStage(Object maybeStage)IfmaybeStageis 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 InvocationStage Modifier and Type Method Description 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.interceptors.impl
Subclasses of InvocationStage in org.infinispan.interceptors.impl Modifier and Type Class Description classQueueAsyncInvocationStageInvocation stage representing a computation that may or may not be done yet.classSimpleAsyncInvocationStageInvocation stage representing a computation that may or may not be done yet.Methods in org.infinispan.interceptors.impl that return InvocationStage Modifier and Type Method Description protected InvocationStageCacheWriterInterceptor. commitCommand(TxInvocationContext<AbstractCacheTransaction> ctx)protected InvocationStageCacheWriterInterceptor. store(TxInvocationContext<AbstractCacheTransaction> ctx) -
Uses of InvocationStage in org.infinispan.interceptors.locking
Methods in org.infinispan.interceptors.locking that return InvocationStage Modifier and Type Method Description protected InvocationStageAbstractLockingInterceptor. lockAndRecord(InvocationContext context, VisitableCommand command, Object key, long timeout) -
Uses of InvocationStage in org.infinispan.util.concurrent.locks
Methods in org.infinispan.util.concurrent.locks that return InvocationStage Modifier and Type Method Description InvocationStageExtendedLockPromise. toInvocationStage(Supplier<TimeoutException> timeoutSupplier)InvocationStageLockPromise. toInvocationStage()InvocationStagePendingLockPromise. toInvocationStage()If successful,PendingLockPromise.getRemainingTimeout()will return the remaining timeout, in millis. -
Uses of InvocationStage in org.infinispan.xsite
-