public class EhCacheCacheService extends CommonEhCacheCacheService implements CacheService
cacheConfigurations, cacheManager, logger| Constructor and Description |
|---|
EhCacheCacheService(TechnicalLoggerService logger,
java.util.List<CacheConfiguration> cacheConfigurations,
CacheConfiguration defaultCacheConfiguration,
java.lang.String diskStorePath,
long tenantId) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getCacheManagerIdentifier() |
java.util.List<java.lang.String> |
getCachesNames()
Get the names of all the caches
|
protected java.lang.String |
getKeyFromCacheName(java.lang.String cacheName) |
void |
pause()
Temporary halt the execution of this service.
|
void |
resume()
resume the execution the service
|
void |
start()
Start the service
|
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, java.util.List<CacheConfiguration> cacheConfigurations, CacheConfiguration defaultCacheConfiguration, java.lang.String diskStorePath, long tenantId)
protected java.lang.String getKeyFromCacheName(java.lang.String cacheName)
throws SCacheException
getKeyFromCacheName in class CommonEhCacheCacheServiceSCacheExceptionpublic java.util.List<java.lang.String> getCachesNames()
CommonCacheServicegetCachesNames in interface CommonCacheServicepublic void start()
throws SCacheException
LifecycleServicestart in interface LifecycleServiceSCacheExceptionpublic void stop()
stop in interface LifecycleServicepublic void pause()
LifecycleServicepause in interface LifecycleServicepublic void resume()
throws SCacheException
LifecycleServiceresume in interface LifecycleServiceSCacheExceptionprotected java.lang.String getCacheManagerIdentifier()
getCacheManagerIdentifier in class CommonEhCacheCacheService