Uses of Interface
org.infinispan.context.InvocationContext
Package
Description
Commands that operate on the cache, either locally or remotely.
Data containers which store cache entries.
Contexts contain information of a specific invocation on the cache, such as its origins, scope
(transactional or non-transactional), as well as invocation-specific flags.
This package contains different context implementations, selected dynamically based on the type of invocation.
Infinispan is designed around a set of interceptors around a data container.
Cache
-specific notifications and eventing.Persistence API.
Lock and synchronization related classes, tools and utilities.
-
Uses of InvocationContext in org.infinispan.cache.impl
Modifier and TypeMethodDescriptionContextBuilder.create
(int keyCount) Creates a newInvocationContext
.InvocationHelper.createInvocationContextWithImplicitTransaction
(int keyCount, boolean forceCreateTransaction) Creates an invocation context with an implicit transaction if it is required.protected InvocationContext
DecoratedCache.readContext
(int size) protected InvocationContext
DecoratedCache.writeContext
(int size) Modifier and TypeMethodDescriptionfinal Map<K,
CacheEntry<K, V>> CacheImpl.getAllCacheEntries
(Set<?> keys, long explicitFlags, InvocationContext ctx) <T> T
InvocationHelper.invoke
(InvocationContext context, VisitableCommand command) Invokes thecommand
usingcontext
.<T> CompletableFuture<T>
InvocationHelper.invokeAsync
(InvocationContext context, VisitableCommand command) -
Uses of InvocationContext in org.infinispan.commands
Modifier and TypeMethodDescriptionVisitableCommand.acceptVisitor
(InvocationContext ctx, Visitor visitor) Accept a visitor, and return the result of accepting this visitor.protected Object
AbstractVisitor.handleDefault
(InvocationContext ctx, VisitableCommand command) A default handler for all commands visited.AbstractVisitor.visitClearCommand
(InvocationContext ctx, org.infinispan.commands.write.ClearCommand command) Visitor.visitClearCommand
(InvocationContext ctx, org.infinispan.commands.write.ClearCommand command) void
AbstractVisitor.visitCollection
(InvocationContext ctx, Collection<? extends VisitableCommand> toVisit) Helper method to visit a collection of VisitableCommands.AbstractVisitor.visitComputeCommand
(InvocationContext ctx, org.infinispan.commands.write.ComputeCommand command) Visitor.visitComputeCommand
(InvocationContext ctx, org.infinispan.commands.write.ComputeCommand command) AbstractVisitor.visitComputeIfAbsentCommand
(InvocationContext ctx, org.infinispan.commands.write.ComputeIfAbsentCommand command) Visitor.visitComputeIfAbsentCommand
(InvocationContext ctx, org.infinispan.commands.write.ComputeIfAbsentCommand command) AbstractVisitor.visitEntrySetCommand
(InvocationContext ctx, org.infinispan.commands.read.EntrySetCommand command) Visitor.visitEntrySetCommand
(InvocationContext ctx, org.infinispan.commands.read.EntrySetCommand command) AbstractVisitor.visitEvictCommand
(InvocationContext ctx, org.infinispan.commands.write.EvictCommand command) Visitor.visitEvictCommand
(InvocationContext ctx, org.infinispan.commands.write.EvictCommand command) AbstractVisitor.visitGetAllCommand
(InvocationContext ctx, org.infinispan.commands.read.GetAllCommand command) Visitor.visitGetAllCommand
(InvocationContext ctx, org.infinispan.commands.read.GetAllCommand command) AbstractVisitor.visitGetCacheEntryCommand
(InvocationContext ctx, org.infinispan.commands.read.GetCacheEntryCommand command) Visitor.visitGetCacheEntryCommand
(InvocationContext ctx, org.infinispan.commands.read.GetCacheEntryCommand command) AbstractVisitor.visitGetKeyValueCommand
(InvocationContext ctx, org.infinispan.commands.read.GetKeyValueCommand command) Visitor.visitGetKeyValueCommand
(InvocationContext ctx, org.infinispan.commands.read.GetKeyValueCommand command) AbstractVisitor.visitInvalidateCommand
(InvocationContext ctx, org.infinispan.commands.write.InvalidateCommand invalidateCommand) Visitor.visitInvalidateCommand
(InvocationContext ctx, org.infinispan.commands.write.InvalidateCommand invalidateCommand) AbstractVisitor.visitInvalidateL1Command
(InvocationContext ctx, org.infinispan.commands.write.InvalidateL1Command invalidateL1Command) Visitor.visitInvalidateL1Command
(InvocationContext ctx, org.infinispan.commands.write.InvalidateL1Command invalidateL1Command) AbstractVisitor.visitIracPutKeyValueCommand
(InvocationContext ctx, org.infinispan.commands.write.IracPutKeyValueCommand command) Visitor.visitIracPutKeyValueCommand
(InvocationContext ctx, org.infinispan.commands.write.IracPutKeyValueCommand command) AbstractVisitor.visitKeySetCommand
(InvocationContext ctx, org.infinispan.commands.read.KeySetCommand command) Visitor.visitKeySetCommand
(InvocationContext ctx, org.infinispan.commands.read.KeySetCommand command) AbstractVisitor.visitPutKeyValueCommand
(InvocationContext ctx, org.infinispan.commands.write.PutKeyValueCommand command) Visitor.visitPutKeyValueCommand
(InvocationContext ctx, org.infinispan.commands.write.PutKeyValueCommand command) AbstractVisitor.visitPutMapCommand
(InvocationContext ctx, org.infinispan.commands.write.PutMapCommand command) Visitor.visitPutMapCommand
(InvocationContext ctx, org.infinispan.commands.write.PutMapCommand command) AbstractVisitor.visitReadOnlyKeyCommand
(InvocationContext ctx, org.infinispan.commands.functional.ReadOnlyKeyCommand command) Visitor.visitReadOnlyKeyCommand
(InvocationContext ctx, org.infinispan.commands.functional.ReadOnlyKeyCommand command) AbstractVisitor.visitReadOnlyManyCommand
(InvocationContext ctx, org.infinispan.commands.functional.ReadOnlyManyCommand command) Visitor.visitReadOnlyManyCommand
(InvocationContext ctx, org.infinispan.commands.functional.ReadOnlyManyCommand command) AbstractVisitor.visitReadWriteKeyCommand
(InvocationContext ctx, org.infinispan.commands.functional.ReadWriteKeyCommand command) Visitor.visitReadWriteKeyCommand
(InvocationContext ctx, org.infinispan.commands.functional.ReadWriteKeyCommand command) AbstractVisitor.visitReadWriteKeyValueCommand
(InvocationContext ctx, org.infinispan.commands.functional.ReadWriteKeyValueCommand command) Visitor.visitReadWriteKeyValueCommand
(InvocationContext ctx, org.infinispan.commands.functional.ReadWriteKeyValueCommand command) AbstractVisitor.visitReadWriteManyCommand
(InvocationContext ctx, org.infinispan.commands.functional.ReadWriteManyCommand command) Visitor.visitReadWriteManyCommand
(InvocationContext ctx, org.infinispan.commands.functional.ReadWriteManyCommand command) AbstractVisitor.visitReadWriteManyEntriesCommand
(InvocationContext ctx, org.infinispan.commands.functional.ReadWriteManyEntriesCommand command) Visitor.visitReadWriteManyEntriesCommand
(InvocationContext ctx, org.infinispan.commands.functional.ReadWriteManyEntriesCommand command) AbstractVisitor.visitRemoveCommand
(InvocationContext ctx, org.infinispan.commands.write.RemoveCommand command) Visitor.visitRemoveCommand
(InvocationContext ctx, org.infinispan.commands.write.RemoveCommand command) default Object
Visitor.visitRemoveExpiredCommand
(InvocationContext ctx, org.infinispan.commands.write.RemoveExpiredCommand command) AbstractVisitor.visitReplaceCommand
(InvocationContext ctx, org.infinispan.commands.write.ReplaceCommand command) Visitor.visitReplaceCommand
(InvocationContext ctx, org.infinispan.commands.write.ReplaceCommand command) AbstractVisitor.visitSizeCommand
(InvocationContext ctx, org.infinispan.commands.read.SizeCommand command) Visitor.visitSizeCommand
(InvocationContext ctx, org.infinispan.commands.read.SizeCommand command) AbstractVisitor.visitTouchCommand
(InvocationContext ctx, TouchCommand command) Visitor.visitTouchCommand
(InvocationContext ctx, TouchCommand command) AbstractVisitor.visitUnknownCommand
(InvocationContext ctx, VisitableCommand command) Visitor.visitUnknownCommand
(InvocationContext ctx, VisitableCommand command) Deprecated, for removal: This API element is subject to removal in a future version.since 11.0 will be removed in the next major version with no direct replacement.AbstractVisitor.visitWriteOnlyKeyCommand
(InvocationContext ctx, org.infinispan.commands.functional.WriteOnlyKeyCommand command) Visitor.visitWriteOnlyKeyCommand
(InvocationContext ctx, org.infinispan.commands.functional.WriteOnlyKeyCommand command) AbstractVisitor.visitWriteOnlyKeyValueCommand
(InvocationContext ctx, org.infinispan.commands.functional.WriteOnlyKeyValueCommand command) Visitor.visitWriteOnlyKeyValueCommand
(InvocationContext ctx, org.infinispan.commands.functional.WriteOnlyKeyValueCommand command) AbstractVisitor.visitWriteOnlyManyCommand
(InvocationContext ctx, org.infinispan.commands.functional.WriteOnlyManyCommand command) Visitor.visitWriteOnlyManyCommand
(InvocationContext ctx, org.infinispan.commands.functional.WriteOnlyManyCommand command) AbstractVisitor.visitWriteOnlyManyEntriesCommand
(InvocationContext ctx, org.infinispan.commands.functional.WriteOnlyManyEntriesCommand command) Visitor.visitWriteOnlyManyEntriesCommand
(InvocationContext ctx, org.infinispan.commands.functional.WriteOnlyManyEntriesCommand command) -
Uses of InvocationContext in org.infinispan.container.impl
Modifier and TypeMethodDescription<K,
V> InternalCacheValue<V> InternalEntryFactory.getValueFromCtx
(K key, InvocationContext ctx) Retrieve anInternalCacheValue
from the providedInvocationContext
if anInternalCacheEntry
exists, otherwise createInternalCacheEntry
from the context'sCacheEntry
and return its value.<K,
V> InternalCacheValue<V> InternalEntryFactoryImpl.getValueFromCtx
(K key, InvocationContext ctx) EntryFactory.wrapEntryForReading
(InvocationContext ctx, Object key, int segment, boolean isOwner, boolean hasLock, CompletionStage<Void> previousStage) Wraps an entry for reading.final CompletionStage<Void>
EntryFactoryImpl.wrapEntryForReading
(InvocationContext ctx, Object key, int segment, boolean isOwner, boolean hasLock, CompletionStage<Void> previousStage) EntryFactory.wrapEntryForWriting
(InvocationContext ctx, Object key, int segment, boolean isOwner, boolean isRead, CompletionStage<Void> previousStage) Insert an entry that exists in the data container into the context.EntryFactoryImpl.wrapEntryForWriting
(InvocationContext ctx, Object key, int segment, boolean isOwner, boolean isRead, CompletionStage<Void> previousStage) void
EntryFactory.wrapEntryForWritingSkipExpiration
(InvocationContext ctx, Object key, int segment, boolean isOwner) Insert an entry that exists in the data container into the context, even if it is expired Doesn't do anything if the key was already wrappedvoid
EntryFactoryImpl.wrapEntryForWritingSkipExpiration
(InvocationContext ctx, Object key, int segment, boolean isOwner) void
EntryFactory.wrapExternalEntry
(InvocationContext ctx, Object key, CacheEntry externalEntry, boolean isRead, boolean isWrite) Insert an external entry (e.g.void
EntryFactoryImpl.wrapExternalEntry
(InvocationContext ctx, Object key, CacheEntry externalEntry, boolean isRead, boolean isWrite) -
Uses of InvocationContext in org.infinispan.context
Modifier and TypeMethodDescriptionInvocationContext.clone()
Clones the invocation context.InvocationContextFactory.createClearNonTxInvocationContext()
Will create anClearInvocationContext
with theAbstractInvocationContext.isOriginLocal()
returning true.InvocationContextFactory.createInvocationContext
(boolean isWrite, int keyCount) If we are in a tx scope this will return anTxInvocationContext
.InvocationContextFactory.createInvocationContext
(javax.transaction.Transaction tx, boolean implicitTransaction) Creates an invocation contextInvocationContextFactory.createRemoteInvocationContext
(Address origin) Returns anNonTxInvocationContext
whoseAbstractInvocationContext.isOriginLocal()
flag will be true.InvocationContextFactory.createRemoteInvocationContextForCommand
(VisitableCommand cacheCommand, Address origin) AsInvocationContextFactory.createRemoteInvocationContext(org.infinispan.remoting.transport.Address)
, but returning the flags to the context from the Command if any Flag was set.InvocationContextFactory.createSingleKeyNonTxInvocationContext()
Will create anNonTxInvocationContext
with theAbstractInvocationContext.isOriginLocal()
returning true. -
Uses of InvocationContext in org.infinispan.context.impl
Modifier and TypeInterfaceDescriptioninterface
TxInvocationContext<T extends AbstractCacheTransaction>
Interface defining additional functionality for invocation contexts that propagate within a transaction's scope.Modifier and TypeClassDescriptionclass
Common features of transaction and invocation contextsclass
Support class forTxInvocationContext
.class
Implementation ofInvocationContext
used by theClearCommand
.final class
This context is a non-context for operations such as eviction which are not related to the method invocation which caused them.class
Invocation context to be used for locally originated transactions.class
Context to be used for non transactional calls, both remote and local.class
Context to be used for transaction that originated remotely.final class
Modifier and TypeMethodDescriptionAbstractInvocationContext.clone()
ImmutableContext.clone()
SingleKeyNonTxInvocationContext.clone()
final InvocationContext
AbstractInvocationContextFactory.createClearNonTxInvocationContext()
NonTransactionalInvocationContextFactory.createInvocationContext
(boolean isWrite, int keyCount) NonTransactionalInvocationContextFactory.createInvocationContext
(javax.transaction.Transaction tx, boolean implicitTransaction) TransactionalInvocationContextFactory.createInvocationContext
(boolean isWrite, int keyCount) TransactionalInvocationContextFactory.createInvocationContext
(javax.transaction.Transaction tx, boolean implicitTransaction) AbstractInvocationContextFactory.createRemoteInvocationContextForCommand
(VisitableCommand cacheCommand, Address origin) NonTransactionalInvocationContextFactory.createSingleKeyNonTxInvocationContext()
TransactionalInvocationContextFactory.createSingleKeyNonTxInvocationContext()
Modifier and TypeMethodDescriptionstatic Flag
FlagBitSets.extractStateTransferFlag
(InvocationContext ctx, FlagAffectedCommand command) -
Uses of InvocationContext in org.infinispan.distribution.group.impl
Modifier and TypeMethodDescription<K,
V> Map<K, V> GroupManager.collect
(CacheStream<? extends CacheEntry<K, V>> stream, InvocationContext ctx, String groupName) Collects all entries belonging to a single group.<K,
V> Map<K, V> GroupManagerImpl.collect
(CacheStream<? extends CacheEntry<K, V>> stream, InvocationContext ctx, String groupName) -
Uses of InvocationContext in org.infinispan.expiration.impl
Modifier and TypeMethodDescriptionTouchCommand.acceptVisitor
(InvocationContext ctx, Visitor visitor) -
Uses of InvocationContext in org.infinispan.extendedstats.topK
Modifier and TypeMethodDescriptionCacheUsageInterceptor.visitGetAllCommand
(InvocationContext ctx, org.infinispan.commands.read.GetAllCommand command) CacheUsageInterceptor.visitGetKeyValueCommand
(InvocationContext ctx, org.infinispan.commands.read.GetKeyValueCommand command) CacheUsageInterceptor.visitPutKeyValueCommand
(InvocationContext ctx, org.infinispan.commands.write.PutKeyValueCommand command) -
Uses of InvocationContext in org.infinispan.extendedstats.wrappers
Modifier and TypeMethodDescriptionvoid
ExtendedStatisticLockManager.unlockAll
(InvocationContext ctx) void
TopKeyLockManager.unlockAll
(InvocationContext ctx) ExtendedStatisticInterceptor.visitComputeCommand
(InvocationContext ctx, org.infinispan.commands.write.ComputeCommand command) ExtendedStatisticInterceptor.visitComputeIfAbsentCommand
(InvocationContext ctx, org.infinispan.commands.write.ComputeIfAbsentCommand command) ExtendedStatisticInterceptor.visitGetAllCommand
(InvocationContext ctx, org.infinispan.commands.read.GetAllCommand command) ExtendedStatisticInterceptor.visitGetKeyValueCommand
(InvocationContext ctx, org.infinispan.commands.read.GetKeyValueCommand command) ExtendedStatisticInterceptor.visitPutKeyValueCommand
(InvocationContext ctx, org.infinispan.commands.write.PutKeyValueCommand command) ExtendedStatisticInterceptor.visitReadWriteKeyCommand
(InvocationContext ctx, org.infinispan.commands.functional.ReadWriteKeyCommand command) ExtendedStatisticInterceptor.visitRemoveCommand
(InvocationContext ctx, org.infinispan.commands.write.RemoveCommand command) ExtendedStatisticInterceptor.visitReplaceCommand
(InvocationContext ctx, org.infinispan.commands.write.ReplaceCommand command) -
Uses of InvocationContext in org.infinispan.functional.impl
Modifier and TypeMethodDescriptionstatic Object
StatsEnvelope.unpack
(InvocationContext ctx, VisitableCommand command, Object o) static Object
StatsEnvelope.unpackCollection
(InvocationContext ctx, VisitableCommand command, Object o) static Object
StatsEnvelope.unpackStream
(InvocationContext ctx, VisitableCommand command, Object o) -
Uses of InvocationContext in org.infinispan.interceptors
Modifier and TypeMethodDescriptionvoid
InvocationFinallyAction.accept
(InvocationContext rCtx, C rCommand, Object rv, Throwable throwable) Process the result or the exception from an invocation stage and possibly throw an exception.void
InvocationSuccessAction.accept
(InvocationContext rCtx, C rCommand, Object rv) Process the result from a successful invocation stage and possibly throw an exception.ExceptionSyncInvocationStage.addCallback
(InvocationContext ctx, VisitableCommand command, InvocationCallback function) abstract <C extends VisitableCommand>
ObjectInvocationStage.addCallback
(InvocationContext ctx, C command, InvocationCallback<C> function) After the current stage completes, invokefunction
and return its result.<C extends VisitableCommand>
ObjectSyncInvocationStage.addCallback
(InvocationContext ctx, C command, InvocationCallback<C> function) ExceptionSyncInvocationStage.andExceptionally
(InvocationContext ctx, VisitableCommand command, InvocationExceptionFunction function) <C extends VisitableCommand>
ObjectInvocationStage.andExceptionally
(InvocationContext ctx, C command, InvocationExceptionFunction<C> function) After the current stage completes exceptionally, invokefunction
and return its result.<C extends VisitableCommand>
ObjectSyncInvocationStage.andExceptionally
(InvocationContext ctx, C command, InvocationExceptionFunction<C> function) <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) ExceptionSyncInvocationStage.andFinally
(InvocationContext ctx, VisitableCommand command, InvocationFinallyAction action) <C extends VisitableCommand>
ObjectInvocationStage.andFinally
(InvocationContext ctx, C command, InvocationFinallyAction<C> action) After the current stage completes, invokeaction
.<C extends VisitableCommand>
ObjectSyncInvocationStage.andFinally
(InvocationContext ctx, C command, InvocationFinallyAction<C> action) <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) ExceptionSyncInvocationStage.andHandle
(InvocationContext ctx, VisitableCommand command, InvocationFinallyFunction function) <C extends VisitableCommand>
ObjectInvocationStage.andHandle
(InvocationContext ctx, C command, InvocationFinallyFunction<C> function) After the current stage completes, invokefunction
and return its result.<C extends VisitableCommand>
ObjectSyncInvocationStage.andHandle
(InvocationContext ctx, C command, InvocationFinallyFunction<C> function) <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) InvocationCallback.apply
(InvocationContext rCtx, C rCommand, Object rv, Throwable throwable) Process the result or the exception from an invocation stage and either return a simple value, return a newInvocationStage
, or throw an exception.default Object
InvocationExceptionFunction.apply
(InvocationContext rCtx, C rCommand, Object rv, Throwable throwable) InvocationExceptionFunction.apply
(InvocationContext rCtx, C rCommand, Throwable throwable) Process the result from a successful invocation stage and either return a simple value, return a newInvocationStage
, or throw an exception.default Object
InvocationFinallyAction.apply
(InvocationContext rCtx, C rCommand, Object rv, Throwable throwable) default Object
InvocationSuccessAction.apply
(InvocationContext rCtx, C rCommand, Object rv, Throwable throwable) InvocationSuccessFunction.apply
(InvocationContext rCtx, C rCommand, Object rv) Process the result from a successful invocation stage and either return a simple value, return a newInvocationStage
, or throw an exception.default Object
InvocationSuccessFunction.apply
(InvocationContext rCtx, C rCommand, Object rv, Throwable throwable) final Object
BaseAsyncInterceptor.asyncInvokeNext
(InvocationContext ctx, VisitableCommand command, Collection<? extends CompletionStage<?>> delays) Suspend invocation until alldelays
complete, then if successful invoke the next interceptor.final Object
BaseAsyncInterceptor.asyncInvokeNext
(InvocationContext ctx, VisitableCommand command, CompletionStage<?> delay) Suspend the invocation untildelay
completes, then if successful invoke the next interceptor.final Object
BaseAsyncInterceptor.asyncInvokeNext
(InvocationContext ctx, VisitableCommand command, InvocationStage invocationStage) Suspend the invocation untilinvocationStage
completes, then if successful invoke the next interceptor.protected Object
DDAsyncInterceptor.handleDefault
(InvocationContext ctx, VisitableCommand command) AsyncInterceptorChain.invoke
(InvocationContext ctx, VisitableCommand command) Walks the command through the interceptor chain.EmptyAsyncInterceptorChain.invoke
(InvocationContext ctx, VisitableCommand command) AsyncInterceptorChain.invokeAsync
(InvocationContext ctx, VisitableCommand command) Walks the command through the interceptor chain.EmptyAsyncInterceptorChain.invokeAsync
(InvocationContext ctx, VisitableCommand command) final Object
BaseAsyncInterceptor.invokeNext
(InvocationContext ctx, VisitableCommand command) Invoke the next interceptor, possibly with a new command.final <C extends VisitableCommand>
ObjectBaseAsyncInterceptor.invokeNextAndExceptionally
(InvocationContext ctx, C command, InvocationExceptionFunction<C> function) Invoke the next interceptor, possibly with a new command, and execute anInvocationCallback
after all the interceptors have finished with an exception.final <C extends VisitableCommand>
ObjectBaseAsyncInterceptor.invokeNextAndFinally
(InvocationContext ctx, C command, InvocationFinallyAction<C> action) Invoke the next interceptor, possibly with a new command, and execute anInvocationCallback
after all the interceptors have finished, with or without an exception.final <C extends VisitableCommand>
ObjectBaseAsyncInterceptor.invokeNextAndHandle
(InvocationContext ctx, C command, InvocationFinallyFunction<C> function) Invoke the next interceptor, possibly with a new command, and execute anInvocationCallback
after all the interceptors have finished, with or without an exception.final <C extends VisitableCommand>
ObjectBaseAsyncInterceptor.invokeNextThenAccept
(InvocationContext ctx, C command, InvocationSuccessAction<C> action) Invoke the next interceptor, possibly with a new command, and execute anInvocationCallback
after all the interceptors have finished successfully.final <C extends VisitableCommand>
ObjectBaseAsyncInterceptor.invokeNextThenApply
(InvocationContext ctx, C command, InvocationSuccessFunction<C> function) Invoke the next interceptor, possibly with a new command, and execute anInvocationCallback
after all the interceptors have finished successfully.AsyncInterceptorChain.invokeStage
(InvocationContext ctx, VisitableCommand command) Walks the command through the interceptor chain.EmptyAsyncInterceptorChain.invokeStage
(InvocationContext ctx, VisitableCommand command) ExceptionSyncInvocationStage.thenAccept
(InvocationContext ctx, VisitableCommand command, InvocationSuccessAction function) <C extends VisitableCommand>
ObjectInvocationStage.thenAccept
(InvocationContext ctx, C command, InvocationSuccessAction<C> action) After the current stage completes successfully, invokeaction
.<C extends VisitableCommand>
ObjectSyncInvocationStage.thenAccept
(InvocationContext ctx, C command, InvocationSuccessAction<C> action) <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) ExceptionSyncInvocationStage.thenApply
(InvocationContext ctx, VisitableCommand command, InvocationSuccessFunction function) <C extends VisitableCommand>
ObjectInvocationStage.thenApply
(InvocationContext ctx, C command, InvocationSuccessFunction<C> function) After the current stage completes successfully, invokefunction
and return its result.<C extends VisitableCommand>
ObjectSyncInvocationStage.thenApply
(InvocationContext ctx, C command, InvocationSuccessFunction<C> function) <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.ExceptionSyncInvocationStage.thenReturn
(InvocationContext ctx, VisitableCommand command, Object returnValue) InvocationStage.thenReturn
(InvocationContext ctx, VisitableCommand command, Object returnValue) Overrides the return value of thisInvocationStage
if it is completed successfully.SyncInvocationStage.thenReturn
(InvocationContext ctx, VisitableCommand command, Object returnValue) DDAsyncInterceptor.visitClearCommand
(InvocationContext ctx, org.infinispan.commands.write.ClearCommand command) AsyncInterceptor.visitCommand
(InvocationContext ctx, VisitableCommand command) Perform some work for a command invocation.final Object
DDAsyncInterceptor.visitCommand
(InvocationContext ctx, VisitableCommand command) DDAsyncInterceptor.visitComputeCommand
(InvocationContext ctx, org.infinispan.commands.write.ComputeCommand command) DDAsyncInterceptor.visitComputeIfAbsentCommand
(InvocationContext ctx, org.infinispan.commands.write.ComputeIfAbsentCommand command) DDAsyncInterceptor.visitEntrySetCommand
(InvocationContext ctx, org.infinispan.commands.read.EntrySetCommand command) DDAsyncInterceptor.visitEvictCommand
(InvocationContext ctx, org.infinispan.commands.write.EvictCommand command) DDAsyncInterceptor.visitGetAllCommand
(InvocationContext ctx, org.infinispan.commands.read.GetAllCommand command) DDAsyncInterceptor.visitGetCacheEntryCommand
(InvocationContext ctx, org.infinispan.commands.read.GetCacheEntryCommand command) DDAsyncInterceptor.visitGetKeyValueCommand
(InvocationContext ctx, org.infinispan.commands.read.GetKeyValueCommand command) DDAsyncInterceptor.visitInvalidateCommand
(InvocationContext ctx, org.infinispan.commands.write.InvalidateCommand command) DDAsyncInterceptor.visitInvalidateL1Command
(InvocationContext ctx, org.infinispan.commands.write.InvalidateL1Command command) DDAsyncInterceptor.visitIracPutKeyValueCommand
(InvocationContext ctx, org.infinispan.commands.write.IracPutKeyValueCommand command) DDAsyncInterceptor.visitKeySetCommand
(InvocationContext ctx, org.infinispan.commands.read.KeySetCommand command) DDAsyncInterceptor.visitPutKeyValueCommand
(InvocationContext ctx, org.infinispan.commands.write.PutKeyValueCommand command) DDAsyncInterceptor.visitPutMapCommand
(InvocationContext ctx, org.infinispan.commands.write.PutMapCommand command) DDAsyncInterceptor.visitReadOnlyKeyCommand
(InvocationContext ctx, org.infinispan.commands.functional.ReadOnlyKeyCommand command) DDAsyncInterceptor.visitReadOnlyManyCommand
(InvocationContext ctx, org.infinispan.commands.functional.ReadOnlyManyCommand command) DDAsyncInterceptor.visitReadWriteKeyCommand
(InvocationContext ctx, org.infinispan.commands.functional.ReadWriteKeyCommand command) DDAsyncInterceptor.visitReadWriteKeyValueCommand
(InvocationContext ctx, org.infinispan.commands.functional.ReadWriteKeyValueCommand command) DDAsyncInterceptor.visitReadWriteManyCommand
(InvocationContext ctx, org.infinispan.commands.functional.ReadWriteManyCommand command) DDAsyncInterceptor.visitReadWriteManyEntriesCommand
(InvocationContext ctx, org.infinispan.commands.functional.ReadWriteManyEntriesCommand command) DDAsyncInterceptor.visitRemoveCommand
(InvocationContext ctx, org.infinispan.commands.write.RemoveCommand command) DDAsyncInterceptor.visitReplaceCommand
(InvocationContext ctx, org.infinispan.commands.write.ReplaceCommand command) DDAsyncInterceptor.visitSizeCommand
(InvocationContext ctx, org.infinispan.commands.read.SizeCommand command) DDAsyncInterceptor.visitTouchCommand
(InvocationContext ctx, TouchCommand command) DDAsyncInterceptor.visitUnknownCommand
(InvocationContext ctx, VisitableCommand command) DDAsyncInterceptor.visitWriteOnlyKeyCommand
(InvocationContext ctx, org.infinispan.commands.functional.WriteOnlyKeyCommand command) DDAsyncInterceptor.visitWriteOnlyKeyValueCommand
(InvocationContext ctx, org.infinispan.commands.functional.WriteOnlyKeyValueCommand command) DDAsyncInterceptor.visitWriteOnlyManyCommand
(InvocationContext ctx, org.infinispan.commands.functional.WriteOnlyManyCommand command) DDAsyncInterceptor.visitWriteOnlyManyEntriesCommand
(InvocationContext ctx, org.infinispan.commands.functional.WriteOnlyManyEntriesCommand command) -
Uses of InvocationContext in org.infinispan.notifications.cachelistener
Modifier and TypeMethodDescriptionstatic CompletionStage<Void>
NotifyHelper.entryCommitted
(CacheNotifier notifier, FunctionalNotifier functionalNotifier, boolean created, boolean removed, boolean expired, CacheEntry entry, InvocationContext ctx, FlagAffectedCommand command, Object previousValue, Metadata previousMetadata, EvictionManager evictionManager) CacheNotifier.notifyCacheEntriesEvicted
(Collection<Map.Entry<K, V>> entries, InvocationContext ctx, FlagAffectedCommand command) Notifies all registered listeners of aCacheEntriesEvictedEvent
event.CacheNotifierImpl.notifyCacheEntriesEvicted
(Collection<Map.Entry<K, V>> entries, InvocationContext ctx, FlagAffectedCommand command) CacheNotifier.notifyCacheEntryActivated
(K key, V value, boolean pre, InvocationContext ctx, FlagAffectedCommand command) Notifies all registered listeners of aCacheEntryActivatedEvent
event.CacheNotifierImpl.notifyCacheEntryActivated
(K key, V value, boolean pre, InvocationContext ctx, FlagAffectedCommand command) CacheNotifier.notifyCacheEntryCreated
(K key, V value, Metadata metadata, boolean pre, InvocationContext ctx, FlagAffectedCommand command) Notifies all registered listeners of aCacheEntryCreatedEvent
event.CacheNotifierImpl.notifyCacheEntryCreated
(K key, V value, Metadata metadata, boolean pre, InvocationContext ctx, FlagAffectedCommand command) CacheNotifier.notifyCacheEntryExpired
(K key, V value, Metadata metadata, InvocationContext ctx) Notifies all registered listeners of a CacheEntryExpired event.CacheNotifierImpl.notifyCacheEntryExpired
(K key, V value, Metadata metadata, InvocationContext ctx) CacheNotifier.notifyCacheEntryInvalidated
(K key, V value, Metadata metadata, boolean pre, InvocationContext ctx, FlagAffectedCommand command) Notifies all registered listeners of aCacheEntryInvalidatedEvent
event.CacheNotifierImpl.notifyCacheEntryInvalidated
(K key, V value, Metadata metadata, boolean pre, InvocationContext ctx, FlagAffectedCommand command) CacheNotifier.notifyCacheEntryLoaded
(K key, V value, boolean pre, InvocationContext ctx, FlagAffectedCommand command) Notifies all registered listeners of aCacheEntryLoadedEvent
event.CacheNotifierImpl.notifyCacheEntryLoaded
(K key, V value, boolean pre, InvocationContext ctx, FlagAffectedCommand command) CacheNotifier.notifyCacheEntryModified
(K key, V value, Metadata metadata, V previousValue, Metadata previousMetadata, boolean pre, InvocationContext ctx, FlagAffectedCommand command) Notifies all registered listeners of aCacheEntryModifiedEvent
event.CacheNotifierImpl.notifyCacheEntryModified
(K key, V value, Metadata metadata, V previousValue, Metadata previousMetadata, boolean pre, InvocationContext ctx, FlagAffectedCommand command) CacheNotifier.notifyCacheEntryPassivated
(K key, V value, boolean pre, InvocationContext ctx, FlagAffectedCommand command) Notifies all registered listeners of aCacheEntryPassivatedEvent
event.CacheNotifierImpl.notifyCacheEntryPassivated
(K key, V value, boolean pre, InvocationContext ctx, FlagAffectedCommand command) CacheNotifier.notifyCacheEntryRemoved
(K key, V previousValue, Metadata previousMetadata, boolean pre, InvocationContext ctx, FlagAffectedCommand command) Notifies all registered listeners of aCacheEntryRemovedEvent
event.CacheNotifierImpl.notifyCacheEntryRemoved
(K key, V previousValue, Metadata previousMetadata, boolean pre, InvocationContext ctx, FlagAffectedCommand command) CacheNotifier.notifyCacheEntryVisited
(K key, V value, boolean pre, InvocationContext ctx, FlagAffectedCommand command) Notifies all registered listeners of aCacheEntryVisitedEvent
event.CacheNotifierImpl.notifyCacheEntryVisited
(K key, V value, boolean pre, InvocationContext ctx, FlagAffectedCommand command) CacheNotifier.notifyTransactionCompleted
(GlobalTransaction transaction, boolean successful, InvocationContext ctx) Notifies all registered listeners of a transaction completion event.CacheNotifierImpl.notifyTransactionCompleted
(GlobalTransaction transaction, boolean successful, InvocationContext ctx) -
Uses of InvocationContext in org.infinispan.partitionhandling.impl
Modifier and TypeMethodDescriptionprotected Object
PartitionHandlingInterceptor.handleSingleWrite
(InvocationContext ctx, org.infinispan.commands.write.DataWriteCommand command) protected void
PartitionHandlingInterceptor.postTxCommandCheck
(InvocationContext rCtx, VisitableCommand rCommand, Object rv) PartitionHandlingInterceptor.visitClearCommand
(InvocationContext ctx, org.infinispan.commands.write.ClearCommand command) PartitionHandlingInterceptor.visitComputeCommand
(InvocationContext ctx, org.infinispan.commands.write.ComputeCommand command) PartitionHandlingInterceptor.visitComputeIfAbsentCommand
(InvocationContext ctx, org.infinispan.commands.write.ComputeIfAbsentCommand command) PartitionHandlingInterceptor.visitEntrySetCommand
(InvocationContext ctx, org.infinispan.commands.read.EntrySetCommand command) PartitionHandlingInterceptor.visitGetAllCommand
(InvocationContext ctx, org.infinispan.commands.read.GetAllCommand command) final Object
PartitionHandlingInterceptor.visitGetCacheEntryCommand
(InvocationContext ctx, org.infinispan.commands.read.GetCacheEntryCommand command) final Object
PartitionHandlingInterceptor.visitGetKeyValueCommand
(InvocationContext ctx, org.infinispan.commands.read.GetKeyValueCommand command) PartitionHandlingInterceptor.visitIracPutKeyValueCommand
(InvocationContext ctx, org.infinispan.commands.write.IracPutKeyValueCommand command) PartitionHandlingInterceptor.visitKeySetCommand
(InvocationContext ctx, org.infinispan.commands.read.KeySetCommand command) PartitionHandlingInterceptor.visitPutKeyValueCommand
(InvocationContext ctx, org.infinispan.commands.write.PutKeyValueCommand command) PartitionHandlingInterceptor.visitPutMapCommand
(InvocationContext ctx, org.infinispan.commands.write.PutMapCommand command) PartitionHandlingInterceptor.visitReadWriteKeyCommand
(InvocationContext ctx, org.infinispan.commands.functional.ReadWriteKeyCommand command) PartitionHandlingInterceptor.visitRemoveCommand
(InvocationContext ctx, org.infinispan.commands.write.RemoveCommand command) PartitionHandlingInterceptor.visitReplaceCommand
(InvocationContext ctx, org.infinispan.commands.write.ReplaceCommand command) -
Uses of InvocationContext in org.infinispan.persistence
Modifier and TypeMethodDescriptionstatic <K,
V> MarshallableEntry<K, V> PersistenceUtil.loadAndCheckExpiration
(org.infinispan.persistence.manager.PersistenceManager persistenceManager, Object key, InvocationContext context, TimeService timeService) Deprecated, for removal: This API element is subject to removal in a future version.since 9.4 This method references PersistenceManager, which isn't a public classstatic <K,
V> InternalCacheEntry<K, V> PersistenceUtil.loadAndComputeInDataContainer
(DataContainer<K, V> dataContainer, int segment, org.infinispan.persistence.manager.PersistenceManager persistenceManager, K key, InvocationContext ctx, TimeService timeService, DataContainer.ComputeAction<K, V> action) Deprecated, for removal: This API element is subject to removal in a future version.since 9.4 This method references PersistenceManager, which isn't a public classstatic <K,
V> InternalCacheEntry<K, V> PersistenceUtil.loadAndStoreInDataContainer
(DataContainer<K, V> dataContainer, int segment, org.infinispan.persistence.manager.PersistenceManager persistenceManager, K key, InvocationContext ctx, TimeService timeService, AtomicReference<Boolean> isLoaded) Deprecated, for removal: This API element is subject to removal in a future version.since 9.4 This method references PersistenceManager, which isn't a public classstatic <K,
V> InternalCacheEntry<K, V> PersistenceUtil.loadAndStoreInDataContainer
(DataContainer<K, V> dataContainer, org.infinispan.persistence.manager.PersistenceManager persistenceManager, K key, InvocationContext ctx, TimeService timeService, AtomicReference<Boolean> isLoaded) Deprecated, for removal: This API element is subject to removal in a future version.since 9.4 This method references PersistenceManager, which isn't a public class -
Uses of InvocationContext in org.infinispan.persistence.internal
Modifier and TypeMethodDescriptionstatic <K,
V> MarshallableEntry<K, V> PersistenceUtil.loadAndCheckExpiration
(org.infinispan.persistence.manager.PersistenceManager persistenceManager, Object key, int segment, InvocationContext context) static <K,
V> InternalCacheEntry<K, V> PersistenceUtil.loadAndComputeInDataContainer
(DataContainer<K, V> dataContainer, int segment, org.infinispan.persistence.manager.PersistenceManager persistenceManager, K key, InvocationContext ctx, TimeService timeService, DataContainer.ComputeAction<K, V> action) static <K,
V> InternalCacheEntry<K, V> PersistenceUtil.loadAndStoreInDataContainer
(DataContainer<K, V> dataContainer, int segment, org.infinispan.persistence.manager.PersistenceManager persistenceManager, K key, InvocationContext ctx, TimeService timeService, AtomicReference<Boolean> isLoaded) static <K,
V> InternalCacheEntry<K, V> PersistenceUtil.loadAndStoreInDataContainer
(DataContainer<K, V> dataContainer, org.infinispan.persistence.manager.PersistenceManager persistenceManager, K key, InvocationContext ctx, TimeService timeService, AtomicReference<Boolean> isLoaded) -
Uses of InvocationContext in org.infinispan.persistence.support
Modifier and TypeMethodDescriptionDelegatingPersistenceManager.writeMapCommand
(org.infinispan.commands.write.PutMapCommand putMapCommand, InvocationContext ctx, BiPredicate<? super org.infinispan.commands.write.PutMapCommand, Object> commandKeyPredicate) -
Uses of InvocationContext in org.infinispan.persistence.util
Modifier and TypeMethodDescriptionEntryLoader.loadAndStoreInDataContainer
(InvocationContext ctx, Object key, int segment, FlagAffectedCommand cmd) Load and store the entry if present in the data container, returning the entry in the CompletionStage -
Uses of InvocationContext in org.infinispan.reactive.publisher.impl
Modifier and TypeMethodDescription<R> SegmentPublisherSupplier<R>
ClusterPublisherManager.entryPublisher
(IntSet segments, Set<K> keysToInclude, InvocationContext invocationContext, long explicitFlags, DeliveryGuarantee deliveryGuarantee, int batchSize, Function<? super org.reactivestreams.Publisher<CacheEntry<K, V>>, ? extends org.reactivestreams.Publisher<R>> transformer) Performs the given transformer on data in the cache, resulting in multiple values.<R> SegmentPublisherSupplier<R>
ClusterPublisherManagerImpl.entryPublisher
(IntSet segments, Set<K> keysToInclude, InvocationContext invocationContext, long explicitFlags, DeliveryGuarantee deliveryGuarantee, int batchSize, Function<? super org.reactivestreams.Publisher<CacheEntry<K, V>>, ? extends org.reactivestreams.Publisher<R>> transformer) <R> SegmentPublisherSupplier<R>
LocalClusterPublisherManagerImpl.entryPublisher
(IntSet segments, Set<K> keysToInclude, InvocationContext invocationContext, long explicitFlags, DeliveryGuarantee deliveryGuarantee, int batchSize, Function<? super org.reactivestreams.Publisher<CacheEntry<K, V>>, ? extends org.reactivestreams.Publisher<R>> transformer) <R> SegmentPublisherSupplier<R>
PartitionAwareClusterPublisherManager.entryPublisher
(IntSet segments, Set<K> keysToInclude, InvocationContext invocationContext, long explicitFlags, DeliveryGuarantee deliveryGuarantee, int batchSize, Function<? super org.reactivestreams.Publisher<CacheEntry<K, V>>, ? extends org.reactivestreams.Publisher<R>> transformer) <R> CompletionStage<R>
ClusterPublisherManager.entryReduction
(boolean parallelPublisher, IntSet segments, Set<K> keysToInclude, InvocationContext invocationContext, long explicitFlags, DeliveryGuarantee deliveryGuarantee, Function<? super org.reactivestreams.Publisher<CacheEntry<K, V>>, ? extends CompletionStage<R>> transformer, Function<? super org.reactivestreams.Publisher<R>, ? extends CompletionStage<R>> finalizer) Performs the given transformer and finalizer on data in the cache, resulting in a single value.<R> CompletionStage<R>
ClusterPublisherManagerImpl.entryReduction
(boolean parallelPublisher, IntSet segments, Set<K> keysToInclude, InvocationContext ctx, long explicitFlags, DeliveryGuarantee deliveryGuarantee, Function<? super org.reactivestreams.Publisher<CacheEntry<K, V>>, ? extends CompletionStage<R>> transformer, Function<? super org.reactivestreams.Publisher<R>, ? extends CompletionStage<R>> finalizer) <R> CompletionStage<R>
LocalClusterPublisherManagerImpl.entryReduction
(boolean parallelPublisher, IntSet segments, Set<K> keysToInclude, InvocationContext invocationContext, long explicitFlags, DeliveryGuarantee deliveryGuarantee, Function<? super org.reactivestreams.Publisher<CacheEntry<K, V>>, ? extends CompletionStage<R>> transformer, Function<? super org.reactivestreams.Publisher<R>, ? extends CompletionStage<R>> finalizer) <R> CompletionStage<R>
PartitionAwareClusterPublisherManager.entryReduction
(boolean parallelPublisher, IntSet segments, Set<K> keysToInclude, InvocationContext ctx, long explicitFlags, DeliveryGuarantee deliveryGuarantee, Function<? super org.reactivestreams.Publisher<CacheEntry<K, V>>, ? extends CompletionStage<R>> transformer, Function<? super org.reactivestreams.Publisher<R>, ? extends CompletionStage<R>> finalizer) <R> SegmentPublisherSupplier<R>
ClusterPublisherManager.keyPublisher
(IntSet segments, Set<K> keysToInclude, InvocationContext invocationContext, long explicitFlags, DeliveryGuarantee deliveryGuarantee, int batchSize, Function<? super org.reactivestreams.Publisher<K>, ? extends org.reactivestreams.Publisher<R>> transformer) Same asClusterPublisherManager.entryPublisher(IntSet, Set, InvocationContext, long, DeliveryGuarantee, int, Function)
except that the source publisher provided to the transformer is made up of keys only.<R> SegmentPublisherSupplier<R>
ClusterPublisherManagerImpl.keyPublisher
(IntSet segments, Set<K> keysToInclude, InvocationContext invocationContext, long explicitFlags, DeliveryGuarantee deliveryGuarantee, int batchSize, Function<? super org.reactivestreams.Publisher<K>, ? extends org.reactivestreams.Publisher<R>> transformer) <R> SegmentPublisherSupplier<R>
LocalClusterPublisherManagerImpl.keyPublisher
(IntSet segments, Set<K> keysToInclude, InvocationContext invocationContext, long explicitFlags, DeliveryGuarantee deliveryGuarantee, int batchSize, Function<? super org.reactivestreams.Publisher<K>, ? extends org.reactivestreams.Publisher<R>> transformer) <R> SegmentPublisherSupplier<R>
PartitionAwareClusterPublisherManager.keyPublisher
(IntSet segments, Set<K> keysToInclude, InvocationContext invocationContext, long explicitFlags, DeliveryGuarantee deliveryGuarantee, int batchSize, Function<? super org.reactivestreams.Publisher<K>, ? extends org.reactivestreams.Publisher<R>> transformer) <R> CompletionStage<R>
ClusterPublisherManager.keyReduction
(boolean parallelPublisher, IntSet segments, Set<K> keysToInclude, InvocationContext invocationContext, long explicitFlags, DeliveryGuarantee deliveryGuarantee, Function<? super org.reactivestreams.Publisher<K>, ? extends CompletionStage<R>> transformer, Function<? super org.reactivestreams.Publisher<R>, ? extends CompletionStage<R>> finalizer) Same asClusterPublisherManager.entryReduction(boolean, IntSet, Set, InvocationContext, long, DeliveryGuarantee, Function, Function)
except that the source publisher provided to the transformer is made up of keys only.<R> CompletionStage<R>
ClusterPublisherManagerImpl.keyReduction
(boolean parallelPublisher, IntSet segments, Set<K> keysToInclude, InvocationContext ctx, long explicitFlags, DeliveryGuarantee deliveryGuarantee, Function<? super org.reactivestreams.Publisher<K>, ? extends CompletionStage<R>> transformer, Function<? super org.reactivestreams.Publisher<R>, ? extends CompletionStage<R>> finalizer) <R> CompletionStage<R>
LocalClusterPublisherManagerImpl.keyReduction
(boolean parallelPublisher, IntSet segments, Set<K> keysToInclude, InvocationContext invocationContext, long explicitFlags, DeliveryGuarantee deliveryGuarantee, Function<? super org.reactivestreams.Publisher<K>, ? extends CompletionStage<R>> transformer, Function<? super org.reactivestreams.Publisher<R>, ? extends CompletionStage<R>> finalizer) <R> CompletionStage<R>
PartitionAwareClusterPublisherManager.keyReduction
(boolean parallelPublisher, IntSet segments, Set<K> keysToInclude, InvocationContext ctx, long explicitFlags, DeliveryGuarantee deliveryGuarantee, Function<? super org.reactivestreams.Publisher<K>, ? extends CompletionStage<R>> transformer, Function<? super org.reactivestreams.Publisher<R>, ? extends CompletionStage<R>> finalizer) ClusterPublisherManager.sizePublisher
(IntSet segments, InvocationContext ctx, long flags) ClusterPublisherManagerImpl.sizePublisher
(IntSet segments, InvocationContext ctx, long flags) LocalClusterPublisherManagerImpl.sizePublisher
(IntSet segments, InvocationContext ctx, long flags) -
Uses of InvocationContext in org.infinispan.stream.impl
Modifier and TypeFieldDescriptionprotected final InvocationContext
AbstractCacheStream.invocationContext
ModifierConstructorDescriptionprotected
AbstractCacheStream
(Address localAddress, boolean parallel, InvocationContext ctx, long explicitFlags, int distributedBatchSize, Executor executor, ComponentRegistry registry, Function<? super Original, ?> toKeyFunction, ClusterPublisherManager<?, ?> clusterPublisherManager) DistributedCacheStream
(Address localAddress, boolean parallel, InvocationContext ctx, long explicitFlags, int distributedBatchSize, Executor executor, ComponentRegistry registry, Function<? super Original, ?> toKeyFunction, ClusterPublisherManager<?, ?> clusterPublisherManager) Standard constructor requiring all pertinent information to properly utilize a distributed cache stream -
Uses of InvocationContext in org.infinispan.util.concurrent.locks
Modifier and TypeMethodDescriptionvoid
LockManager.unlockAll
(InvocationContext context) Same asunlockAll(context.getLockedKeys(), context.getKeyLockOwner();
. -
Uses of InvocationContext in org.infinispan.util.concurrent.locks.impl