|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SampledCacheMBean
An MBean for Cache exposing cache statistics.
Extends from both LiveCacheStatistics
and
SampledCacheStatistics
Method Summary | |
---|---|
void |
clearStatistics()
Clear both sampled and cumulative statistics |
void |
disableSampledStatistics()
Disables statistics collection |
void |
disableStatistics()
Disables statistics collection. |
void |
enableSampledStatistics()
Enables statistics collection. |
void |
enableStatistics()
Enables statistics collection |
void |
flush()
Flushes all cache items from memory to the disk store, and from the DiskStore to disk. |
long |
getConfigDiskExpiryThreadIntervalSeconds()
Configuration property accessor |
int |
getConfigMaxElementsInMemory()
Configuration property accessor |
int |
getConfigMaxElementsOnDisk()
Configuration property accessor |
java.lang.String |
getConfigMemoryStoreEvictionPolicy()
Configuration property accessor |
long |
getConfigTimeToIdleSeconds()
Configuration property accessor |
long |
getConfigTimeToLiveSeconds()
Configuration property accessor |
java.lang.String |
getStatus()
Gets the status attribute of the Cache. |
boolean |
isConfigDiskPersistent()
Configuration property accessor |
boolean |
isConfigEternal()
Configuration property accessor |
boolean |
isConfigOverflowToDisk()
Configuration property accessor |
boolean |
isTerracottaClustered()
Is the cache configured with Terracotta clustering? |
void |
removeAll()
Removes all cached items. |
Methods inherited from interface net.sf.ehcache.statistics.LiveCacheStatistics |
---|
getAverageGetTimeMillis, getCacheHitCount, getCacheMissCount, getCacheMissCountExpired, getCacheName, getEvictedCount, getExpiredCount, getInMemoryHitCount, getInMemorySize, getOnDiskHitCount, getOnDiskSize, getPutCount, getRemovedCount, getSize, getStatisticsAccuracy, getStatisticsAccuracyDescription, getUpdateCount, isStatisticsEnabled |
Method Detail |
---|
void removeAll()
void flush()
java.lang.String getStatus()
boolean isTerracottaClustered()
void clearStatistics()
void enableStatistics()
void disableStatistics()
void enableSampledStatistics()
void disableSampledStatistics()
int getConfigMaxElementsInMemory()
int getConfigMaxElementsOnDisk()
java.lang.String getConfigMemoryStoreEvictionPolicy()
boolean isConfigEternal()
long getConfigTimeToIdleSeconds()
long getConfigTimeToLiveSeconds()
boolean isConfigOverflowToDisk()
boolean isConfigDiskPersistent()
long getConfigDiskExpiryThreadIntervalSeconds()
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |