org.ehcache
Interface PersistentUserManagedCache<K,V>

Type Parameters:
K - the type of the keys used to access data within this cache
V - the type of the values held within this cache
All Superinterfaces:
Cache<K,V>, java.lang.Iterable<Cache.Entry<K,V>>, UserManagedCache<K,V>
All Known Implementing Classes:
PersistentUserManagedEhcache

public interface PersistentUserManagedCache<K,V>
extends UserManagedCache<K,V>

A UserManagedCache that holds data that outlives the JVM's process


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.ehcache.Cache
Cache.Entry<K,V>
 
Method Summary
 Maintainable toMaintenance()
          Lets you manipulate the persistent data structures for this PersistentUserManagedCache
 
Methods inherited from interface org.ehcache.UserManagedCache
close, getStatus, init
 
Methods inherited from interface org.ehcache.Cache
clear, containsKey, get, getAll, getRuntimeConfiguration, put, putAll, putIfAbsent, remove, remove, removeAll, replace, replace
 
Methods inherited from interface java.lang.Iterable
iterator
 

Method Detail

toMaintenance

Maintainable toMaintenance()
Lets you manipulate the persistent data structures for this PersistentUserManagedCache

Returns:
a Maintainable for this PersistentUserManagedCache
Throws:
java.lang.IllegalStateException - if state Status.MAINTENANCE couldn't be reached