Package org.infinispan.filter
Provides capabilities around filtering and converting entries that are found in the cache or cache store/loader.
- Public API
-
Interface Summary Interface Description Converter<K,V,C> Converter that can be used to transform a given entry to a different value.KeyValueFilter<K,V> A filter for keys with their values.KeyValueFilterConverter<K,V,C> This interface is an optimization that can be used when a filter and converter are most efficiently used as the same object composing the filtering and conversion in the same method invocation.KeyValueFilterConverterFactory<K,V,C> Factory forKeyValueFilterConverter
instancesParamKeyValueFilterConverterFactory<K,V,C> Factory forKeyValueFilterConverter
instances supporting parameters. -
Class Summary Class Description AbstractKeyValueFilterConverter<K,V,C> This is a base class that should be used when implementing a KeyValueFilterConverter that provides default implementations for theKeyValueFilter.accept(Object, Object, org.infinispan.metadata.Metadata)
andConverter.convert(Object, Object, org.infinispan.metadata.Metadata)
methods so they just call theKeyValueFilterConverter.filterAndConvert(Object, Object, org.infinispan.metadata.Metadata)
method and then do the right thing.AcceptAllKeyValueFilter A key value filter that accepts all entries found.AcceptAllKeyValueFilter.Externalizer CacheFilters Static factory class that contains utility methods that can be used for performing proper transformations fromKeyValueFilter
,Converter
andKeyValueFilterConverter
to appropriate distributed stream instances.CacheFilters.CacheFiltersExternalizer CompositeKeyValueFilter<K,V> Allows AND-composing several key/value filters.CompositeKeyValueFilter.Externalizer -
Annotation Types Summary Annotation Type Description NamedFactory