Uses of Interface
org.infinispan.context.InvocationContext
Packages that use InvocationContext
Package
Description
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.
Persistence API.
-
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 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
(Transaction tx, boolean implicitTransaction) Creates an invocation contextInvocationContextFactory.createRemoteInvocationContext
(org.infinispan.remoting.transport.Address origin) Returns anNonTxInvocationContext
whoseAbstractInvocationContext.isOriginLocal()
flag will be true.InvocationContextFactory.createRemoteInvocationContextForCommand
(org.infinispan.commands.VisitableCommand cacheCommand, org.infinispan.remoting.transport.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.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, org.infinispan.commons.time.TimeService timeService) Deprecated.since 9.4 This method references PersistenceManager, which isn't a public classstatic <K,
V> org.infinispan.container.entries.InternalCacheEntry<K, V> PersistenceUtil.loadAndComputeInDataContainer
(DataContainer<K, V> dataContainer, int segment, org.infinispan.persistence.manager.PersistenceManager persistenceManager, K key, InvocationContext ctx, org.infinispan.commons.time.TimeService timeService, DataContainer.ComputeAction<K, V> action) Deprecated.since 9.4 This method references PersistenceManager, which isn't a public classstatic <K,
V> org.infinispan.container.entries.InternalCacheEntry<K, V> PersistenceUtil.loadAndStoreInDataContainer
(DataContainer<K, V> dataContainer, int segment, org.infinispan.persistence.manager.PersistenceManager persistenceManager, K key, InvocationContext ctx, org.infinispan.commons.time.TimeService timeService, AtomicReference<Boolean> isLoaded) Deprecated.since 9.4 This method references PersistenceManager, which isn't a public classstatic <K,
V> org.infinispan.container.entries.InternalCacheEntry<K, V> PersistenceUtil.loadAndStoreInDataContainer
(DataContainer<K, V> dataContainer, org.infinispan.persistence.manager.PersistenceManager persistenceManager, K key, InvocationContext ctx, org.infinispan.commons.time.TimeService timeService, AtomicReference<Boolean> isLoaded) Deprecated.since 9.4 This method references PersistenceManager, which isn't a public class