Class ScopeCacheSelector<T extends ScopeCacheKey,U>

java.lang.Object
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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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 Details

    • ScopeCacheSelector

      public ScopeCacheSelector()
  • Method Details

    • 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