|Modifier and Type||Method and Description|
Destroys all persistent data associated with this
void destroy() throws CachePersistenceException
This is achieved by putting the
executing the destroy and then exiting the
java.lang.IllegalStateException- if state maintenance couldn't be reached
CachePersistenceException- when something goes wrong destroying the persistent data
void destroyCache(java.lang.String alias) throws CachePersistenceException
Cacheinstance managed by this
AVAILABLE, the operation is executed without lifecycle interactions.
AVAILABLEthen it attempts to go into
MAINTENANCE. Upon success, the
destroyCacheoperation is performed and then
MAINTENANCEmode is exited. On failure, an exception will be thrown and no destroy will have happened.