public interface CachedObjectSelector<K extends Serializable,V>
Modifier and Type | Method and Description |
---|---|
void |
onSelect(ExoCache<? extends K,? extends V> cache,
K key,
ObjectCacheInfo<? extends V> ocinfo)
Action to perform on selected keys
|
boolean |
select(K key,
ObjectCacheInfo<? extends V> ocinfo)
Indicates whether or not a given key must be selected
|
boolean select(K key, ObjectCacheInfo<? extends V> ocinfo)
key
- the name of the cache entryocinfo
- the cache info instancetrue
if the selector wants to select the given key, false
otherwiseCopyright © 2003-2017 eXo Platform SAS. All Rights Reserved.