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 Cache
-specific notifications and eventing.org.infinispan.notifications.cachelistener.cluster org.infinispan.notifications.cachelistener.filter Cache
-specific notifications and eventing filtering classes.org.infinispan.server.hotrod.event -
-
Uses of CacheEventConverter in org.infinispan.notifications
Methods in org.infinispan.notifications with parameters of type CacheEventConverter Modifier and Type Method Description <C> void
DataConversionAwareListenable. 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)
<C> void
FilteringListenable. 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> void
ClassLoaderAwareFilteringListenable. 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.<C> void
DataConversionAwareListenable. addListener(ListenerHolder listenerHolder, CacheEventFilter<? super K,? super V> filter, CacheEventConverter<? super K,? super V,C> converter, java.lang.ClassLoader classLoader)
<C> void
FilteringListenable. 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> void
FilteringListenable. 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. -
Uses of CacheEventConverter in org.infinispan.notifications.cachelistener
Fields in org.infinispan.notifications.cachelistener declared as CacheEventConverter Modifier and Type Field Description protected CacheEventConverter<? super K,? super V,?>
CacheNotifierImpl.BaseCacheEntryListenerInvocation. converter
Methods in org.infinispan.notifications.cachelistener that return CacheEventConverter Modifier and Type Method Description <C> CacheEventConverter<? super K,? super V,C>
CacheEntryListenerInvocation. getConverter()
CacheEventConverter<? super K,? super V,?>
CacheNotifierImpl.BaseCacheEntryListenerInvocation. getConverter()
CacheEventConverter<? super K,? super V,?>
CacheNotifierImpl.CacheInvocationBuilder. getConverter()
Methods in org.infinispan.notifications.cachelistener with parameters of type CacheEventConverter Modifier and Type Method Description <C> void
CacheNotifierImpl. 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)
<C> void
CacheNotifierImpl. 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)
<C> void
CacheNotifierImpl. addListener(java.lang.Object listener, CacheEventFilter<? super K,? super V> filter, CacheEventConverter<? super K,? super V,C> converter)
<C> void
CacheNotifierImpl. addListener(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> void
CacheNotifierImpl. addListener(ListenerHolder listenerHolder, CacheEventFilter<? super K,? super V> filter, CacheEventConverter<? super K,? super V,C> converter, java.lang.ClassLoader classLoader)
<C> void
CacheNotifierImpl. 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)
protected CacheEntryEvent<K,V>
CacheNotifierImpl.BaseCacheEntryListenerInvocation. convertValue(CacheEventConverter<? super K,? super V,?> converter, CacheEntryEvent<K,V> event)
CacheNotifierImpl.CacheInvocationBuilder
CacheNotifierImpl.CacheInvocationBuilder. setConverter(CacheEventConverter<? super K,? super V,?> converter)
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 CacheEventConverter 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 CacheEventConverter in org.infinispan.notifications.cachelistener.cluster
Constructors in org.infinispan.notifications.cachelistener.cluster with parameters of type CacheEventConverter Constructor Description ClusterListenerReplicateCallable(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 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(java.lang.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)
-
Uses of CacheEventConverter in org.infinispan.server.hotrod.event
Classes in org.infinispan.server.hotrod.event that implement CacheEventConverter Modifier and Type Class Description class
KeyValueWithPreviousEventConverter<K,V>
Methods in org.infinispan.server.hotrod.event that return CacheEventConverter Modifier and Type Method Description CacheEventConverter<K,V,KeyValueWithPrevious<K,V>>
KeyValueWithPreviousEventConverterFactory. getConverter(java.lang.Object[] params)
-