Uses of Interface
org.infinispan.interceptors.AsyncInterceptor
-
Packages that use AsyncInterceptor Package Description org.infinispan.configuration.cache Cache
configurationorg.infinispan.interceptors Infinispan is designed around a set of interceptors around a data container.org.infinispan.interceptors.base Base interceptors containing common, reusable behavior.org.infinispan.interceptors.distribution Interceptors dealing with command replication in distributed/replicated mode.org.infinispan.interceptors.impl org.infinispan.interceptors.locking Interceptors dealing with locking.org.infinispan.interceptors.totalorder Interceptors dealing with total order.org.infinispan.interceptors.xsite Interceptors dealing with cross-site replication.org.infinispan.security.actions org.infinispan.statetransfer Transfer of state to new caches in a cluster.org.infinispan.stats.topK org.infinispan.stats.wrappers -
-
Uses of AsyncInterceptor in org.infinispan.configuration.cache
Fields in org.infinispan.configuration.cache with type parameters of type AsyncInterceptor Modifier and Type Field Description static AttributeDefinition<AsyncInterceptor>
InterceptorConfiguration. INTERCEPTOR
Methods in org.infinispan.configuration.cache that return AsyncInterceptor Modifier and Type Method Description AsyncInterceptor
InterceptorConfiguration. asyncInterceptor()
Methods in org.infinispan.configuration.cache that return types with arguments of type AsyncInterceptor Modifier and Type Method Description Class<? extends AsyncInterceptor>
InterceptorConfiguration. after()
Class<? extends AsyncInterceptor>
InterceptorConfiguration. before()
Class<? extends AsyncInterceptor>
InterceptorConfiguration. sequentialInterceptorClass()
Methods in org.infinispan.configuration.cache with parameters of type AsyncInterceptor Modifier and Type Method Description InterceptorConfigurationBuilder
InterceptorConfigurationBuilder. interceptor(AsyncInterceptor interceptor)
An instance of the new custom interceptor to add to the configuration.Method parameters in org.infinispan.configuration.cache with type arguments of type AsyncInterceptor Modifier and Type Method Description InterceptorConfigurationBuilder
InterceptorConfigurationBuilder. after(Class<? extends AsyncInterceptor> after)
Dictates that the custom interceptor appears immediately after the specified interceptor.InterceptorConfigurationBuilder
InterceptorConfigurationBuilder. before(Class<? extends AsyncInterceptor> before)
Dictates that the custom interceptor appears immediately before the specified interceptor.InterceptorConfigurationBuilder
InterceptorConfigurationBuilder. interceptorClass(Class<? extends AsyncInterceptor> interceptorClass)
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 AsyncInterceptor Modifier and Type Class Description class
BaseAsyncInterceptor
Base class for an interceptor in the new asynchronous invocation chain.class
BaseCustomAsyncInterceptor
Anyone 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.class
DDAsyncInterceptor
Interface for async interceptors using double-dispatch.Methods in org.infinispan.interceptors with type parameters of type AsyncInterceptor Modifier and Type Method Description <T extends AsyncInterceptor>
TAsyncInterceptorChain. findInterceptorExtending(Class<T> interceptorClass)
Returns the first interceptor extending the given class, ornull
if 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, ornull
if there is none.<T extends AsyncInterceptor>
TEmptyAsyncInterceptorChain. findInterceptorWithClass(Class<T> interceptorClass)
Methods in org.infinispan.interceptors that return types with arguments of type AsyncInterceptor Modifier and Type Method Description List<AsyncInterceptor>
AsyncInterceptorChain. getInterceptors()
List<AsyncInterceptor>
EmptyAsyncInterceptorChain. getInterceptors()
Methods in org.infinispan.interceptors with parameters of type AsyncInterceptor Modifier and Type Method Description void
AsyncInterceptorChain. addInterceptor(AsyncInterceptor interceptor, int position)
Inserts the given interceptor at the specified position in the chain (0 based indexing).void
EmptyAsyncInterceptorChain. addInterceptor(AsyncInterceptor interceptor, int position)
boolean
AsyncInterceptorChain. addInterceptorAfter(AsyncInterceptor toAdd, Class<? extends AsyncInterceptor> afterInterceptor)
Adds a new interceptor in list after an interceptor of a given type.boolean
EmptyAsyncInterceptorChain. addInterceptorAfter(AsyncInterceptor toAdd, Class<? extends AsyncInterceptor> afterInterceptor)
boolean
AsyncInterceptorChain. addInterceptorBefore(AsyncInterceptor toAdd, Class<? extends AsyncInterceptor> beforeInterceptor)
Adds a new interceptor in list before an interceptor of a given type.boolean
EmptyAsyncInterceptorChain. addInterceptorBefore(AsyncInterceptor toAdd, Class<? extends AsyncInterceptor> beforeInterceptor)
void
AsyncInterceptorChain. appendInterceptor(AsyncInterceptor ci, boolean isCustom)
Appends at the end.void
EmptyAsyncInterceptorChain. appendInterceptor(AsyncInterceptor ci, boolean isCustom)
boolean
AsyncInterceptorChain. containsInstance(AsyncInterceptor interceptor)
Checks whether the chain contains the supplied interceptor instance.boolean
EmptyAsyncInterceptorChain. containsInstance(AsyncInterceptor interceptor)
boolean
AsyncInterceptorChain. 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.boolean
EmptyAsyncInterceptorChain. replaceInterceptor(AsyncInterceptor replacingInterceptor, Class<? extends AsyncInterceptor> toBeReplacedInterceptorType)
void
AsyncInterceptor. setNextInterceptor(AsyncInterceptor interceptorStage)
Sets up the interceptor.void
BaseAsyncInterceptor. setNextInterceptor(AsyncInterceptor nextInterceptor)
Used internally to set up the interceptor.Method parameters in org.infinispan.interceptors with type arguments of type AsyncInterceptor Modifier and Type Method Description boolean
AsyncInterceptorChain. addInterceptorAfter(AsyncInterceptor toAdd, Class<? extends AsyncInterceptor> afterInterceptor)
Adds a new interceptor in list after an interceptor of a given type.boolean
EmptyAsyncInterceptorChain. addInterceptorAfter(AsyncInterceptor toAdd, Class<? extends AsyncInterceptor> afterInterceptor)
boolean
AsyncInterceptorChain. addInterceptorBefore(AsyncInterceptor toAdd, Class<? extends AsyncInterceptor> beforeInterceptor)
Adds a new interceptor in list before an interceptor of a given type.boolean
EmptyAsyncInterceptorChain. addInterceptorBefore(AsyncInterceptor toAdd, Class<? extends AsyncInterceptor> beforeInterceptor)
boolean
AsyncInterceptorChain. containsInterceptorType(Class<? extends AsyncInterceptor> interceptorType)
Checks whether the chain contains an interceptor with the given class.boolean
AsyncInterceptorChain. containsInterceptorType(Class<? extends AsyncInterceptor> interceptorType, boolean alsoMatchSubClasses)
Checks whether the chain contains an interceptor with the given class, or a subclass.boolean
EmptyAsyncInterceptorChain. containsInterceptorType(Class<? extends AsyncInterceptor> interceptorType)
boolean
EmptyAsyncInterceptorChain. containsInterceptorType(Class<? extends AsyncInterceptor> interceptorType, boolean alsoMatchSubClasses)
void
AsyncInterceptorChain. removeInterceptor(Class<? extends AsyncInterceptor> clazz)
Removes all the occurrences of supplied interceptor type from the chain.void
EmptyAsyncInterceptorChain. removeInterceptor(Class<? extends AsyncInterceptor> clazz)
boolean
AsyncInterceptorChain. 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.boolean
EmptyAsyncInterceptorChain. replaceInterceptor(AsyncInterceptor replacingInterceptor, Class<? extends AsyncInterceptor> toBeReplacedInterceptorType)
-
Uses of AsyncInterceptor in org.infinispan.interceptors.base
Classes in org.infinispan.interceptors.base that implement AsyncInterceptor Modifier and Type Class Description class
BaseCustomInterceptor
Deprecated.Since 9.0, useBaseCustomAsyncInterceptor
instead.class
CommandInterceptor
Deprecated.Since 9.0, please extendBaseAsyncInterceptor
instead.class
PrePostProcessingCommandInterceptor
Deprecated.Since 9.0, please extendAsyncInterceptor
instead.Methods in org.infinispan.interceptors.base with parameters of type AsyncInterceptor Modifier and Type Method Description void
CommandInterceptor. setNextInterceptor(AsyncInterceptor interceptorStage)
Deprecated. -
Uses of AsyncInterceptor in org.infinispan.interceptors.distribution
Classes in org.infinispan.interceptors.distribution that implement AsyncInterceptor Modifier and Type Class Description class
BaseDistributionInterceptor
Base class for distribution of entries across a cluster.class
BiasedScatteredDistributionInterceptor
class
DistributionBulkInterceptor<K,V>
Interceptor that handles bulk entrySet and keySet commands when using in a distributed/replicated environment.class
L1LastChanceInterceptor
L1 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.class
L1NonTxInterceptor
Interceptor that handles L1 logic for non-transactional caches.class
L1TxInterceptor
Interceptor that handles L1 logic for transactional caches.class
NonTxDistributionInterceptor
Non-transactional interceptor used by distributed caches that support concurrent writes.class
ScatteredDistributionInterceptor
This 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.class
TriangleDistributionInterceptor
Non-transactional interceptor used by distributed caches that supports concurrent writes.class
TxDistributionInterceptor
Handles the distribution of the transactional caches.class
VersionedDistributionInterceptor
A version of theTxDistributionInterceptor
that adds logic to handling prepares when entries are versioned. -
Uses of AsyncInterceptor in org.infinispan.interceptors.impl
Classes in org.infinispan.interceptors.impl with annotations of type with type parameters of type that implement declared as with annotations of type with type parameters of type with annotations of type with annotations of type with type parameters of type that return that return types with arguments of type with parameters of type with type arguments of type that throw with annotations of type with annotations of type with parameters of type with type arguments of type that throw AsyncInterceptor Modifier and Type Class Description class
org.infinispan.interceptors.impl.BaseRpcInterceptor
Acts as a base for all RPC callsclass
org.infinispan.interceptors.impl.BaseStateTransferInterceptor
A base class for a state transfer interceptor.class
org.infinispan.interceptors.impl.ClusteringInterceptor
Base class for distribution interceptors.class
org.infinispan.interceptors.impl.EntryWrappingInterceptor
Interceptor in charge with wrapping entries and add them in caller's context.class
org.infinispan.interceptors.impl.VersionedEntryWrappingInterceptor
Interceptor in charge with wrapping entries and add them in caller's context. -
Uses of AsyncInterceptor in org.infinispan.interceptors.locking
Classes in org.infinispan.interceptors.locking that implement AsyncInterceptor Modifier and Type Class Description class
AbstractLockingInterceptor
Base class for various locking interceptors in this package.class
AbstractTxLockingInterceptor
Base class for transaction based locking interceptors.class
NonTransactionalLockingInterceptor
Locking interceptor to be used for non-transactional caches.class
OptimisticLockingInterceptor
Locking interceptor to be used by optimistic transactional caches.class
PessimisticLockingInterceptor
Locking interceptor to be used by pessimistic caches. -
Uses of AsyncInterceptor in org.infinispan.interceptors.totalorder
Classes in org.infinispan.interceptors.totalorder that implement AsyncInterceptor Modifier and Type Class Description class
TotalOrderDistributionInterceptor
This interceptor handles distribution of entries across a cluster, as well as transparent lookup, when the total order based protocol is enabledclass
TotalOrderInterceptor
Created to control the total order validation.class
TotalOrderStateTransferInterceptor
Synchronizes the incoming totally ordered transactions with the state transfer.class
TotalOrderVersionedDistributionInterceptor
This interceptor is used in total order in distributed mode when the write skew check is enabled.class
TotalOrderVersionedEntryWrappingInterceptor
Wrapping Interceptor for Total Order protocol when versions are needed -
Uses of AsyncInterceptor in org.infinispan.interceptors.xsite
Classes in org.infinispan.interceptors.xsite that implement AsyncInterceptor Modifier and Type Class Description class
BaseBackupInterceptor
class
NonTransactionalBackupInterceptor
Handles x-site data backups for non-transactional caches.class
OptimisticBackupInterceptor
Handles x-site data backups for optimistic transactional caches.class
PessimisticBackupInterceptor
Handles x-site data backups for pessimistic transactional caches. -
Uses of AsyncInterceptor in org.infinispan.security.actions
Methods in org.infinispan.security.actions that return types with arguments of type AsyncInterceptor Modifier and Type Method Description List<AsyncInterceptor>
GetCacheInterceptorChainAction. run()
-
Uses of AsyncInterceptor in org.infinispan.statetransfer
Classes in org.infinispan.statetransfer that implement AsyncInterceptor Modifier and Type Class Description class
StateTransferInterceptor
This 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.class
TransactionSynchronizerInterceptor
With 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. -
Uses of AsyncInterceptor in org.infinispan.stats.topK
Classes in org.infinispan.stats.topK that implement AsyncInterceptor Modifier and Type Class Description class
CacheUsageInterceptor
Intercepts the VisitableCommands to calculate the corresponding top-key values. -
Uses of AsyncInterceptor in org.infinispan.stats.wrappers
Classes in org.infinispan.stats.wrappers that implement AsyncInterceptor Modifier and Type Class Description class
ExtendedStatisticInterceptor
Take the statistics about relevant visitable commands.
-