public class PlatformEhCacheCacheService extends CommonEhCacheCacheService implements PlatformCacheService
cacheConfigurations, cacheManager, logger| Constructor and Description |
|---|
PlatformEhCacheCacheService(TechnicalLoggerService logger,
java.util.List<CacheConfiguration> cacheConfigurations,
CacheConfiguration defaultCacheConfiguration,
java.lang.String diskStorePath) |
| 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 PlatformEhCacheCacheService(TechnicalLoggerService logger, java.util.List<CacheConfiguration> cacheConfigurations, CacheConfiguration defaultCacheConfiguration, java.lang.String diskStorePath)
protected java.lang.String getKeyFromCacheName(java.lang.String cacheName)
getKeyFromCacheName in class CommonEhCacheCacheServicepublic 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