Package org.infinispan.notifications.cachelistener.filter
package org.infinispan.notifications.cachelistener.filter
Cache
-specific notifications and eventing filtering classes. These classes
can be used by end user to limit what notifications are raised for a given cache event.- Public API
-
ClassDescriptionThis is a base class that should be used when implementing a CacheEventFilterConverter that provides default implementations for the
CacheEventFilter.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.CacheEventConverter<K,V, C> A converter that can be used to convert the value given for an event.Converter that is implemented by using the provided CacheEventConverter.Factory that can produce CacheEventConvertersCacheEventFilter<K,V> A filter that can be used to tell if an event should be raised or not.KeyValueFilter that is implemented by using the provided CacheEventFilter.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.Factory that can produceCacheEventFilterConverter
instances.Factory that can produce CacheEventFiltersAllows AND-composing several cache event filters.A wrapper around aCacheEntryListenerInvocation
that keeps a reference to theFilterIndexingServiceProvider
instance that handles this invocation.Enum that provides information to allow for an event to know which type and if this event was generated due to a retry usually caused by a topology change while replicating.A service provider for filter indexing services.IndexedFilter<K,V, C> A marker interface for filters that can be handled efficiently by aFilterIndexingServiceProvider
.CacheEventFilter that implements it's filtering solely on the use of the provided KeyValueFilterCacheEventFilterConverter
that uses an underlyingKeyValueFilterConverter
to do the conversion and filtering.PostCacheEventFilter<K,V> A Filter that only allows post events to be accepted.