Class CacheServiceImpl
java.lang.Object
org.exoplatform.services.cache.impl.CacheServiceImpl
- All Implemented Interfaces:
CacheService
Created by The eXo Platform SAS. Author : Tuan Nguyen
tuan08@users.sourceforge.net Sat, Sep 13, 2003 @ Time: 1:12:22 PM
-
Constructor Summary
ConstructorsConstructorDescriptionCacheServiceImpl(org.exoplatform.container.xml.InitParams params) CacheServiceImpl(org.exoplatform.container.xml.InitParams params, ExoCacheFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddExoCacheConfig(org.exoplatform.container.component.ComponentPlugin plugin) voidAdds a cache configuration plugin.Collection<ExoCache<? extends Serializable, ?>> Returns a collection of all the cache instances.<K extends Serializable,V>
ExoCache<K, V> getCacheInstance(String region) Returns a specific cache instance.
-
Constructor Details
-
CacheServiceImpl
- Throws:
Exception
-
CacheServiceImpl
public CacheServiceImpl(org.exoplatform.container.xml.InitParams params, ExoCacheFactory factory) throws Exception - Throws:
Exception
-
-
Method Details
-
addExoCacheConfig
public void addExoCacheConfig(org.exoplatform.container.component.ComponentPlugin plugin) -
addExoCacheConfig
Description copied from interface:CacheServiceAdds a cache configuration plugin.- Specified by:
addExoCacheConfigin interfaceCacheService- Parameters:
plugin- the plugin
-
getCacheInstance
Description copied from interface:CacheServiceReturns a specific cache instance.- Specified by:
getCacheInstancein interfaceCacheService- Type Parameters:
K- the key typeV- the value type- Parameters:
region- the cache region- Returns:
- the cache
-
getAllCacheInstances
Description copied from interface:CacheServiceReturns a collection of all the cache instances.- Specified by:
getAllCacheInstancesin interfaceCacheService- Returns:
- all the caches
-