org.exoplatform.forum.common.cache.model.selector
Class ScopeCacheSelector<T extends ScopeCacheKey,U>

java.lang.Object
  extended by org.exoplatform.forum.common.cache.model.selector.ScopeCacheSelector<T,U>
All Implemented Interfaces:
org.exoplatform.services.cache.CachedObjectSelector<T,U>

public class ScopeCacheSelector<T extends ScopeCacheKey,U>
extends Object
implements org.exoplatform.services.cache.CachedObjectSelector<T,U>


Constructor Summary
ScopeCacheSelector()
           
 
Method Summary
 void onSelect(org.exoplatform.services.cache.ExoCache<? extends T,? extends U> exoCache, T key, org.exoplatform.services.cache.ObjectCacheInfo<? extends U> ocinfo)
           
 boolean select(T key, org.exoplatform.services.cache.ObjectCacheInfo<? extends U> ocinfo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScopeCacheSelector

public ScopeCacheSelector()
Method Detail

select

public boolean select(T key,
                      org.exoplatform.services.cache.ObjectCacheInfo<? extends U> ocinfo)
Specified by:
select in interface org.exoplatform.services.cache.CachedObjectSelector<T extends ScopeCacheKey,U>

onSelect

public void onSelect(org.exoplatform.services.cache.ExoCache<? extends T,? extends U> exoCache,
                     T key,
                     org.exoplatform.services.cache.ObjectCacheInfo<? extends U> ocinfo)
              throws Exception
Specified by:
onSelect in interface org.exoplatform.services.cache.CachedObjectSelector<T extends ScopeCacheKey,U>
Throws:
Exception


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.