Interface SampledCacheMBean
-
- All Superinterfaces:
CacheSampler,LegacyCacheStatistics
- All Known Implementing Classes:
SampledCache
public interface SampledCacheMBean extends CacheSampler
An MBean for Cache exposing cache statistics. Extends from bothCacheSampler- Author:
- Abhishek Sanoujam
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCACHE_CHANGEDCACHE_CHANGEDstatic java.lang.StringCACHE_CLEAREDCACHE_CLEAREDstatic java.lang.StringCACHE_ENABLEDCACHE_ENABLEDstatic java.lang.StringCACHE_FLUSHEDCACHE_FLUSHEDstatic java.lang.StringCACHE_STATISTICS_ENABLEDCACHE_STATISTICS_ENABLEDstatic java.lang.StringCACHE_STATISTICS_RESETCACHE_STATISTICS_RESET
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description intgetMaxElementsInMemory()Deprecated.useCacheSampler.getMaxEntriesLocalHeap()insteadbooleanisClusterCoherent()Deprecated.useCacheSampler.isClusterBulkLoadEnabled()insteadbooleanisNodeCoherent()Deprecated.useCacheSampler.isNodeBulkLoadEnabled()insteadvoidsetMaxElementsInMemory(int maxElements)Deprecated.voidsetNodeCoherent(boolean coherent)Deprecated.useCacheSampler.setNodeBulkLoadEnabled(boolean)instead-
Methods inherited from interface net.sf.ehcache.management.sampled.CacheSampler
flush, getAverageGetTime, getAverageGetTimeSample, getAverageSearchTime, getAverageSearchTimeSample, getCacheClusterOfflineSample, getCacheClusterOnlineSample, getCacheClusterRejoinSample, getCacheElementEvictedSample, getCacheElementExpiredSample, getCacheElementPutSample, getCacheElementRemovedSample, getCacheElementUpdatedSample, getCacheEvictionRate, getCacheExpirationRate, getCacheHitInMemorySample, getCacheHitOffHeapSample, getCacheHitOnDiskSample, getCacheHitRate, getCacheHitRatioSample, getCacheHitSample, getCacheInMemoryHitRate, getCacheInMemoryMissRate, getCacheMissExpiredSample, getCacheMissInMemorySample, getCacheMissNotFoundSample, getCacheMissOffHeapSample, getCacheMissOnDiskSample, getCacheMissRate, getCacheMissSample, getCacheOffHeapHitRate, getCacheOffHeapMissRate, getCacheOnDiskHitRate, getCacheOnDiskMissRate, getCachePutRate, getCacheRemoveRate, getCacheSearchRate, getCacheUpdateRate, getCacheXaCommitsSample, getCacheXaRollbacksSample, getDiskExpiryThreadIntervalSeconds, getHasWriteBehindWriter, getLocalDiskSizeInBytesSample, getLocalDiskSizeSample, getLocalHeapSizeInBytesSample, getLocalHeapSizeSample, getLocalOffHeapSizeInBytesSample, getLocalOffHeapSizeSample, getMaxBytesLocalDisk, getMaxBytesLocalDiskAsString, getMaxBytesLocalHeap, getMaxBytesLocalHeapAsString, getMaxBytesLocalOffHeap, getMaxBytesLocalOffHeapAsString, getMaxElementsOnDisk, getMaxEntriesInCache, getMaxEntriesLocalDisk, getMaxEntriesLocalHeap, getMemoryStoreEvictionPolicy, getMostRecentRejoinTimeStampMillis, getMostRecentRejoinTimestampMillisSample, getNonStopFailureRate, getNonStopFailureSample, getNonStopRejoinTimeoutRate, getNonStopRejoinTimeoutSample, getNonStopSuccessRate, getNonStopSuccessSample, getNonStopTimeoutRate, getNonStopTimeoutSample, getPersistenceStrategy, getPinnedToStore, getPutIfAbsentMissSample, getPutIfAbsentSuccessSample, getRemoteSizeSample, getRemoveElementMissSample, getRemoveElementSuccessSample, getReplaceOneArgMissSample, getReplaceOneArgSuccessSample, getReplaceTwoArgMissSample, getReplaceTwoArgSuccessSample, getSearchable, getSearchAttributes, getSearchesPerSecondSample, getSizeSample, getStatus, getTerracottaConsistency, getTimeToIdleSeconds, getTimeToLiveSeconds, getTransactional, getTransactionCommitRate, getTransactionRollbackRate, getWriterConcurrency, getWriterMaxQueueSize, getWriterQueueLength, getWriterQueueLengthSample, isClusterBulkLoadEnabled, isDiskPersistent, isEnabled, isEternal, isLoggingEnabled, isNodeBulkLoadEnabled, isOverflowToDisk, isOverflowToOffHeap, isPinned, isTerracottaClustered, removeAll, setDiskExpiryThreadIntervalSeconds, setDiskPersistent, setEnabled, setEternal, setLoggingEnabled, setMaxBytesLocalDisk, setMaxBytesLocalDiskAsString, setMaxBytesLocalHeap, setMaxBytesLocalHeapAsString, setMaxElementsOnDisk, setMaxEntriesInCache, setMaxEntriesLocalDisk, setMaxEntriesLocalHeap, setMemoryStoreEvictionPolicy, setNodeBulkLoadEnabled, setOverflowToDisk, setTimeToIdleSeconds, setTimeToLiveSeconds
-
Methods inherited from interface net.sf.ehcache.management.sampled.LegacyCacheStatistics
dispose, getAverageGetTimeNanos, getAverageGetTimeNanosMostRecentSample, getAverageSearchTimeNanos, getCacheClusterOfflineCount, getCacheClusterOfflineMostRecentSample, getCacheClusterOnlineCount, getCacheClusterOnlineMostRecentSample, getCacheClusterRejoinCount, getCacheClusterRejoinMostRecentSample, getCacheElementEvictedMostRecentSample, getCacheElementExpiredMostRecentSample, getCacheElementPutMostRecentSample, getCacheElementRemovedMostRecentSample, getCacheElementUpdatedMostRecentSample, getCacheHitCount, getCacheHitInMemoryMostRecentSample, getCacheHitMostRecentSample, getCacheHitOffHeapMostRecentSample, getCacheHitOnDiskMostRecentSample, getCacheHitRatio, getCacheHitRatioMostRecentSample, getCacheMissCount, getCacheMissCountExpired, getCacheMissExpiredMostRecentSample, getCacheMissInMemoryMostRecentSample, getCacheMissMostRecentSample, getCacheMissNotFoundMostRecentSample, getCacheMissOffHeapMostRecentSample, getCacheMissOnDiskMostRecentSample, getCacheName, getCacheXaCommitsMostRecentSample, getCacheXaRollbacksMostRecentSample, getEvictedCount, getExpiredCount, getInMemoryHitCount, getInMemoryMissCount, getInMemorySize, getLocalDiskSize, getLocalDiskSizeInBytes, getLocalHeapSize, getLocalHeapSizeInBytes, getLocalOffHeapSize, getLocalOffHeapSizeInBytes, getMaxGetTimeNanos, getMinGetTimeNanos, getNonStopFailureCount, getNonStopFailureMostRecentSample, getNonStopRejoinTimeoutCount, getNonStopRejoinTimeoutMostRecentSample, getNonStopSuccessCount, getNonStopSuccessMostRecentSample, getNonStopTimeoutCount, getNonStopTimeoutMostRecentSample, getNonstopTimeoutRatio, getOffHeapHitCount, getOffHeapMissCount, getOffHeapSize, getOnDiskHitCount, getOnDiskMissCount, getOnDiskSize, getPutCount, getPutIfAbsentMissCount, getPutIfAbsentMissRate, getPutIfAbsentSuccessCount, getPutIfAbsentSuccessRate, getRemovedCount, getRemoveElementMissCount, getRemoveElementMissRate, getRemoveElementSuccessCount, getRemoveElementSuccessRate, getReplaceOneArgMissCount, getReplaceOneArgMissRate, getReplaceOneArgSuccessCount, getReplaceOneArgSuccessRate, getReplaceTwoArgMissCount, getReplaceTwoArgMissRate, getReplaceTwoArgSuccessCount, getReplaceTwoArgSuccessRate, getSearchesPerSecond, getSize, getUpdateCount, getXaCommitCount, getXaRecoveredCount, getXaRollbackCount, isLocalHeapCountBased
-
-
-
-
Field Detail
-
CACHE_ENABLED
static final java.lang.String CACHE_ENABLED
CACHE_ENABLED- See Also:
- Constant Field Values
-
CACHE_CHANGED
static final java.lang.String CACHE_CHANGED
CACHE_CHANGED- See Also:
- Constant Field Values
-
CACHE_FLUSHED
static final java.lang.String CACHE_FLUSHED
CACHE_FLUSHED- See Also:
- Constant Field Values
-
CACHE_CLEARED
static final java.lang.String CACHE_CLEARED
CACHE_CLEARED- See Also:
- Constant Field Values
-
CACHE_STATISTICS_ENABLED
static final java.lang.String CACHE_STATISTICS_ENABLED
CACHE_STATISTICS_ENABLED- See Also:
- Constant Field Values
-
CACHE_STATISTICS_RESET
static final java.lang.String CACHE_STATISTICS_RESET
CACHE_STATISTICS_RESET- See Also:
- Constant Field Values
-
-
Method Detail
-
setNodeCoherent
@Deprecated void setNodeCoherent(boolean coherent)
Deprecated.useCacheSampler.setNodeBulkLoadEnabled(boolean)insteadEnabled/disable cache coherence mode for this node.
-
isClusterCoherent
@Deprecated boolean isClusterCoherent()
Deprecated.useCacheSampler.isClusterBulkLoadEnabled()insteadIs the cache coherent cluster-wide?
-
isNodeCoherent
@Deprecated boolean isNodeCoherent()
Deprecated.useCacheSampler.isNodeBulkLoadEnabled()insteadIs the cache coherent locally?
-
getMaxElementsInMemory
@Deprecated int getMaxElementsInMemory()
Deprecated.useCacheSampler.getMaxEntriesLocalHeap()insteadConfiguration property accessor- Returns:
- Max elements in memory config setting value
-
setMaxElementsInMemory
@Deprecated void setMaxElementsInMemory(int maxElements)
Deprecated.setMaxElementsInMemory- Parameters:
maxElements-
-
-