Uses of Interface
org.infinispan.notifications.cachelistener.filter.CacheEventFilter
-
Packages that use CacheEventFilter Package Description org.infinispan.globalstate Global configuration state.org.infinispan.notifications Notifications and eventing for listeners on both the Cache and CacheManager interfaces.org.infinispan.notifications.cachelistener.filter Cache
-specific notifications and eventing filtering classes. -
-
Uses of CacheEventFilter in org.infinispan.globalstate
Classes in org.infinispan.globalstate that implement CacheEventFilter Modifier and Type Class Description class
ScopeFilter
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 CacheEventFilter Modifier and Type Method Description default <C> void
DataConversionAwareListenable. addFilteredListener(org.infinispan.notifications.cachelistener.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(org.infinispan.notifications.cachelistener.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(org.infinispan.notifications.cachelistener.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(org.infinispan.notifications.cachelistener.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.filter
Subinterfaces of CacheEventFilter in org.infinispan.notifications.cachelistener.filter Modifier and Type Interface Description interface
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 CacheEventFilter Modifier and Type Class Description class
AbstractCacheEventFilterConverter<K,V,C>
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
CompositeCacheEventFilter<K,V>
Allows AND-composing several cache event filters.class
KeyValueFilterAsCacheEventFilter<K,V>
CacheEventFilter that implements it's filtering solely on the use of the provided KeyValueFilterclass
KeyValueFilterConverterAsCacheEventFilterConverter<K,V,C>
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 CacheEventFilter Modifier and Type Method Description <K,V>
CacheEventFilter<K,V>CacheEventFilterFactory. getFilter(Object[] params)
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 CacheEventFilter Constructor Description CacheEventFilterAsKeyValueFilter(CacheEventFilter<K,V> filter)
CompositeCacheEventFilter(CacheEventFilter<? super K,? super V>... filters)
-