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> 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)<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> 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.<C> voidDataConversionAwareListenable. addListener(ListenerHolder listenerHolder, CacheEventFilter<? super K,? super V> filter, CacheEventConverter<? super K,? super V,C> converter, java.lang.ClassLoader classLoader)<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> 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. -
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. converterMethods 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> voidCacheNotifierImpl. 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> voidCacheNotifierImpl. 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> voidCacheNotifierImpl. addListener(java.lang.Object listener, CacheEventFilter<? super K,? super V> filter, CacheEventConverter<? super K,? super V,C> converter)<C> voidCacheNotifierImpl. 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> voidCacheNotifierImpl. addListener(ListenerHolder listenerHolder, CacheEventFilter<? super K,? super V> filter, CacheEventConverter<? super K,? super V,C> converter, java.lang.ClassLoader classLoader)<C> voidCacheNotifierImpl. 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.CacheInvocationBuilderCacheNotifierImpl.CacheInvocationBuilder. setConverter(CacheEventConverter<? super K,? super V,?> converter)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 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.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 CacheEventConverter in org.infinispan.notifications.cachelistener.filter
Subinterfaces of CacheEventConverter 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 CacheEventConverter 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 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.classKeyValueFilterConverterAsCacheEventFilterConverter<K,V,C>CacheEventFilterConverterthat uses an underlyingKeyValueFilterConverterto 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 classKeyValueWithPreviousEventConverter<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)
-