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, storeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclear, clearAll, get, getCacheSize, getKeys, isStopped, remove, storepublic EhCacheCacheService(TechnicalLoggerService logger, List<CacheConfiguration> cacheConfigurations, CacheConfiguration defaultCacheConfiguration, String diskStorePath, long tenantId)
protected String getKeyFromCacheName(String cacheName) throws SCacheException
getKeyFromCacheName in class CommonEhCacheCacheServiceSCacheExceptionpublic List<String> getCachesNames()
CommonCacheServicegetCachesNames in interface CommonCacheServicepublic void start()
throws SCacheException
start in interface org.bonitasoft.engine.commons.LifecycleServiceSCacheExceptionpublic void stop()
stop in interface org.bonitasoft.engine.commons.LifecycleServicepublic void pause()
pause in interface org.bonitasoft.engine.commons.LifecycleServicepublic void resume()
throws SCacheException
resume in interface org.bonitasoft.engine.commons.LifecycleServiceSCacheExceptionprotected String getCacheManagerIdentifier()
getCacheManagerIdentifier in class CommonEhCacheCacheServiceCopyright © 2019 Bonitasoft S.A.. All rights reserved.