Package org.infinispan.filter
Interface KeyFilter<K>
-
- All Superinterfaces:
Predicate<K>
- All Known Implementing Classes:
CollectionKeyFilter
,CompositeKeyFilter
,GroupFilter
,KeyValueFilterAsKeyFilter
,PrimaryOwnerFilter
,ScopeFilter
@ThreadSafe @Deprecated public interface KeyFilter<K> extends Predicate<K>
Deprecated.since 9.3 This will be replaced byPredicate
in the futureA filter for keys. This class is complemented by theKeyValueFilter
class. This class is useful for cases when it may be more beneficial to not have the values available. This would include cache loaders since many implementations it may incur additional performance costs just to resurrect the values in addition to any keys.- Since:
- 6.0
- Author:
- Manik Surtani
-
-
Field Summary
Fields Modifier and Type Field Description static KeyFilter
ACCEPT_ALL_FILTER
Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description boolean
accept(K key)
Deprecated.default boolean
test(K k)
Deprecated.
-
-
-
Field Detail
-
ACCEPT_ALL_FILTER
static final KeyFilter ACCEPT_ALL_FILTER
Deprecated.
-
-