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.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 org.infinispan.commands.VisitableCommand>
InvocationStageInvocationStage. andExceptionallyMakeStage(InvocationContext ctx, C command, InvocationExceptionFunction<C> function)After the current stage completes exceptionally, invokefunctionand return its result.<C extends org.infinispan.commands.VisitableCommand>
InvocationStageSyncInvocationStage. andExceptionallyMakeStage(InvocationContext ctx, C command, InvocationExceptionFunction<C> function)<C extends org.infinispan.commands.VisitableCommand>
InvocationStageInvocationStage. andFinallyMakeStage(InvocationContext ctx, C command, InvocationFinallyAction<C> action)After the current stage completes, invokeaction.<C extends org.infinispan.commands.VisitableCommand>
InvocationStageSyncInvocationStage. andFinallyMakeStage(InvocationContext ctx, C command, InvocationFinallyAction<C> action)<C extends org.infinispan.commands.VisitableCommand>
InvocationStageInvocationStage. andHandleMakeStage(InvocationContext ctx, C command, InvocationFinallyFunction<C> function)After the current stage completes, invokefunctionand return its result.<C extends org.infinispan.commands.VisitableCommand>
InvocationStageSyncInvocationStage. andHandleMakeStage(InvocationContext ctx, C command, InvocationFinallyFunction<C> function)static InvocationStageBaseAsyncInterceptor. asyncValue(java.util.concurrent.CompletionStage<?> valueFuture)Suspend the invocation untilvalueFuturecompletes, then return its result without running the remaining interceptors.static InvocationStageInvocationStage. completedNullStage()static InvocationStageBaseAsyncInterceptor. makeStage(java.lang.Object rv)Encode the result of anBaseAsyncInterceptor.invokeNext(InvocationContext, VisitableCommand)in anInvocationStage.static InvocationStageInvocationStage. makeStage(java.lang.Object maybeStage)IfmaybeStageis not anInvocationStage, wrap it, otherwise cast it to anInvocationStage.<C extends org.infinispan.commands.VisitableCommand>
InvocationStageInvocationStage. thenAcceptMakeStage(InvocationContext ctx, C command, InvocationSuccessAction<C> action)After the current stage completes successfully, invokeaction.<C extends org.infinispan.commands.VisitableCommand>
InvocationStageSyncInvocationStage. thenAcceptMakeStage(InvocationContext ctx, C command, InvocationSuccessAction<C> action)<C extends org.infinispan.commands.VisitableCommand>
InvocationStageInvocationStage. thenApplyMakeStage(InvocationContext ctx, C command, InvocationSuccessFunction<C> function)After the current stage completes successfully, invokefunctionand return its result.<C extends org.infinispan.commands.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 java.lang.ObjectBaseAsyncInterceptor. asyncInvokeNext(InvocationContext ctx, org.infinispan.commands.VisitableCommand command, InvocationStage invocationStage)Suspend the invocation untilinvocationStagecompletes, then if successful invoke the next interceptor. -
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, org.infinispan.commands.VisitableCommand command, java.lang.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(java.util.function.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
Methods in org.infinispan.xsite that return InvocationStage Modifier and Type Method Description InvocationStageBackupSender. backupCommit(org.infinispan.commands.tx.CommitCommand command, javax.transaction.Transaction transaction)InvocationStageBackupSenderImpl. backupCommit(org.infinispan.commands.tx.CommitCommand command, javax.transaction.Transaction transaction)InvocationStageNoOpBackupSender. backupCommit(org.infinispan.commands.tx.CommitCommand command, javax.transaction.Transaction transaction)InvocationStageBackupSender. backupPrepare(org.infinispan.commands.tx.PrepareCommand command, org.infinispan.transaction.impl.AbstractCacheTransaction cacheTransaction, javax.transaction.Transaction transaction)Prepares a transaction on the remote site.InvocationStageBackupSenderImpl. backupPrepare(org.infinispan.commands.tx.PrepareCommand command, org.infinispan.transaction.impl.AbstractCacheTransaction cacheTransaction, javax.transaction.Transaction transaction)InvocationStageNoOpBackupSender. backupPrepare(org.infinispan.commands.tx.PrepareCommand command, org.infinispan.transaction.impl.AbstractCacheTransaction cacheTransaction, javax.transaction.Transaction transaction)InvocationStageBackupSender. backupRollback(org.infinispan.commands.tx.RollbackCommand command, javax.transaction.Transaction transaction)InvocationStageBackupSenderImpl. backupRollback(org.infinispan.commands.tx.RollbackCommand command, javax.transaction.Transaction transaction)InvocationStageNoOpBackupSender. backupRollback(org.infinispan.commands.tx.RollbackCommand command, javax.transaction.Transaction transaction)InvocationStageBackupSender. backupWrite(org.infinispan.commands.write.WriteCommand command, org.infinispan.commands.VisitableCommand originalCommand)InvocationStageBackupSenderImpl. backupWrite(org.infinispan.commands.write.WriteCommand command, org.infinispan.commands.VisitableCommand originalCommand)InvocationStageNoOpBackupSender. backupWrite(org.infinispan.commands.write.WriteCommand command, org.infinispan.commands.VisitableCommand originalCommand)
-