Package org.exoplatform.services.cache
Class ExpireKeyStartWithSelector<K extends Serializable,V>
java.lang.Object
org.exoplatform.services.cache.ExpireKeyStartWithSelector<K,V>
- All Implemented Interfaces:
CachedObjectSelector<K,V>
public class ExpireKeyStartWithSelector<K extends Serializable,V>
extends Object
implements CachedObjectSelector<K,V>
Created by The eXo Platform SAS Author : Thuannd nhudinhthuan@yahoo.com Apr
4, 2006
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ExpireKeyStartWithSelector
-
-
Method Details
-
select
Description copied from interface:CachedObjectSelectorIndicates whether or not a given key must be selected- Specified by:
selectin interfaceCachedObjectSelector<K extends Serializable,V> - Parameters:
key- the name of the cache entryocinfo- the cache info instance- Returns:
trueif the selector wants to select the given key,falseotherwise
-
onSelect
public void onSelect(ExoCache<? extends K, ? extends V> cache, K key, ObjectCacheInfo<? extends V> ocinfo) throws ExceptionDescription copied from interface:CachedObjectSelectorAction to perform on selected keys- Specified by:
onSelectin interfaceCachedObjectSelector<K extends Serializable,V> - Parameters:
cache- the exo cachekey- cache entry keyocinfo- the cache info instance- Throws:
Exception- Exception
-