|
eXo Kernel :: Component :: Cache Service 2.4.8-GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CachedObjectSelector<K extends Serializable,V>
Created by The eXo Platform SAS
CachedObjectSelector interface provides a way to perform action on selected keys.
| Method Summary | |
|---|---|
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 |
| Method Detail |
|---|
boolean select(K key,
ObjectCacheInfo<? extends V> ocinfo)
key - the name of the cache entryocinfo - the cache info instance
true if the selector wants to select the given key, false otherwise
void onSelect(ExoCache<? extends K,? extends V> cache,
K key,
ObjectCacheInfo<? extends V> ocinfo)
throws Exception
cache - the exo cacheocinfo - the cache info instance
Exception
|
eXo Kernel :: Component :: Cache Service 2.4.8-GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||