Package org.infinispan.filter
Class KeyFilterAsKeyValueFilter<K,V>
- java.lang.Object
-
- org.infinispan.filter.KeyFilterAsKeyValueFilter<K,V>
-
- All Implemented Interfaces:
KeyValueFilter<K,V>
public class KeyFilterAsKeyValueFilter<K,V> extends java.lang.Object implements KeyValueFilter<K,V>
KeyValueFilter that implements it's filtering solely on the use of the provided KeyFilter- Since:
- 7.0
- Author:
- wburns
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classKeyFilterAsKeyValueFilter.Externalizer
-
Constructor Summary
Constructors Constructor Description KeyFilterAsKeyValueFilter(KeyFilter<? super K> filter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(K key, V value, Metadata metadata)protected voidinjectDependencies(org.infinispan.factories.ComponentRegistry cr)-
Methods inherited from interface org.infinispan.filter.KeyValueFilter
format
-
-
-
-
Method Detail
-
accept
public boolean accept(K key, V value, Metadata metadata)
- Specified by:
acceptin interfaceKeyValueFilter<K,V>- Parameters:
key- key to testvalue- value to use (could be null for the case of removal)metadata- metadata- Returns:
- true if the given key is accepted by this filter.
-
injectDependencies
protected void injectDependencies(org.infinispan.factories.ComponentRegistry cr)
-
-