Uses of Interface
org.infinispan.context.InvocationContext
-
Packages that use InvocationContext Package Description org.infinispan.context 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.org.infinispan.persistence Persistence API. -
-
Uses of InvocationContext in org.infinispan.context
Methods in org.infinispan.context that return InvocationContext Modifier and Type Method Description InvocationContext
InvocationContext. clone()
Clones the invocation context.InvocationContext
InvocationContextFactory. createClearNonTxInvocationContext()
Will create anClearInvocationContext
with theAbstractInvocationContext.isOriginLocal()
returning true.InvocationContext
InvocationContextFactory. createInvocationContext(boolean isWrite, int keyCount)
If we are in a tx scope this will return anTxInvocationContext
.InvocationContext
InvocationContextFactory. createInvocationContext(Transaction tx, boolean implicitTransaction)
Creates an invocation contextInvocationContext
InvocationContextFactory. createRemoteInvocationContext(org.infinispan.remoting.transport.Address origin)
Returns anNonTxInvocationContext
whoseAbstractInvocationContext.isOriginLocal()
flag will be true.InvocationContext
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.InvocationContext
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 InvocationContext Modifier and Type Method Description static <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
-