Uses of Interface
org.infinispan.notifications.cachelistener.filter.CacheEventConverter
Packages that use CacheEventConverter
Package
Description
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 CacheEventConverter in org.infinispan.cache.impl
Methods in org.infinispan.cache.impl with parameters of type CacheEventConverterModifier 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 CacheEventConverter in org.infinispan.notifications
Methods in org.infinispan.notifications with parameters of type CacheEventConverterModifier 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 CacheEventConverter in org.infinispan.notifications.cachelistener
Fields in org.infinispan.notifications.cachelistener declared as CacheEventConverterModifier and TypeFieldDescriptionprotected final CacheEventConverter
<? super K, ? super V, ?> CacheNotifierImpl.BaseCacheEntryListenerInvocation.converter
Methods in org.infinispan.notifications.cachelistener that return CacheEventConverterModifier and TypeMethodDescription<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 CacheEventConverterModifier 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) protected CacheEntryEvent
<K, V> CacheNotifierImpl.BaseCacheEntryListenerInvocation.convertValue
(CacheEventConverter<? super K, ? super V, ?> converter, CacheEntryEvent<K, V> event) 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 CacheEventConverterModifierConstructorDescriptionprotected
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 CacheEventConverter in org.infinispan.notifications.cachelistener.cluster
Constructors in org.infinispan.notifications.cachelistener.cluster with parameters of type CacheEventConverterModifierConstructorDescriptionClusterListenerReplicateCallable
(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 CacheEventConverter in org.infinispan.notifications.cachelistener.filter
Subinterfaces of CacheEventConverter 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 CacheEventConverterModifier and TypeClassDescriptionclass
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
CacheEventFilterConverter
that uses an underlyingKeyValueFilterConverter
to do the conversion and filtering.Methods in org.infinispan.notifications.cachelistener.filter that return CacheEventConverterModifier and TypeMethodDescription<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 CacheEventConverterModifierConstructorDescriptionCacheEventConverterAsConverter
(CacheEventConverter<K, V, C> converter) -
Uses of CacheEventConverter in org.infinispan.security.impl
Methods in org.infinispan.security.impl with parameters of type CacheEventConverterModifier 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) -
Uses of CacheEventConverter in org.infinispan.server.hotrod.event
Classes in org.infinispan.server.hotrod.event that implement CacheEventConverterMethods in org.infinispan.server.hotrod.event that return CacheEventConverterModifier and TypeMethodDescriptionKeyValueWithPreviousEventConverterFactory.getConverter
(Object[] params)