Uses of Interface
org.infinispan.notifications.cachelistener.filter.CacheEventFilter
Packages that use CacheEventFilter
Package
Description
Global configuration state.
Notifications and eventing for listeners on both the Cache and CacheManager interfaces.
Cache
-specific notifications and eventing.Cache
-specific notifications and eventing filtering classes.-
Uses of CacheEventFilter in org.infinispan.cache.impl
Methods in org.infinispan.cache.impl with parameters of type CacheEventFilterModifier and TypeMethodDescription<C> void
AbstractDelegatingCache.addFilteredListener
(Object listener, CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter, Set<Class<? extends Annotation>> filterAnnotations) <C> void
EncoderCache.addFilteredListener
(Object listener, CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter, Set<Class<? extends Annotation>> filterAnnotations) <C> CompletionStage<Void>
AbstractDelegatingCache.addFilteredListenerAsync
(Object listener, CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter, Set<Class<? extends Annotation>> filterAnnotations) <C> CompletionStage<Void>
CacheImpl.addFilteredListenerAsync
(Object listener, CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter, Set<Class<? extends Annotation>> filterAnnotations) <C> CompletionStage<Void>
DecoratedCache.addFilteredListenerAsync
(Object listener, CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter, Set<Class<? extends Annotation>> filterAnnotations) <C> CompletionStage<Void>
EncoderCache.addFilteredListenerAsync
(Object listener, CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter, Set<Class<? extends Annotation>> filterAnnotations) <C> CompletionStage<Void>
SimpleCacheImpl.addFilteredListenerAsync
(Object listener, CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter, Set<Class<? extends Annotation>> filterAnnotations) <C> void
AbstractDelegatingCache.addListener
(Object listener, CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter) <C> void
EncoderCache.addListener
(Object listener, CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter) <C> CompletionStage<Void>
AbstractDelegatingCache.addListenerAsync
(Object listener, CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter) <C> CompletionStage<Void>
CacheImpl.addListenerAsync
(Object listener, CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter) <C> CompletionStage<Void>
DecoratedCache.addListenerAsync
(Object listener, CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter) <C> CompletionStage<Void>
EncoderCache.addListenerAsync
(Object listener, CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter) <C> CompletionStage<Void>
SimpleCacheImpl.addListenerAsync
(Object listener, CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter) <C> void
AbstractDelegatingCache.addStorageFormatFilteredListener
(Object listener, CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter, Set<Class<? extends Annotation>> filterAnnotations) <C> void
EncoderCache.addStorageFormatFilteredListener
(Object listener, CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter, Set<Class<? extends Annotation>> filterAnnotations) <C> CompletionStage<Void>
AbstractDelegatingCache.addStorageFormatFilteredListenerAsync
(Object listener, CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter, Set<Class<? extends Annotation>> filterAnnotations) <C> CompletionStage<Void>
CacheImpl.addStorageFormatFilteredListenerAsync
(Object listener, CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter, Set<Class<? extends Annotation>> filterAnnotations) <C> CompletionStage<Void>
DecoratedCache.addStorageFormatFilteredListenerAsync
(Object listener, CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter, Set<Class<? extends Annotation>> filterAnnotations) <C> CompletionStage<Void>
EncoderCache.addStorageFormatFilteredListenerAsync
(Object listener, CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter, Set<Class<? extends Annotation>> filterAnnotations) <C> CompletionStage<Void>
SimpleCacheImpl.addStorageFormatFilteredListenerAsync
(Object listener, CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter, Set<Class<? extends Annotation>> filterAnnotations) -
Uses of CacheEventFilter in org.infinispan.globalstate
Classes in org.infinispan.globalstate that implement CacheEventFilterModifier and TypeClassDescriptionclass
A filter forScopedState
that allows listeners of the global state cache to choose events by scope. -
Uses of CacheEventFilter in org.infinispan.notifications
Methods in org.infinispan.notifications with parameters of type CacheEventFilterModifier and TypeMethodDescriptiondefault <C> void
DataConversionAwareListenable.addFilteredListener
(ListenerHolder listenerHolder, CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter, Set<Class<? extends Annotation>> filterAnnotations) default <C> void
FilteringListenable.addFilteredListener
(Object listener, CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter, Set<Class<? extends Annotation>> filterAnnotations) Registers a listener limiting the cache-entry specific events only to annotations that are passed in as parameter.<C> CompletionStage<Void>
DataConversionAwareListenable.addFilteredListenerAsync
(ListenerHolder listenerHolder, CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter, Set<Class<? extends Annotation>> filterAnnotations) <C> CompletionStage<Void>
FilteringListenable.addFilteredListenerAsync
(Object listener, CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter, Set<Class<? extends Annotation>> filterAnnotations) Asynchronous version ofFilteringListenable.addFilteredListener(Object, CacheEventFilter, CacheEventConverter, Set)
default <C> void
ClassLoaderAwareFilteringListenable.addListener
(Object listener, CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter, ClassLoader classLoader) Adds a listener with the provided filter and converter and using a given classloader when invoked.default <C> void
DataConversionAwareListenable.addListener
(ListenerHolder listenerHolder, CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter, ClassLoader classLoader) default <C> void
FilteringListenable.addListener
(Object listener, CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter) Registers a listener that will be notified on events that pass the filter condition.<C> CompletionStage<Void>
ClassLoaderAwareFilteringListenable.addListenerAsync
(Object listener, CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter, ClassLoader classLoader) <C> CompletionStage<Void>
DataConversionAwareListenable.addListenerAsync
(ListenerHolder listenerHolder, CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter, ClassLoader classLoader) <C> CompletionStage<Void>
FilteringListenable.addListenerAsync
(Object listener, CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter) Asynchronous version ofFilteringListenable.addListener(Object, CacheEventFilter, CacheEventConverter)
default <C> void
FilteringListenable.addStorageFormatFilteredListener
(Object listener, CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter, Set<Class<? extends Annotation>> filterAnnotations) Same asFilteringListenable.addFilteredListener(Object, CacheEventFilter, CacheEventConverter, Set)
, but assumes the filter and/or the converter will be done in the same data format as it's stored in the cache.<C> CompletionStage<Void>
FilteringListenable.addStorageFormatFilteredListenerAsync
(Object listener, CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter, Set<Class<? extends Annotation>> filterAnnotations) -
Uses of CacheEventFilter in org.infinispan.notifications.cachelistener
Fields in org.infinispan.notifications.cachelistener declared as CacheEventFilterModifier and TypeFieldDescriptionprotected final CacheEventFilter<? super K,
? super V> CacheNotifierImpl.BaseCacheEntryListenerInvocation.filter
Methods in org.infinispan.notifications.cachelistener that return CacheEventFilterModifier and TypeMethodDescriptionCacheEventFilter<? super K,
? super V> CacheEntryListenerInvocation.getFilter()
CacheEventFilter<? super K,
? super V> CacheNotifierImpl.BaseCacheEntryListenerInvocation.getFilter()
CacheEventFilter<? super K,
? super V> CacheNotifierImpl.CacheInvocationBuilder.getFilter()
Methods in org.infinispan.notifications.cachelistener with parameters of type CacheEventFilterModifier and TypeMethodDescription<C> CompletionStage<Void>
CacheNotifierImpl.addFilteredListenerAsync
(Object listener, CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter, Set<Class<? extends Annotation>> filterAnnotations) <C> CompletionStage<Void>
CacheNotifierImpl.addFilteredListenerAsync
(ListenerHolder listenerHolder, CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter, Set<Class<? extends Annotation>> filterAnnotations) <C> CompletionStage<Void>
CacheNotifierImpl.addListenerAsync
(Object listener, CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter) <C> CompletionStage<Void>
CacheNotifierImpl.addListenerAsync
(Object listener, CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter, ClassLoader classLoader) Adds the listener using the provided filter converter and class loader.<C> CompletionStage<Void>
CacheNotifierImpl.addListenerAsync
(ListenerHolder listenerHolder, CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter, ClassLoader classLoader) <C> CompletionStage<Void>
CacheNotifierImpl.addStorageFormatFilteredListenerAsync
(Object listener, CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter, Set<Class<? extends Annotation>> filterAnnotations) CacheNotifierImpl.CacheInvocationBuilder.setFilter
(CacheEventFilter<? super K, ? super V> filter) protected <C> void
CacheNotifierImpl.CacheInvocationBuilder.wireDependencies
(CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter) Constructors in org.infinispan.notifications.cachelistener with parameters of type CacheEventFilterModifierConstructorDescriptionprotected
BaseCacheEntryListenerInvocation
(EncoderRegistry encoderRegistry, ListenerInvocation<Event<K, V>> invocation, CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, ?> converter, Class<? extends Annotation> annotation, boolean onlyPrimary, boolean clustered, UUID identifier, boolean sync, Listener.Observation observation, Set<Class<? extends Annotation>> filterAnnotations, DataConversion keyDataConversion, DataConversion valueDataConversion, boolean useStorageFormat) ClusteredListenerInvocation
(EncoderRegistry encoderRegistry, ListenerInvocation<Event<K, V>> invocation, QueueingSegmentListener<K, V, CacheEntryEvent<K, V>> handler, CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, ?> converter, Class<? extends Annotation> annotation, boolean onlyPrimary, UUID identifier, boolean sync, Listener.Observation observation, Set<Class<? extends Annotation>> filterAnnotations, DataConversion keyDataConversion, DataConversion valueDataConversion, boolean useStorageFormat) -
Uses of CacheEventFilter in org.infinispan.notifications.cachelistener.cluster
Constructors in org.infinispan.notifications.cachelistener.cluster with parameters of type CacheEventFilterModifierConstructorDescriptionClusterListenerReplicateCallable
(String cacheName, UUID identifier, Address origin, CacheEventFilter<K, V> filter, CacheEventConverter<K, V, ?> converter, boolean sync, Set<Class<? extends Annotation>> filterAnnotations, DataConversion keyDataConversion, DataConversion valueDataConversion, boolean useStorageFormat) -
Uses of CacheEventFilter in org.infinispan.notifications.cachelistener.filter
Subinterfaces of CacheEventFilter in org.infinispan.notifications.cachelistener.filterModifier and TypeInterfaceDescriptioninterface
CacheEventFilterConverter<K,
V, C> This interface is an optimization that can be used when an event filter and converter are most efficiently used as the same object composing the filtering and conversion in the same method invocation.interface
IndexedFilter<K,
V, C> A marker interface for filters that can be handled efficiently by aFilterIndexingServiceProvider
.Classes in org.infinispan.notifications.cachelistener.filter that implement CacheEventFilterModifier and TypeClassDescriptionclass
This is a base class that should be used when implementing a CacheEventFilterConverter that provides default implementations for theaccept(Object, Object, org.infinispan.metadata.Metadata, Object, org.infinispan.metadata.Metadata, EventType)
andConverter.convert(Object, Object, org.infinispan.metadata.Metadata)
methods so they just call theCacheEventFilterConverter.filterAndConvert(Object, Object, org.infinispan.metadata.Metadata, Object, org.infinispan.metadata.Metadata, EventType)
method and then do the right thing.class
Allows AND-composing several cache event filters.class
CacheEventFilter that implements it's filtering solely on the use of the provided KeyValueFilterclass
CacheEventFilterConverter
that uses an underlyingKeyValueFilterConverter
to do the conversion and filtering.class
PostCacheEventFilter<K,
V> A Filter that only allows post events to be accepted.Methods in org.infinispan.notifications.cachelistener.filter that return CacheEventFilterModifier and TypeMethodDescription<K,
V> CacheEventFilter<K, V> Retrieves a cache event filter instance from this factory.CacheEventFilter<? super K,
? super V> DelegatingCacheEntryListenerInvocation.getFilter()
Constructors in org.infinispan.notifications.cachelistener.filter with parameters of type CacheEventFilterModifierConstructorDescriptionCompositeCacheEventFilter
(CacheEventFilter<? super K, ? super V>... filters) -
Uses of CacheEventFilter in org.infinispan.persistence.remote.upgrade
Classes in org.infinispan.persistence.remote.upgrade that implement CacheEventFilter -
Uses of CacheEventFilter in org.infinispan.security.impl
Methods in org.infinispan.security.impl with parameters of type CacheEventFilterModifier and TypeMethodDescription<C> CompletionStage<Void>
SecureCacheImpl.addFilteredListenerAsync
(Object listener, CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter, Set<Class<? extends Annotation>> filterAnnotations) <C> CompletionStage<Void>
SecureCacheImpl.addListenerAsync
(Object listener, CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter) <C> CompletionStage<Void>
SecureCacheImpl.addStorageFormatFilteredListenerAsync
(Object listener, CacheEventFilter<? super K, ? super V> filter, CacheEventConverter<? super K, ? super V, C> converter, Set<Class<? extends Annotation>> filterAnnotations)