org.exoplatform.forum.common.cache
Class CacheLoader<K extends ScopeCacheKey,V extends Serializable>
java.lang.Object
org.exoplatform.forum.common.cache.CacheLoader<K,V>
- All Implemented Interfaces:
- org.exoplatform.services.cache.future.Loader<K,V,ServiceContext<V>>
public class CacheLoader<K extends ScopeCacheKey,V extends Serializable>
- extends Object
- implements org.exoplatform.services.cache.future.Loader<K,V,ServiceContext<V>>
Used by FutureCache to execute the ServiceContext.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CacheLoader
public CacheLoader()
retrieve
public V retrieve(ServiceContext<V> cacheContext,
K key)
throws Exception
- Execute the context.
- Specified by:
retrieve in interface org.exoplatform.services.cache.future.Loader<K extends ScopeCacheKey,V extends Serializable,ServiceContext<V extends Serializable>>
- Parameters:
cacheContext - key -
- Returns:
-
- Throws:
Exception
Copyright © 2003–2014 eXo Platform SAS. All rights reserved.