Uses of Interface
org.infinispan.interceptors.AsyncInterceptor
Package
Description
Cache
configurationInfinispan is designed around a set of interceptors around a data container.
-
Uses of AsyncInterceptor in org.infinispan.configuration.cache
Modifier and TypeFieldDescriptionstatic final AttributeDefinition<AsyncInterceptor>
InterceptorConfiguration.INTERCEPTOR
Modifier and TypeMethodDescriptionClass<? extends AsyncInterceptor>
InterceptorConfiguration.after()
Class<? extends AsyncInterceptor>
InterceptorConfiguration.before()
Class<? extends AsyncInterceptor>
InterceptorConfiguration.sequentialInterceptorClass()
Modifier and TypeMethodDescriptionInterceptorConfigurationBuilder.interceptor
(AsyncInterceptor interceptor) Deprecated, for removal: This API element is subject to removal in a future version.An instance of the new custom interceptor to add to the configuration.Modifier and TypeMethodDescriptionInterceptorConfigurationBuilder.after
(Class<? extends AsyncInterceptor> after) Deprecated, for removal: This API element is subject to removal in a future version.Dictates that the custom interceptor appears immediately after the specified interceptor.InterceptorConfigurationBuilder.before
(Class<? extends AsyncInterceptor> before) Deprecated, for removal: This API element is subject to removal in a future version.Dictates that the custom interceptor appears immediately before the specified interceptor.InterceptorConfigurationBuilder.interceptorClass
(Class<? extends AsyncInterceptor> interceptorClass) Deprecated, for removal: This API element is subject to removal in a future version.Class of the new custom interceptor to add to the configuration. -
Uses of AsyncInterceptor in org.infinispan.extendedstats.topK
Modifier and TypeClassDescriptionclass
Intercepts the VisitableCommands to calculate the corresponding top-key values. -
Uses of AsyncInterceptor in org.infinispan.extendedstats.wrappers
Modifier and TypeClassDescriptionclass
Take the statistics about relevant visitable commands. -
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
-
Uses of AsyncInterceptor in org.infinispan.security.actions