public class AcceptAllKeyValueFilter extends Object implements KeyValueFilter<Object,Object>
This filter should be used carefully as it may cause the operation to perform very slowly as all entries are accepted.
Modifier and Type | Class and Description |
---|---|
static class |
AcceptAllKeyValueFilter.Externalizer |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(Object key,
Object value,
Metadata metadata) |
static AcceptAllKeyValueFilter |
getInstance() |
public static AcceptAllKeyValueFilter getInstance()
public boolean accept(Object key, Object value, Metadata metadata)
accept
in interface KeyValueFilter<Object,Object>
key
- key to testvalue
- value to use (could be null for the case of removal)metadata
- metadataCopyright © 2015 JBoss, a division of Red Hat. All rights reserved.