Uses of Interface
org.infinispan.interceptors.AsyncInterceptor
Packages that use AsyncInterceptor
Package
Description
Infinispan is designed around a set of interceptors around a data container.
-
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.partitionhandling.impl
Classes in org.infinispan.partitionhandling.impl that implement AsyncInterceptor