@ThreadSafe
public interface KeyFilter<K>
KeyValueFilter 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.| Modifier and Type | Field and Description |
|---|---|
static KeyFilter |
ACCEPT_ALL_FILTER |
static KeyFilter |
LOAD_ALL_FILTER
Deprecated.
Use
ACCEPT_ALL_FILTER instead |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(K key) |
static final KeyFilter ACCEPT_ALL_FILTER
static final KeyFilter LOAD_ALL_FILTER
ACCEPT_ALL_FILTER insteadboolean accept(K key)
key - key to testCopyright © 2015 JBoss, a division of Red Hat. All rights reserved.