|
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. |
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
CacheException
java.lang.String getStatus()
java.lang.String getName()
CacheConfiguration getCacheConfiguration()
CacheStatistics getStatistics()
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |