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.
Basic interceptors
Interceptors dealing with locking.
Lock and synchronization related classes, tools and utilities.
This is the private xsite package.
-
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.completedNullStage()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.interceptors.impl
Subclasses of InvocationStage in org.infinispan.interceptors.implModifier and TypeClassDescriptionclassInvocation stage representing a computation that may or may not be done yet.classInvocation stage representing a computation that may or may not be done yet.Methods in org.infinispan.interceptors.impl that return InvocationStageModifier and TypeMethodDescriptionprotected InvocationStageCacheWriterInterceptor.commitModifications(TxInvocationContext<AbstractCacheTransaction> ctx) AsyncInterceptorChainImpl.invokeStage(InvocationContext ctx, VisitableCommand command) protected final InvocationStageCacheWriterInterceptor.store(TxInvocationContext<AbstractCacheTransaction> ctx) -
Uses of InvocationStage in org.infinispan.interceptors.locking
Methods in org.infinispan.interceptors.locking that return InvocationStageModifier and TypeMethodDescriptionprotected final 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 InvocationStageModifier and TypeMethodDescriptionExtendedLockPromise.toInvocationStage(Supplier<TimeoutException> timeoutSupplier) LockPromise.toInvocationStage()PendingLockPromise.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 InvocationStageModifier and TypeMethodDescriptionBackupSender.backupClear(ClearCommand command) BackupSenderImpl.backupClear(ClearCommand command) NoOpBackupSender.backupClear(ClearCommand command) BackupSender.backupCommit(CommitCommand command, javax.transaction.Transaction transaction) BackupSenderImpl.backupCommit(CommitCommand command, javax.transaction.Transaction transaction) NoOpBackupSender.backupCommit(CommitCommand command, javax.transaction.Transaction transaction) BackupSender.backupPrepare(PrepareCommand command, AbstractCacheTransaction cacheTransaction, javax.transaction.Transaction transaction) Prepares a transaction on the remote site.BackupSenderImpl.backupPrepare(PrepareCommand command, AbstractCacheTransaction cacheTransaction, javax.transaction.Transaction transaction) NoOpBackupSender.backupPrepare(PrepareCommand command, AbstractCacheTransaction cacheTransaction, javax.transaction.Transaction transaction) BackupSender.backupRollback(RollbackCommand command, javax.transaction.Transaction transaction) BackupSenderImpl.backupRollback(RollbackCommand command, javax.transaction.Transaction transaction) NoOpBackupSender.backupRollback(RollbackCommand command, javax.transaction.Transaction transaction) BackupSender.backupWrite(WriteCommand command, WriteCommand originalCommand) BackupSenderImpl.backupWrite(WriteCommand command, WriteCommand originalCommand) NoOpBackupSender.backupWrite(WriteCommand command, WriteCommand originalCommand)