| 
 | ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CacheMBean
A management bean for a cache
| Method Summary | |
|---|---|
|  void | flush()Flushes all cache items from memory to the disk store, and from the DiskStore to disk. | 
|  CacheConfiguration | getCacheConfiguration()Gets the JMX read-only CacheConfiguration | 
|  String | getName()Gets the cache name. | 
|  CacheStatistics | getStatistics()Gets the JMX cache statistics | 
|  String | getStatus()Gets the status attribute of the Cache. | 
|  boolean | hasAbortedSizeOf()Check if the cache may contain elements which the SizeOf engine could not fully size. | 
|  boolean | isTerracottaClustered()Uses a Terracotta clustered store. | 
|  void | removeAll()Removes all cached items. | 
| Method Detail | 
|---|
void removeAll()
               throws IllegalStateException,
                      CacheException
IllegalStateException - if the cache is not Status.STATUS_ALIVE
CacheException
void flush()
           throws IllegalStateException,
                  CacheException
IllegalStateException - if the cache is not Status.STATUS_ALIVE
CacheExceptionString getStatus()
String getName()
boolean isTerracottaClustered()
boolean hasAbortedSizeOf()
CacheConfiguration getCacheConfiguration()
CacheStatistics getStatistics()
| 
 | ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||