Uses of Interface
org.infinispan.notifications.cachelistener.filter.CacheEventConverter
-
Packages that use CacheEventConverter Package Description 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 CacheEventConverter in org.infinispan.notifications
Methods in org.infinispan.notifications with parameters of type CacheEventConverter 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 CacheEventConverter in org.infinispan.notifications.cachelistener.filter
Subinterfaces of CacheEventConverter 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 CacheEventConverter 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 theCacheEventFilter.accept(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
KeyValueFilterConverterAsCacheEventFilterConverter<K,V,C>
CacheEventFilterConverter
that uses an underlyingKeyValueFilterConverter
to do the conversion and filtering.Methods in org.infinispan.notifications.cachelistener.filter that return CacheEventConverter Modifier and Type Method Description <K,V,C>
CacheEventConverter<K,V,C>CacheEventConverterFactory. getConverter(Object[] params)
Retrieves a cache event converter instance from this factory.<C> CacheEventConverter<? super K,? super V,C>
DelegatingCacheEntryListenerInvocation. getConverter()
Constructors in org.infinispan.notifications.cachelistener.filter with parameters of type CacheEventConverter Constructor Description CacheEventConverterAsConverter(CacheEventConverter<K,V,C> converter)
-