Uses of Interface
org.infinispan.notifications.cachelistener.filter.CacheEventFilter
-
Packages that use CacheEventFilter Package Description org.infinispan.notifications Notifications and eventing for listeners on both the Cache and CacheManager interfaces.org.infinispan.notifications.cachelistener Cache-specific notifications and eventing.org.infinispan.notifications.cachelistener.cluster org.infinispan.notifications.cachelistener.filter Cache-specific notifications and eventing filtering classes.org.infinispan.persistence.remote.upgrade -
-
Uses of CacheEventFilter in org.infinispan.notifications
Methods in org.infinispan.notifications with parameters of type CacheEventFilter Modifier and Type Method Description default <C> voidDataConversionAwareListenable. addFilteredListener(ListenerHolder listenerHolder, CacheEventFilter<? super K,? super V> filter, CacheEventConverter<? super K,? super V,C> converter, java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> filterAnnotations)default <C> voidFilteringListenable. addFilteredListener(java.lang.Object listener, CacheEventFilter<? super K,? super V> filter, CacheEventConverter<? super K,? super V,C> converter, java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> filterAnnotations)Registers a listener limiting the cache-entry specific events only to annotations that are passed in as parameter.<C> java.util.concurrent.CompletionStage<java.lang.Void>DataConversionAwareListenable. addFilteredListenerAsync(ListenerHolder listenerHolder, CacheEventFilter<? super K,? super V> filter, CacheEventConverter<? super K,? super V,C> converter, java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> filterAnnotations)<C> java.util.concurrent.CompletionStage<java.lang.Void>FilteringListenable. addFilteredListenerAsync(java.lang.Object listener, CacheEventFilter<? super K,? super V> filter, CacheEventConverter<? super K,? super V,C> converter, java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> filterAnnotations)Asynchronous version ofFilteringListenable.addFilteredListener(Object, CacheEventFilter, CacheEventConverter, Set)default <C> voidClassLoaderAwareFilteringListenable. addListener(java.lang.Object listener, CacheEventFilter<? super K,? super V> filter, CacheEventConverter<? super K,? super V,C> converter, java.lang.ClassLoader classLoader)Adds a listener with the provided filter and converter and using a given classloader when invoked.default <C> voidDataConversionAwareListenable. addListener(ListenerHolder listenerHolder, CacheEventFilter<? super K,? super V> filter, CacheEventConverter<? super K,? super V,C> converter, java.lang.ClassLoader classLoader)default <C> voidFilteringListenable. addListener(java.lang.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> java.util.concurrent.CompletionStage<java.lang.Void>ClassLoaderAwareFilteringListenable. addListenerAsync(java.lang.Object listener, CacheEventFilter<? super K,? super V> filter, CacheEventConverter<? super K,? super V,C> converter, java.lang.ClassLoader classLoader)<C> java.util.concurrent.CompletionStage<java.lang.Void>DataConversionAwareListenable. addListenerAsync(ListenerHolder listenerHolder, CacheEventFilter<? super K,? super V> filter, CacheEventConverter<? super K,? super V,C> converter, java.lang.ClassLoader classLoader)<C> java.util.concurrent.CompletionStage<java.lang.Void>FilteringListenable. addListenerAsync(java.lang.Object listener, CacheEventFilter<? super K,? super V> filter, CacheEventConverter<? super K,? super V,C> converter)Asynchronous version ofFilteringListenable.addListener(Object, CacheEventFilter, CacheEventConverter)default <C> voidFilteringListenable. addStorageFormatFilteredListener(java.lang.Object listener, CacheEventFilter<? super K,? super V> filter, CacheEventConverter<? super K,? super V,C> converter, java.util.Set<java.lang.Class<? extends java.lang.annotation.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> java.util.concurrent.CompletionStage<java.lang.Void>FilteringListenable. addStorageFormatFilteredListenerAsync(java.lang.Object listener, CacheEventFilter<? super K,? super V> filter, CacheEventConverter<? super K,? super V,C> converter, java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> filterAnnotations) -
Uses of CacheEventFilter in org.infinispan.notifications.cachelistener
Fields in org.infinispan.notifications.cachelistener declared as CacheEventFilter Modifier and Type Field Description protected CacheEventFilter<? super K,? super V>CacheNotifierImpl.BaseCacheEntryListenerInvocation. filterMethods in org.infinispan.notifications.cachelistener that return CacheEventFilter Modifier and Type Method Description CacheEventFilter<? 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 CacheEventFilter Modifier and Type Method Description <C> java.util.concurrent.CompletionStage<java.lang.Void>CacheNotifierImpl. addFilteredListenerAsync(java.lang.Object listener, CacheEventFilter<? super K,? super V> filter, CacheEventConverter<? super K,? super V,C> converter, java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> filterAnnotations)<C> java.util.concurrent.CompletionStage<java.lang.Void>CacheNotifierImpl. addFilteredListenerAsync(ListenerHolder listenerHolder, CacheEventFilter<? super K,? super V> filter, CacheEventConverter<? super K,? super V,C> converter, java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> filterAnnotations)<C> java.util.concurrent.CompletionStage<java.lang.Void>CacheNotifierImpl. addListenerAsync(java.lang.Object listener, CacheEventFilter<? super K,? super V> filter, CacheEventConverter<? super K,? super V,C> converter)<C> java.util.concurrent.CompletionStage<java.lang.Void>CacheNotifierImpl. addListenerAsync(java.lang.Object listener, CacheEventFilter<? super K,? super V> filter, CacheEventConverter<? super K,? super V,C> converter, java.lang.ClassLoader classLoader)Adds the listener using the provided filter converter and class loader.<C> java.util.concurrent.CompletionStage<java.lang.Void>CacheNotifierImpl. addListenerAsync(ListenerHolder listenerHolder, CacheEventFilter<? super K,? super V> filter, CacheEventConverter<? super K,? super V,C> converter, java.lang.ClassLoader classLoader)<C> java.util.concurrent.CompletionStage<java.lang.Void>CacheNotifierImpl. addStorageFormatFilteredListenerAsync(java.lang.Object listener, CacheEventFilter<? super K,? super V> filter, CacheEventConverter<? super K,? super V,C> converter, java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> filterAnnotations)CacheNotifierImpl.CacheInvocationBuilderCacheNotifierImpl.CacheInvocationBuilder. setFilter(CacheEventFilter<? super K,? super V> filter)protected <C> voidCacheNotifierImpl.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 CacheEventFilter Constructor Description BaseCacheEntryListenerInvocation(org.infinispan.notifications.impl.ListenerInvocation<Event<K,V>> invocation, CacheEventFilter<? super K,? super V> filter, CacheEventConverter<? super K,? super V,?> converter, java.lang.Class<? extends java.lang.annotation.Annotation> annotation, boolean onlyPrimary, boolean clustered, java.util.UUID identifier, boolean sync, Listener.Observation observation, java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> filterAnnotations, DataConversion keyDataConversion, DataConversion valueDataConversion, boolean useStorageFormat)ClusteredListenerInvocation(org.infinispan.notifications.impl.ListenerInvocation<Event<K,V>> invocation, QueueingSegmentListener<K,V,CacheEntryEvent<K,V>> handler, CacheEventFilter<? super K,? super V> filter, CacheEventConverter<? super K,? super V,?> converter, java.lang.Class<? extends java.lang.annotation.Annotation> annotation, boolean onlyPrimary, java.util.UUID identifier, boolean sync, Listener.Observation observation, java.util.Set<java.lang.Class<? extends java.lang.annotation.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 CacheEventFilter Constructor Description ClusterListenerReplicateCallable(java.lang.String cacheName, java.util.UUID identifier, Address origin, CacheEventFilter<K,V> filter, CacheEventConverter<K,V,?> converter, boolean sync, java.util.Set<java.lang.Class<? extends java.lang.annotation.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.filter Modifier and Type Interface Description interfaceCacheEventFilterConverter<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.interfaceIndexedFilter<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 classAbstractCacheEventFilterConverter<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.classCompositeCacheEventFilter<K,V>Allows AND-composing several cache event filters.classKeyFilterAsCacheEventFilter<K>CacheEventFilter that implements it's filtering solely on the use of the provided KeyFilterclassKeyValueFilterAsCacheEventFilter<K,V>CacheEventFilter that implements it's filtering solely on the use of the provided KeyValueFilterclassKeyValueFilterConverterAsCacheEventFilterConverter<K,V,C>CacheEventFilterConverterthat uses an underlyingKeyValueFilterConverterto do the conversion and filtering.classPostCacheEventFilter<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(java.lang.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) -
Uses of CacheEventFilter in org.infinispan.persistence.remote.upgrade
Classes in org.infinispan.persistence.remote.upgrade that implement CacheEventFilter Modifier and Type Class Description classRemovedFilter<K,V>
-