eXo Kernel :: Component :: Cache Service 2.4.0-CR2

org.exoplatform.services.cache
Class ExpireKeyStartWithSelector<K extends Serializable,V>

java.lang.Object
  extended by 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
ExpireKeyStartWithSelector(String keyStartWith)
           
 
Method Summary
 void onSelect(ExoCache<? extends K,? extends V> cache, K key, ObjectCacheInfo<? extends V> ocinfo)
           
 boolean select(K key, ObjectCacheInfo<? extends V> ocinfo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpireKeyStartWithSelector

public ExpireKeyStartWithSelector(String keyStartWith)
Method Detail

select

public boolean select(K key,
                      ObjectCacheInfo<? extends V> ocinfo)
Specified by:
select in interface CachedObjectSelector<K extends Serializable,V>

onSelect

public void onSelect(ExoCache<? extends K,? extends V> cache,
                     K key,
                     ObjectCacheInfo<? extends V> ocinfo)
              throws Exception
Specified by:
onSelect in interface CachedObjectSelector<K extends Serializable,V>
Throws:
Exception

eXo Kernel :: Component :: Cache Service 2.4.0-CR2

Copyright © 2012 eXo Platform SAS. All Rights Reserved.