Uses of Interface
org.infinispan.interceptors.AsyncInterceptor
Packages that use AsyncInterceptor
Package
Description
Cache configurationInfinispan is designed around a set of interceptors around a data container.
Interceptors dealing with command replication in distributed/replicated mode.
Basic interceptors
Interceptors dealing with locking.
Interceptors dealing with cross-site replication.
Transfer of state to new caches in a cluster.
-
Uses of AsyncInterceptor in org.infinispan.configuration.cache
Fields in org.infinispan.configuration.cache with type parameters of type AsyncInterceptorModifier and TypeFieldDescriptionstatic final org.infinispan.commons.configuration.attributes.AttributeDefinition<AsyncInterceptor>InterceptorConfiguration.INTERCEPTORMethods in org.infinispan.configuration.cache that return AsyncInterceptorMethods in org.infinispan.configuration.cache that return types with arguments of type AsyncInterceptorModifier and TypeMethodDescriptionClass<? extends AsyncInterceptor>InterceptorConfiguration.after()Class<? extends AsyncInterceptor>InterceptorConfiguration.before()Class<? extends AsyncInterceptor>InterceptorConfiguration.sequentialInterceptorClass()Methods in org.infinispan.configuration.cache with parameters of type AsyncInterceptorModifier and TypeMethodDescriptionInterceptorConfigurationBuilder.interceptor(AsyncInterceptor interceptor) Deprecated.An instance of the new custom interceptor to add to the configuration.Method parameters in org.infinispan.configuration.cache with type arguments of type AsyncInterceptorModifier and TypeMethodDescriptionInterceptorConfigurationBuilder.after(Class<? extends AsyncInterceptor> after) Deprecated.Dictates that the custom interceptor appears immediately after the specified interceptor.InterceptorConfigurationBuilder.before(Class<? extends AsyncInterceptor> before) Deprecated.Dictates that the custom interceptor appears immediately before the specified interceptor.InterceptorConfigurationBuilder.interceptorClass(Class<? extends AsyncInterceptor> interceptorClass) Deprecated.Class of the new custom interceptor to add to the configuration. -
Uses of AsyncInterceptor in org.infinispan.interceptors
Classes in org.infinispan.interceptors that implement AsyncInterceptorModifier and TypeClassDescriptionclassBase class for an interceptor in the new asynchronous invocation chain.classAnyone using theAsyncInterceptorChain.addInterceptor(AsyncInterceptor, int)method (or any of its overloaded forms) or registering custom interceptors via XML should extend this base class when creating their own custom interceptors.classInterface for async interceptors using double-dispatch.Methods in org.infinispan.interceptors with type parameters of type AsyncInterceptorModifier and TypeMethodDescription<T extends AsyncInterceptor>
TAsyncInterceptorChain.findInterceptorExtending(Class<T> interceptorClass) Returns the first interceptor extending the given class, ornullif there is none.<T extends AsyncInterceptor>
TEmptyAsyncInterceptorChain.findInterceptorExtending(Class<T> interceptorClass) <T extends AsyncInterceptor>
TAsyncInterceptorChain.findInterceptorWithClass(Class<T> interceptorClass) Returns the first interceptor with the given class, ornullif there is none.<T extends AsyncInterceptor>
TEmptyAsyncInterceptorChain.findInterceptorWithClass(Class<T> interceptorClass) Methods in org.infinispan.interceptors that return types with arguments of type AsyncInterceptorModifier and TypeMethodDescriptionAsyncInterceptorChain.getInterceptors()EmptyAsyncInterceptorChain.getInterceptors()Methods in org.infinispan.interceptors with parameters of type AsyncInterceptorModifier and TypeMethodDescriptionvoidAsyncInterceptorChain.addInterceptor(AsyncInterceptor interceptor, int position) Inserts the given interceptor at the specified position in the chain (0 based indexing).voidEmptyAsyncInterceptorChain.addInterceptor(AsyncInterceptor interceptor, int position) booleanAsyncInterceptorChain.addInterceptorAfter(AsyncInterceptor toAdd, Class<? extends AsyncInterceptor> afterInterceptor) Adds a new interceptor in list after an interceptor of a given type.booleanEmptyAsyncInterceptorChain.addInterceptorAfter(AsyncInterceptor toAdd, Class<? extends AsyncInterceptor> afterInterceptor) booleanAsyncInterceptorChain.addInterceptorBefore(AsyncInterceptor toAdd, Class<? extends AsyncInterceptor> beforeInterceptor) Adds a new interceptor in list before an interceptor of a given type.booleanEmptyAsyncInterceptorChain.addInterceptorBefore(AsyncInterceptor toAdd, Class<? extends AsyncInterceptor> beforeInterceptor) voidAsyncInterceptorChain.appendInterceptor(AsyncInterceptor ci, boolean isCustom) Appends at the end.voidEmptyAsyncInterceptorChain.appendInterceptor(AsyncInterceptor ci, boolean isCustom) booleanAsyncInterceptorChain.containsInstance(AsyncInterceptor interceptor) Checks whether the chain contains the supplied interceptor instance.booleanEmptyAsyncInterceptorChain.containsInstance(AsyncInterceptor interceptor) booleanAsyncInterceptorChain.replaceInterceptor(AsyncInterceptor replacingInterceptor, Class<? extends AsyncInterceptor> toBeReplacedInterceptorType) Replaces an existing interceptor of the given type in the interceptor chain with a new interceptor instance passed as parameter.booleanEmptyAsyncInterceptorChain.replaceInterceptor(AsyncInterceptor replacingInterceptor, Class<? extends AsyncInterceptor> toBeReplacedInterceptorType) voidAsyncInterceptor.setNextInterceptor(AsyncInterceptor interceptorStage) Sets up the interceptor.final voidBaseAsyncInterceptor.setNextInterceptor(AsyncInterceptor nextInterceptor) Used internally to set up the interceptor.Method parameters in org.infinispan.interceptors with type arguments of type AsyncInterceptorModifier and TypeMethodDescriptionbooleanAsyncInterceptorChain.addInterceptorAfter(AsyncInterceptor toAdd, Class<? extends AsyncInterceptor> afterInterceptor) Adds a new interceptor in list after an interceptor of a given type.booleanEmptyAsyncInterceptorChain.addInterceptorAfter(AsyncInterceptor toAdd, Class<? extends AsyncInterceptor> afterInterceptor) booleanAsyncInterceptorChain.addInterceptorBefore(AsyncInterceptor toAdd, Class<? extends AsyncInterceptor> beforeInterceptor) Adds a new interceptor in list before an interceptor of a given type.booleanEmptyAsyncInterceptorChain.addInterceptorBefore(AsyncInterceptor toAdd, Class<? extends AsyncInterceptor> beforeInterceptor) booleanAsyncInterceptorChain.containsInterceptorType(Class<? extends AsyncInterceptor> interceptorType) Checks whether the chain contains an interceptor with the given class.booleanAsyncInterceptorChain.containsInterceptorType(Class<? extends AsyncInterceptor> interceptorType, boolean alsoMatchSubClasses) Checks whether the chain contains an interceptor with the given class, or a subclass.booleanEmptyAsyncInterceptorChain.containsInterceptorType(Class<? extends AsyncInterceptor> interceptorType) booleanEmptyAsyncInterceptorChain.containsInterceptorType(Class<? extends AsyncInterceptor> interceptorType, boolean alsoMatchSubClasses) voidAsyncInterceptorChain.removeInterceptor(Class<? extends AsyncInterceptor> clazz) Removes all the occurrences of supplied interceptor type from the chain.voidEmptyAsyncInterceptorChain.removeInterceptor(Class<? extends AsyncInterceptor> clazz) booleanAsyncInterceptorChain.replaceInterceptor(AsyncInterceptor replacingInterceptor, Class<? extends AsyncInterceptor> toBeReplacedInterceptorType) Replaces an existing interceptor of the given type in the interceptor chain with a new interceptor instance passed as parameter.booleanEmptyAsyncInterceptorChain.replaceInterceptor(AsyncInterceptor replacingInterceptor, Class<? extends AsyncInterceptor> toBeReplacedInterceptorType) -
Uses of AsyncInterceptor in org.infinispan.interceptors.distribution
Classes in org.infinispan.interceptors.distribution that implement AsyncInterceptorModifier and TypeClassDescriptionclassBase class for distribution of entries across a cluster.classclassL1 based interceptor that flushes the L1 cache at the end after a transaction/entry is committed to the data container but before the lock has been released.classInterceptor that handles L1 logic for non-transactional caches.classInterceptor that handles L1 logic for transactional caches.classNon-transactional interceptor used by distributed caches that support concurrent writes.classThis interceptor mixes several functions: A) replicates changes to other nodes B) commits the entry C) schedules invalidation On primary owner, the commit is executed before the change is replicated to other node.classNon-transactional interceptor used by distributed caches that supports concurrent writes.classHandles the distribution of the transactional caches.classA version of theTxDistributionInterceptorthat adds logic to handling prepares when entries are versioned. -
Uses of AsyncInterceptor in org.infinispan.interceptors.impl
Classes in org.infinispan.interceptors.impl that implement AsyncInterceptorModifier and TypeClassDescriptionclassADDAsyncInterceptorwith common code for all the IRAC related interceptors.classActs as a base for all RPC callsclassA base class for a state transfer interceptor.classInterceptor that captures batched calls and attaches contexts.classclassfinal classCaptures cache management statistics.classWrites modifications back to the store on the way out: stores modifications back through the CacheLoader, either after each method call (no TXs), or at TX commit.classAlways at the end of the chain, directly in front of the cache.classThe same as a regular cache loader interceptor, except that it contains additional logic to force loading from the cache loader if needed on a remote node, in certain conditions.classBase class for distribution interceptors.classCache store interceptor specific for the distribution and replication cache modes.classInterceptor in charge with wrapping entries and add them in caller's context.classThis interceptor acts as a replacement to the replication interceptor when the CacheImpl is configured with ClusteredSyncMode as INVALIDATE.classclassInterceptor to verify whether parameters passed into cache are marshallables or not.classBase class for all the interceptors exposing management statistics.classInterceptor used by IRAC for non transactional caches to handle the local site updates.classInterceptor to handle updates from remote sites.classThe interceptor in charge of firing off notifications to cache listenersclassInterceptor used by IRAC for optimistic transactional caches to handle the local site updates.classclassclassHandles store write operations when passivation enabled that don't entail reading the entry firstclassInterceptor used by IRAC for pessimistic transactional caches to handle the local site updates.classPrefetchInterceptor<K,V> classUsed in @{link org.infinispan.configuration.cache.CacheMode#SCATTERED_SYNC scattered cache} The commit is executed inScatteredDistributionInterceptorbefore replicating the change from primary owner.classSimilar toDistCacheWriterInterceptorbut as commands are not forwarded from primary owner so we just write to the store all the time (with non-shared interceptors).classInterceptor that prevents the cache from inserting too many entries over a configured maximum amount.classAn interceptor which ensures that writes to an underlying transactional store are prepared->committed/rolledback as part of the 2PC, therefore ensuring that the cache and transactional store(s) remain consistent.classTxInterceptor<K,V> Interceptor in charge with handling transaction related operations, e.g enlisting cache as an transaction participant, propagating remotely initiated changes.classInterceptor in charge with wrapping entries and add them in caller's context.classInterceptor installed when compatiblity is enabled.Methods in org.infinispan.interceptors.impl with type parameters of type AsyncInterceptorModifier and TypeMethodDescription<T extends AsyncInterceptor>
TAsyncInterceptorChainImpl.findInterceptorExtending(Class<T> interceptorClass) <T extends AsyncInterceptor>
TAsyncInterceptorChainImpl.findInterceptorWithClass(Class<T> interceptorClass) Methods in org.infinispan.interceptors.impl that return types with arguments of type AsyncInterceptorMethods in org.infinispan.interceptors.impl with parameters of type AsyncInterceptorModifier and TypeMethodDescriptionvoidAsyncInterceptorChainImpl.addInterceptor(AsyncInterceptor interceptor, int position) booleanAsyncInterceptorChainImpl.addInterceptorAfter(AsyncInterceptor toAdd, Class<? extends AsyncInterceptor> afterInterceptor) booleanAsyncInterceptorChainImpl.addInterceptorBefore(AsyncInterceptor toAdd, Class<? extends AsyncInterceptor> beforeInterceptor) booleanAsyncInterceptorChainImpl.addInterceptorBefore(AsyncInterceptor toAdd, Class<? extends AsyncInterceptor> beforeInterceptor, boolean isCustom) Deprecated.voidAsyncInterceptorChainImpl.appendInterceptor(AsyncInterceptor ci, boolean isCustom) booleanAsyncInterceptorChainImpl.containsInstance(AsyncInterceptor interceptor) booleanAsyncInterceptorChainImpl.replaceInterceptor(AsyncInterceptor replacingInterceptor, Class<? extends AsyncInterceptor> existingInterceptorType) Method parameters in org.infinispan.interceptors.impl with type arguments of type AsyncInterceptorModifier and TypeMethodDescriptionbooleanAsyncInterceptorChainImpl.addInterceptorAfter(AsyncInterceptor toAdd, Class<? extends AsyncInterceptor> afterInterceptor) booleanAsyncInterceptorChainImpl.addInterceptorBefore(AsyncInterceptor toAdd, Class<? extends AsyncInterceptor> beforeInterceptor) booleanAsyncInterceptorChainImpl.addInterceptorBefore(AsyncInterceptor toAdd, Class<? extends AsyncInterceptor> beforeInterceptor, boolean isCustom) Deprecated.booleanAsyncInterceptorChainImpl.containsInterceptorType(Class<? extends AsyncInterceptor> interceptorType) booleanAsyncInterceptorChainImpl.containsInterceptorType(Class<? extends AsyncInterceptor> interceptorType, boolean alsoMatchSubClasses) voidAsyncInterceptorChainImpl.removeInterceptor(Class<? extends AsyncInterceptor> clazz) booleanAsyncInterceptorChainImpl.replaceInterceptor(AsyncInterceptor replacingInterceptor, Class<? extends AsyncInterceptor> existingInterceptorType) -
Uses of AsyncInterceptor in org.infinispan.interceptors.locking
Classes in org.infinispan.interceptors.locking that implement AsyncInterceptorModifier and TypeClassDescriptionclassBase class for various locking interceptors in this package.classBase class for transaction based locking interceptors.classLocking interceptor to be used for non-transactional caches.classLocking interceptor to be used by optimistic transactional caches.classLocking interceptor to be used by pessimistic caches. -
Uses of AsyncInterceptor in org.infinispan.interceptors.xsite
Classes in org.infinispan.interceptors.xsite that implement AsyncInterceptorModifier and TypeClassDescriptionclassclassHandles x-site data backups for non-transactional caches.classHandles x-site data backups for optimistic transactional caches.classHandles x-site data backups for pessimistic transactional caches. -
Uses of AsyncInterceptor in org.infinispan.partitionhandling.impl
Classes in org.infinispan.partitionhandling.impl that implement AsyncInterceptor -
Uses of AsyncInterceptor in org.infinispan.security.actions
Methods in org.infinispan.security.actions that return types with arguments of type AsyncInterceptor -
Uses of AsyncInterceptor in org.infinispan.statetransfer
Classes in org.infinispan.statetransfer that implement AsyncInterceptorModifier and TypeClassDescriptionclassThis interceptor has two tasks: If the command's topology id is higher than the current topology id, wait for the node to receive transaction data for the new topology id. If the topology id changed during a command's execution, retry the command, but only on the originator (which replicates it to the new owners). If the cache is configured with asynchronous replication, owners cannot signal to the originator that they saw a new topology, so instead each owner forwards the command to all the other owners in the new topology.classWith the Non-Blocking State Transfer (NBST) in place it is possible for a transactional command to be forwarded multiple times, concurrently to the same node.