org.exoplatform.services.cache
Class ExpireKeyStartWithSelector

java.lang.Object
  extended by org.exoplatform.services.cache.ExpireKeyStartWithSelector
All Implemented Interfaces:
CachedObjectSelector

public class ExpireKeyStartWithSelector
extends java.lang.Object
implements CachedObjectSelector

Created by The eXo Platform SAS Author : Thuannd nhudinhthuan@yahoo.com Apr 4, 2006


Constructor Summary
ExpireKeyStartWithSelector(java.lang.String keyStartWith)
           
 
Method Summary
 void onSelect(ExoCache cache, java.io.Serializable key, ObjectCacheInfo ocinfo)
           
 boolean select(java.io.Serializable key, ObjectCacheInfo ocinfo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpireKeyStartWithSelector

public ExpireKeyStartWithSelector(java.lang.String keyStartWith)
Method Detail

select

public boolean select(java.io.Serializable key,
                      ObjectCacheInfo ocinfo)
Specified by:
select in interface CachedObjectSelector

onSelect

public void onSelect(ExoCache cache,
                     java.io.Serializable key,
                     ObjectCacheInfo ocinfo)
              throws java.lang.Exception
Specified by:
onSelect in interface CachedObjectSelector
Throws:
java.lang.Exception


Copyright © 2012 eXo Platform SAS. All Rights Reserved.