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.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionretrieve(ServiceContext<V> cacheContext, K key) Execute the context.
-
Constructor Details
-
CacheLoader
public CacheLoader()
-
-
Method Details
-
retrieve
Execute the context.- Specified by:
retrievein interfaceorg.exoplatform.services.cache.future.Loader<K extends ScopeCacheKey,V extends Serializable, ServiceContext<V extends Serializable>> - Parameters:
cacheContext-key-- Returns:
- Throws:
Exception
-