Package org.infinispan.filter
Class AcceptAllKeyValueFilter
- java.lang.Object
-
- org.infinispan.filter.AcceptAllKeyValueFilter
-
- All Implemented Interfaces:
KeyValueFilter<Object,Object>
public final class AcceptAllKeyValueFilter extends Object implements KeyValueFilter<Object,Object>
A key value filter that accepts all entries found.This filter should be used carefully as it may cause the operation to perform very slowly as all entries are accepted.
- Since:
- 7.0
- Author:
- wburns
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAcceptAllKeyValueFilter.Externalizer
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(Object key, Object value, Metadata metadata)static AcceptAllKeyValueFiltergetInstance()-
Methods inherited from interface org.infinispan.filter.KeyValueFilter
format
-
-
-
-
Method Detail
-
getInstance
public static AcceptAllKeyValueFilter getInstance()
-
accept
public boolean accept(Object key, Object value, Metadata metadata)
- Specified by:
acceptin interfaceKeyValueFilter<Object,Object>- 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.
-
-