Uses of Interface
org.infinispan.context.InvocationContext
Packages that use 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
Methods in org.infinispan.cache.impl that return InvocationContextModifier 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 InvocationContextDecoratedCache.readContext(int size) protected InvocationContextDecoratedCache.writeContext(int size) Methods in org.infinispan.cache.impl with parameters of type InvocationContextModifier and TypeMethodDescriptionfinal Map<K,CacheEntry<K, V>> CacheImpl.getAllCacheEntries(Set<?> keys, long explicitFlags, InvocationContext ctx) <T> TInvocationHelper.invoke(InvocationContext context, VisitableCommand command) Invokes thecommandusingcontext.<T> CompletableFuture<T>InvocationHelper.invokeAsync(InvocationContext context, VisitableCommand command) -
Uses of InvocationContext in org.infinispan.commands
Methods in org.infinispan.commands with parameters of type InvocationContextModifier and TypeMethodDescriptionVisitableCommand.acceptVisitor(InvocationContext ctx, Visitor visitor) Accept a visitor, and return the result of accepting this visitor.protected ObjectAbstractVisitor.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) voidAbstractVisitor.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 ObjectVisitor.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
Methods in org.infinispan.container.impl with parameters of type InvocationContextModifier and TypeMethodDescription<K,V> InternalCacheValue<V> InternalEntryFactory.getValueFromCtx(K key, InvocationContext ctx) Retrieve anInternalCacheValuefrom the providedInvocationContextif anInternalCacheEntryexists, otherwise createInternalCacheEntryfrom the context'sCacheEntryand 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) voidEntryFactory.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 wrappedvoidEntryFactoryImpl.wrapEntryForWritingSkipExpiration(InvocationContext ctx, Object key, int segment, boolean isOwner) voidEntryFactory.wrapExternalEntry(InvocationContext ctx, Object key, CacheEntry externalEntry, boolean isRead, boolean isWrite) Insert an external entry (e.g.voidEntryFactoryImpl.wrapExternalEntry(InvocationContext ctx, Object key, CacheEntry externalEntry, boolean isRead, boolean isWrite) -
Uses of InvocationContext in org.infinispan.context
Methods in org.infinispan.context that return InvocationContextModifier and TypeMethodDescriptionInvocationContext.clone()Clones the invocation context.InvocationContextFactory.createClearNonTxInvocationContext()Will create anClearInvocationContextwith 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 anNonTxInvocationContextwhoseAbstractInvocationContext.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 anNonTxInvocationContextwith theAbstractInvocationContext.isOriginLocal()returning true. -
Uses of InvocationContext in org.infinispan.context.impl
Subinterfaces of InvocationContext in org.infinispan.context.implModifier and TypeInterfaceDescriptioninterfaceTxInvocationContext<T extends AbstractCacheTransaction>Interface defining additional functionality for invocation contexts that propagate within a transaction's scope.Classes in org.infinispan.context.impl that implement InvocationContextModifier and TypeClassDescriptionclassCommon features of transaction and invocation contextsclassSupport class forTxInvocationContext.classImplementation ofInvocationContextused by theClearCommand.final classThis context is a non-context for operations such as eviction which are not related to the method invocation which caused them.classInvocation context to be used for locally originated transactions.classContext to be used for non transactional calls, both remote and local.classContext to be used for transaction that originated remotely.final classMethods in org.infinispan.context.impl that return InvocationContextModifier and TypeMethodDescriptionAbstractInvocationContext.clone()ImmutableContext.clone()SingleKeyNonTxInvocationContext.clone()final InvocationContextAbstractInvocationContextFactory.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()Methods in org.infinispan.context.impl with parameters of type InvocationContextModifier and TypeMethodDescriptionstatic FlagFlagBitSets.extractStateTransferFlag(InvocationContext ctx, FlagAffectedCommand command) -
Uses of InvocationContext in org.infinispan.distribution.group.impl
Methods in org.infinispan.distribution.group.impl with parameters of type InvocationContextModifier 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
Methods in org.infinispan.expiration.impl with parameters of type InvocationContextModifier and TypeMethodDescriptionTouchCommand.acceptVisitor(InvocationContext ctx, Visitor visitor) -
Uses of InvocationContext in org.infinispan.extendedstats.topK
Methods in org.infinispan.extendedstats.topK with parameters of type InvocationContextModifier 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
Methods in org.infinispan.extendedstats.wrappers with parameters of type InvocationContextModifier and TypeMethodDescriptionvoidExtendedStatisticLockManager.unlockAll(InvocationContext ctx) voidTopKeyLockManager.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
Methods in org.infinispan.functional.impl with parameters of type InvocationContextModifier and TypeMethodDescriptionstatic ObjectStatsEnvelope.unpack(InvocationContext ctx, VisitableCommand command, Object o) static ObjectStatsEnvelope.unpackCollection(InvocationContext ctx, VisitableCommand command, Object o) static ObjectStatsEnvelope.unpackStream(InvocationContext ctx, VisitableCommand command, Object o) -
Uses of InvocationContext in org.infinispan.interceptors
Methods in org.infinispan.interceptors with parameters of type InvocationContextModifier and TypeMethodDescriptionvoidInvocationFinallyAction.accept(InvocationContext rCtx, C rCommand, Object rv, Throwable throwable) Process the result or the exception from an invocation stage and possibly throw an exception.voidInvocationSuccessAction.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, invokefunctionand 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, invokefunctionand 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, invokefunctionand 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, invokefunctionand 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, invokefunctionand 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 ObjectInvocationExceptionFunction.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 ObjectInvocationFinallyAction.apply(InvocationContext rCtx, C rCommand, Object rv, Throwable throwable) default ObjectInvocationSuccessAction.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 ObjectInvocationSuccessFunction.apply(InvocationContext rCtx, C rCommand, Object rv, Throwable throwable) final ObjectBaseAsyncInterceptor.asyncInvokeNext(InvocationContext ctx, VisitableCommand command, Collection<? extends CompletionStage<?>> delays) Suspend invocation until alldelayscomplete, then if successful invoke the next interceptor.final ObjectBaseAsyncInterceptor.asyncInvokeNext(InvocationContext ctx, VisitableCommand command, CompletionStage<?> delay) Suspend the invocation untildelaycompletes, then if successful invoke the next interceptor.final ObjectBaseAsyncInterceptor.asyncInvokeNext(InvocationContext ctx, VisitableCommand command, InvocationStage invocationStage) Suspend the invocation untilinvocationStagecompletes, then if successful invoke the next interceptor.protected ObjectDDAsyncInterceptor.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 ObjectBaseAsyncInterceptor.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 anInvocationCallbackafter 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 anInvocationCallbackafter 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 anInvocationCallbackafter 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 anInvocationCallbackafter 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 anInvocationCallbackafter 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, invokefunctionand 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, 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.ExceptionSyncInvocationStage.thenReturn(InvocationContext ctx, VisitableCommand command, Object returnValue) InvocationStage.thenReturn(InvocationContext ctx, VisitableCommand command, Object returnValue) Overrides the return value of thisInvocationStageif 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 ObjectDDAsyncInterceptor.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
Methods in org.infinispan.notifications.cachelistener with parameters of type InvocationContextModifier 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 aCacheEntriesEvictedEventevent.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 aCacheEntryActivatedEventevent.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 aCacheEntryCreatedEventevent.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 aCacheEntryInvalidatedEventevent.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 aCacheEntryLoadedEventevent.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 aCacheEntryModifiedEventevent.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 aCacheEntryPassivatedEventevent.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 aCacheEntryRemovedEventevent.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 aCacheEntryVisitedEventevent.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
Methods in org.infinispan.partitionhandling.impl with parameters of type InvocationContextModifier and TypeMethodDescriptionprotected ObjectPartitionHandlingInterceptor.handleSingleWrite(InvocationContext ctx, org.infinispan.commands.write.DataWriteCommand command) protected voidPartitionHandlingInterceptor.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 ObjectPartitionHandlingInterceptor.visitGetCacheEntryCommand(InvocationContext ctx, org.infinispan.commands.read.GetCacheEntryCommand command) final ObjectPartitionHandlingInterceptor.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
Methods in org.infinispan.persistence with parameters of type InvocationContextModifier 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
Methods in org.infinispan.persistence.internal with parameters of type InvocationContextModifier 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
Methods in org.infinispan.persistence.support with parameters of type InvocationContextModifier 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
Methods in org.infinispan.persistence.util with parameters of type InvocationContextModifier 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
Methods in org.infinispan.reactive.publisher.impl with parameters of type InvocationContextModifier 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
Fields in org.infinispan.stream.impl declared as InvocationContextModifier and TypeFieldDescriptionprotected final InvocationContextAbstractCacheStream.invocationContextConstructors in org.infinispan.stream.impl with parameters of type InvocationContextModifierConstructorDescriptionprotectedAbstractCacheStream(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
Methods in org.infinispan.util.concurrent.locks with parameters of type InvocationContextModifier and TypeMethodDescriptionvoidLockManager.unlockAll(InvocationContext context) Same asunlockAll(context.getLockedKeys(), context.getKeyLockOwner();. -
Uses of InvocationContext in org.infinispan.util.concurrent.locks.impl
Methods in org.infinispan.util.concurrent.locks.impl with parameters of type InvocationContext