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
|
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.
|
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
CacheException
String getStatus()
String getName()
boolean isTerracottaClustered()
boolean hasAbortedSizeOf()
CacheConfiguration getCacheConfiguration()
CacheStatistics getStatistics()
Copyright © 2003-2013 Terracotta, Inc.. All Rights Reserved.