Uses of Interface
org.infinispan.interceptors.AsyncInterceptor
Package
Description
Infinispan is designed around a set of interceptors around a data container.
-
Uses of AsyncInterceptor in org.infinispan.interceptors
Modifier and TypeClassDescriptionclass
Base class for an interceptor in the new asynchronous invocation chain.class
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
Interface for async interceptors using double-dispatch.Modifier and TypeMethodDescription<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) Modifier and TypeMethodDescriptionAsyncInterceptorChain.getInterceptors()
EmptyAsyncInterceptorChain.getInterceptors()
Modifier and TypeMethodDescriptionvoid
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.final void
BaseAsyncInterceptor.setNextInterceptor
(AsyncInterceptor nextInterceptor) Used internally to set up the interceptor.Modifier and TypeMethodDescriptionboolean
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.partitionhandling.impl