|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.service.cache.CacheService
public final class CacheService
Provides cache object for cacheable services
Method Summary | |
---|---|
net.sf.ehcache.Cache |
createCache(String strCacheName)
Create a cache for a given Service |
static List<CacheableService> |
getCacheableServicesList()
Returns all registered Cacheable services |
static CacheService |
getInstance()
Gets the unique instance of the CacheService |
static void |
registerCacheableService(CacheableService cs)
Registers a new CacheableService |
static void |
registerCacheableService(String strName,
CacheableService cs)
Deprecated. use registerCacheableService( CacheableService cs ) |
static void |
resetCaches()
Reset all caches |
void |
shutdown()
Shutdown the cache service and the cache manager. |
static void |
storeCachesStatus()
Stores cache status |
static void |
updateCacheStatus(CacheableService cs)
Update cache status |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static CacheService getInstance()
public net.sf.ehcache.Cache createCache(String strCacheName)
strCacheName
- The Cache/Service name
public static void resetCaches()
public void shutdown()
@Deprecated public static void registerCacheableService(String strName, CacheableService cs)
strName
- The namecs
- The CacheableServicepublic static void registerCacheableService(CacheableService cs)
cs
- The CacheableServicepublic static List<CacheableService> getCacheableServicesList()
public static void storeCachesStatus()
public static void updateCacheStatus(CacheableService cs)
cs
- Cacheable Service
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |