public interface PersistentCacheManager extends CacheManager
Cache
data that outlive the JVM's process existence.Modifier and Type | Method and Description |
---|---|
void |
destroyCache(java.lang.String alias)
Destroys all data persistent data associated with the aliased
Cache instance managed
by this CacheManager |
Maintainable |
toMaintenance()
Lets you manipulate the persistent data structures for this
PersistentCacheManager |
close, createCache, getCache, getRuntimeConfiguration, getStatus, init, removeCache
Maintainable toMaintenance()
PersistentCacheManager
Maintainable
for this PersistentCacheManager
java.lang.IllegalStateException
- if state Status.MAINTENANCE
couldn't be reachedvoid destroyCache(java.lang.String alias) throws CachePersistenceException
Cache
instance managed
by this CacheManager
alias
- the Cache
's alias to destroy all persistent data fromCachePersistenceException
- When something goes wrong destroying the persistent data