public interface CacheMBean
Modifier and Type | Method and Description |
---|---|
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 |
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.
|
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()
boolean isTerracottaClustered()
boolean hasAbortedSizeOf()
CacheConfiguration getCacheConfiguration()
CacheStatistics getStatistics()