ehcache

net.sf.ehcache.management.sampled
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 both CacheSampler

Author:
Abhishek Sanoujam

Field Summary
static String CACHE_CHANGED
          CACHE_CHANGED
static String CACHE_CLEARED
          CACHE_CLEARED
static String CACHE_ENABLED
          CACHE_ENABLED
static String CACHE_FLUSHED
          CACHE_FLUSHED
static String CACHE_STATISTICS_ENABLED
          CACHE_STATISTICS_ENABLED
static String CACHE_STATISTICS_RESET
          CACHE_STATISTICS_RESET
 
Method Summary
 int getMaxElementsInMemory()
          Deprecated. use CacheSampler.getMaxEntriesLocalHeap() instead
 boolean isClusterCoherent()
          Deprecated. use CacheSampler.isClusterBulkLoadEnabled() instead
 boolean isNodeCoherent()
          Deprecated. use CacheSampler.isNodeBulkLoadEnabled() instead
 void setMaxElementsInMemory(int maxElements)
          Deprecated. use #setMaxEntriesLocalHeap() instead
 void setNodeCoherent(boolean coherent)
          Deprecated. use CacheSampler.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 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
Method Detail

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 -

ehcache

Copyright 2001-2017, Terracotta, Inc.