Package org.infinispan.filter
Class AbstractKeyValueFilterConverter<K,V,C>
- java.lang.Object
-
- org.infinispan.filter.AbstractKeyValueFilterConverter<K,V,C>
-
- All Implemented Interfaces:
Converter<K,V,C>
,KeyValueFilter<K,V>
,KeyValueFilterConverter<K,V,C>
- Direct Known Subclasses:
CacheEventFilterConverterAsKeyValueFilterConverter
public abstract class AbstractKeyValueFilterConverter<K,V,C> extends Object implements KeyValueFilterConverter<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.- Since:
- 7.0
- Author:
- wburns
-
-
Constructor Summary
Constructors Constructor Description AbstractKeyValueFilterConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(K key, V value, Metadata metadata)
C
convert(K key, V value, Metadata metadata)
-
Methods inherited from interface org.infinispan.filter.KeyValueFilter
format
-
Methods inherited from interface org.infinispan.filter.KeyValueFilterConverter
filterAndConvert
-
-