|
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 |
java.lang.String |
getName()
Gets the cache name. |
CacheStatistics |
getStatistics()
Gets the JMX cache statistics |
java.lang.String |
getStatus()
Gets the status attribute of the Cache. |
boolean |
isTerracottaClustered()
Uses a Terracotta clustered store. |
void |
removeAll()
Removes all cached items. |
| Method Detail |
|---|
void removeAll()
throws java.lang.IllegalStateException,
CacheException
java.lang.IllegalStateException - if the cache is not Status.STATUS_ALIVE
CacheException
void flush()
throws java.lang.IllegalStateException,
CacheException
java.lang.IllegalStateException - if the cache is not Status.STATUS_ALIVE
CacheExceptionjava.lang.String getStatus()
java.lang.String getName()
boolean isTerracottaClustered()
CacheConfiguration getCacheConfiguration()
CacheStatistics getStatistics()
|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||