net.sf.ehcache.management.sampled
Interface SampledCacheMBean
- All Superinterfaces: 
 - CacheSampler, LiveCacheStatistics, SampledCacheStatistics
 
- All Known Implementing Classes: 
 - SampledCache
 
public interface SampledCacheMBean
- extends CacheSampler
 
An MBean for Cache exposing cache statistics.
 Extends from both CacheSampler
 
 
- Author:
 
  - Abhishek Sanoujam
 
 
 
| Methods inherited from interface net.sf.ehcache.management.sampled.CacheSampler | 
clearStatistics, disableSampledStatistics, disableStatistics, enableSampledStatistics, enableStatistics, flush, getCacheAverageGetTime, getCacheAverageSearchTime, getCacheEvictionRate, getCacheExpirationRate, getCacheHitRate, getCacheInMemoryHitRate, getCacheInMemoryMissRate, getCacheMissRate, getCacheOffHeapHitRate, getCacheOffHeapMissRate, getCacheOnDiskHitRate, getCacheOnDiskMissRate, getCachePutRate, getCacheRemoveRate, getCacheSearchRate, getCacheUpdateRate, getDiskExpiryThreadIntervalSeconds, getHasWriteBehindWriter, getMaxBytesLocalDisk, getMaxBytesLocalDiskAsString, getMaxBytesLocalHeap, getMaxBytesLocalHeapAsString, getMaxBytesLocalOffHeap, getMaxBytesLocalOffHeapAsString, getMaxElementsOnDisk, getMaxEntriesLocalDisk, getMaxEntriesLocalHeap, getMemoryStoreEvictionPolicy, getPinnedToStore, getSearchable, getStatus, getTerracottaConsistency, getTimeToIdleSeconds, getTimeToLiveSeconds, getTransactional, getTransactionCommitRate, getTransactionRollbackRate, getWriterConcurrency, getWriterMaxQueueSize, getWriterQueueLength, isClusterBulkLoadEnabled, isDiskPersistent, isEnabled, isEternal, isLoggingEnabled, isNodeBulkLoadEnabled, isOverflowToDisk, isPinned, isTerracottaClustered, removeAll, setDiskExpiryThreadIntervalSeconds, setDiskPersistent, setEnabled, setEternal, setLoggingEnabled, setMaxBytesLocalDisk, setMaxBytesLocalDiskAsString, setMaxBytesLocalHeap, setMaxBytesLocalHeapAsString, setMaxElementsOnDisk, setMaxEntriesLocalDisk, setMaxEntriesLocalHeap, setMemoryStoreEvictionPolicy, setNodeBulkLoadEnabled, setOverflowToDisk, setStatisticsEnabled, setTimeToIdleSeconds, setTimeToLiveSeconds | 
 
| Methods inherited from interface net.sf.ehcache.statistics.LiveCacheStatistics | 
getAverageGetTimeMillis, getAverageGetTimeNanos, getCacheHitCount, getCacheHitRatio, getCacheMissCount, getCacheMissCountExpired, getCacheName, getEvictedCount, getExpiredCount, getInMemoryHitCount, getInMemoryMissCount, getInMemorySize, getLocalDiskSize, getLocalDiskSizeInBytes, getLocalHeapSize, getLocalHeapSizeInBytes, getLocalOffHeapSize, getLocalOffHeapSizeInBytes, getMaxGetTimeMillis, getMaxGetTimeNanos, getMinGetTimeMillis, getMinGetTimeNanos, getOffHeapHitCount, getOffHeapMissCount, getOffHeapSize, getOnDiskHitCount, getOnDiskMissCount, getOnDiskSize, getPutCount, getRemovedCount, getSize, getStatisticsAccuracy, getStatisticsAccuracyDescription, getUpdateCount, getXaCommitCount, getXaRecoveredCount, getXaRollbackCount, isStatisticsEnabled | 
 
| Methods inherited from interface net.sf.ehcache.statistics.sampled.SampledCacheStatistics | 
dispose, getAverageGetTimeMostRecentSample, getAverageGetTimeNanosMostRecentSample, getAverageSearchTime, getCacheElementEvictedMostRecentSample, getCacheElementExpiredMostRecentSample, getCacheElementPutMostRecentSample, getCacheElementRemovedMostRecentSample, getCacheElementUpdatedMostRecentSample, getCacheHitInMemoryMostRecentSample, getCacheHitMostRecentSample, getCacheHitOffHeapMostRecentSample, getCacheHitOnDiskMostRecentSample, getCacheHitRatioMostRecentSample, getCacheMissExpiredMostRecentSample, getCacheMissInMemoryMostRecentSample, getCacheMissMostRecentSample, getCacheMissNotFoundMostRecentSample, getCacheMissOffHeapMostRecentSample, getCacheMissOnDiskMostRecentSample, getCacheXaCommitsMostRecentSample, getCacheXaRollbacksMostRecentSample, getSearchesPerSecond, getStatisticsAccuracy, getStatisticsAccuracyDescription, isSampledStatisticsEnabled | 
 
CACHE_ENABLED
static final String CACHE_ENABLED
- CACHE_ENABLED
- See Also:
 - Constant Field Values
 
 
CACHE_CHANGED
static final String CACHE_CHANGED
- CACHE_CHANGED
- See Also:
 - Constant Field Values
 
 
CACHE_FLUSHED
static final String CACHE_FLUSHED
- CACHE_FLUSHED
- See Also:
 - Constant Field Values
 
 
CACHE_CLEARED
static final String CACHE_CLEARED
- CACHE_CLEARED
- See Also:
 - Constant Field Values
 
 
CACHE_STATISTICS_ENABLED
static final String CACHE_STATISTICS_ENABLED
- CACHE_STATISTICS_ENABLED
- See Also:
 - Constant Field Values
 
 
CACHE_STATISTICS_RESET
static final String CACHE_STATISTICS_RESET
- CACHE_STATISTICS_RESET
- See Also:
 - Constant Field Values
 
 
setNodeCoherent
@Deprecated
void setNodeCoherent(boolean coherent)
- Deprecated. use 
CacheSampler.setNodeBulkLoadEnabled(boolean) instead
- Enabled/disable cache coherence mode for this node.
 
 
  
isClusterCoherent
@Deprecated
boolean isClusterCoherent()
- Deprecated. use 
CacheSampler.isClusterBulkLoadEnabled() instead
- Is the cache coherent cluster-wide?
 
 
  
isNodeCoherent
@Deprecated
boolean isNodeCoherent()
- Deprecated. use 
CacheSampler.isNodeBulkLoadEnabled() instead
- Is the cache coherent locally?
 
 
  
getMaxElementsInMemory
@Deprecated
int getMaxElementsInMemory()
- Deprecated. use 
CacheSampler.getMaxEntriesLocalHeap() instead
- Configuration property accessor
 
- Returns:
 - Max elements in memory config setting value
 
 
  
setMaxElementsInMemory
@Deprecated
void setMaxElementsInMemory(int maxElements)
- Deprecated. use 
#setMaxEntriesLocalHeap() instead
- setMaxElementsInMemory
 
- Parameters:
 maxElements - 
 
  
Copyright © 2003-2014 Terracotta, Inc.. All Rights Reserved.