public class EhCacheCacheService extends CommonEhCacheCacheService implements CacheService
cacheConfigurations, cacheManager, logger
Constructor and Description |
---|
EhCacheCacheService(TechnicalLoggerService logger,
List<CacheConfiguration> cacheConfigurations,
CacheConfiguration defaultCacheConfiguration,
String diskStorePath,
long tenantId) |
Modifier and Type | Method and Description |
---|---|
protected String |
getCacheManagerIdentifier() |
List<String> |
getCachesNames()
Get the names of all the caches
|
protected String |
getKeyFromCacheName(String cacheName) |
void |
pause() |
void |
resume() |
void |
start() |
void |
stop() |
buildCacheManagerWithDefaultConfiguration, clear, clearAll, createCache, get, getCacheSize, getEhCacheConfiguration, getKeys, isStopped, remove, shutdownCacheManager, store
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clear, clearAll, get, getCacheSize, getKeys, isStopped, remove, store
public EhCacheCacheService(TechnicalLoggerService logger, List<CacheConfiguration> cacheConfigurations, CacheConfiguration defaultCacheConfiguration, String diskStorePath, long tenantId)
protected String getKeyFromCacheName(String cacheName) throws SCacheException
getKeyFromCacheName
in class CommonEhCacheCacheService
SCacheException
public List<String> getCachesNames()
CommonCacheService
getCachesNames
in interface CommonCacheService
public void start() throws SCacheException
start
in interface org.bonitasoft.engine.commons.LifecycleService
SCacheException
public void stop()
stop
in interface org.bonitasoft.engine.commons.LifecycleService
public void pause()
pause
in interface org.bonitasoft.engine.commons.LifecycleService
public void resume() throws SCacheException
resume
in interface org.bonitasoft.engine.commons.LifecycleService
SCacheException
protected String getCacheManagerIdentifier()
getCacheManagerIdentifier
in class CommonEhCacheCacheService
Copyright © 2018 Bonitasoft S.A.. All rights reserved.