Package | Description |
---|---|
org.infinispan.filter |
Provides capabilities around filtering and converting entries that are found in the cache or cache store/loader.
|
org.infinispan.notifications.cachelistener.filter |
Cache -specific notifications and eventing filtering classes. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractKeyValueFilterConverter<K,V,C>
This is a base class that should be used when implementing a KeyValueFilterConverter that provides default
implementations for the
KeyValueFilter.accept(Object, Object, org.infinispan.metadata.Metadata)
and Converter.convert(Object, Object, org.infinispan.metadata.Metadata) methods so they just call the
filterAndConvert(Object, Object, org.infinispan.metadata.Metadata)
method and then do the right thing. |
Modifier and Type | Method and Description |
---|---|
KeyValueFilterConverter<K,V,C> |
KeyValueFilterConverterFactory.getFilterConverter() |
default KeyValueFilterConverter<K,V,C> |
ParamKeyValueFilterConverterFactory.getFilterConverter() |
KeyValueFilterConverter<K,V,C> |
ParamKeyValueFilterConverterFactory.getFilterConverter(Object[] params)
Create an instance of
KeyValueFilterConverter |
Modifier and Type | Method and Description |
---|---|
static <K,V,C> CacheStream<CacheEntry<K,C>> |
CacheFilters.filterAndConvert(CacheStream<CacheEntry<K,V>> stream,
KeyValueFilterConverter<? super K,? super V,C> filterConverter) |
static <K,V,C> Stream<CacheEntry<K,C>> |
CacheFilters.filterAndConvert(Stream<CacheEntry<K,V>> stream,
KeyValueFilterConverter<? super K,? super V,C> filterConverter)
Adds needed intermediate operations to the provided stream, returning a possibly new stream as a result of the
operations.
|
static <K,V,C> CacheStream<C> |
CacheFilters.filterAndConvertToValue(CacheStream<CacheEntry<K,V>> stream,
KeyValueFilterConverter<? super K,? super V,C> filterConverter) |
static <K,V,C> Function<CacheEntry<K,V>,Stream<CacheEntry<K,C>>> |
CacheFilters.flatMap(KeyValueFilterConverter<? super K,? super V,C> filterConverter) |
Modifier and Type | Class and Description |
---|---|
class |
CacheEventFilterConverterAsKeyValueFilterConverter<K,V,C> |
Constructor and Description |
---|
KeyValueFilterConverterAsCacheEventFilterConverter(KeyValueFilterConverter<K,V,C> keyValueFilterConverter) |
Copyright © 2021 JBoss by Red Hat. All rights reserved.