public class MonitoredEhcache
extends net.sf.ehcache.constructs.EhcacheDecoratorAdapter
Ehcache instances that allows MoSKito to access Ehcache stats.
Statistics about monitored instance can be found in MoSKito's producer registry by the same producer ID
that the name of the underlying cache is.
Mention that Ehcache statistics will become enabled for underlying cache when the instance of this class is created.PeriodicStatsUpdater,
BuiltInMemoryProducer,
InternalEhcache| Constructor and Description |
|---|
MonitoredEhcache(net.sf.ehcache.Ehcache instance)
Creates monitored proxy instance for underlying cache with default statistics accuracy and other parameters.
|
MonitoredEhcache(net.sf.ehcache.Ehcache instance,
int statisticsAccuracy)
Creates monitored proxy instance for underlying cache with given statistics accuracy.
|
MonitoredEhcache(net.sf.ehcache.Ehcache instance,
int statisticsAccuracy,
long updatePeriod)
Creates monitored proxy instance for underlying cache with given parameters.
|
MonitoredEhcache(net.sf.ehcache.Ehcache instance,
int statisticsAccuracy,
java.lang.String category,
java.lang.String subsystem,
long updatePeriod)
Creates monitored proxy instance for underlying cache with given parameters.
|
MonitoredEhcache(net.sf.ehcache.Ehcache instance,
long updatePeriod)
Creates monitored proxy instance for underlying cache with given update period and default statistics accuracy.
|
acquireReadLockOnKey, acquireWriteLockOnKey, addPropertyChangeListener, bootstrap, calculateInMemorySize, calculateOffHeapSize, calculateOnDiskSize, clearStatistics, clone, createQuery, disableDynamicFeatures, dispose, evictExpiredElements, flush, get, get, getAll, getAllWithLoader, getAverageGetTime, getAverageSearchTime, getBootstrapCacheLoader, getCacheConfiguration, getCacheEventNotificationService, getCacheExceptionHandler, getCacheManager, getDiskStoreSize, getGuid, getInternalContext, getKeys, getKeysNoDuplicateCheck, getKeysWithExpiryCheck, getLiveCacheStatistics, getMemoryStoreSize, getName, getOffHeapStoreSize, getQuiet, getQuiet, getRegisteredCacheExtensions, getRegisteredCacheLoaders, getRegisteredCacheWriter, getSampledCacheStatistics, getSearchAttribute, getSearchesPerSecond, getSize, getSizeBasedOnAccuracy, getStatistics, getStatisticsAccuracy, getStatus, getWithLoader, getWriterManager, hasAbortedSizeOf, initialise, isClusterBulkLoadEnabled, isClusterCoherent, isDisabled, isElementInMemory, isElementInMemory, isElementOnDisk, isElementOnDisk, isExpired, isKeyInCache, isNodeBulkLoadEnabled, isNodeCoherent, isPinned, isReadLockedByCurrentThread, isSampledStatisticsEnabled, isSearchable, isStatisticsEnabled, isValueInCache, isWriteLockedByCurrentThread, load, loadAll, put, put, putAll, putIfAbsent, putIfAbsent, putQuiet, putWithWriter, recalculateSize, registerCacheExtension, registerCacheLoader, registerCacheUsageListener, registerCacheWriter, registerDynamicAttributesExtractor, releaseReadLockOnKey, releaseWriteLockOnKey, remove, remove, remove, remove, removeAll, removeAll, removeAll, removeAll, removeAndReturnElement, removeCacheUsageListener, removeElement, removePropertyChangeListener, removeQuiet, removeQuiet, removeWithWriter, replace, replace, setBootstrapCacheLoader, setCacheExceptionHandler, setCacheManager, setDisabled, setName, setNodeBulkLoadEnabled, setNodeCoherent, setPinned, setSampledStatisticsEnabled, setStatisticsAccuracy, setStatisticsEnabled, setTransactionManagerLookup, toString, tryReadLockOnKey, tryWriteLockOnKey, unpinAll, unregisterCacheExtension, unregisterCacheLoader, unregisterCacheWriter, waitUntilClusterBulkLoadComplete, waitUntilClusterCoherentpublic MonitoredEhcache(net.sf.ehcache.Ehcache instance)
instance - underlying cache.public MonitoredEhcache(net.sf.ehcache.Ehcache instance,
long updatePeriod)
instance - underlying cache.updatePeriod - Ehcache statistics accuracy.public MonitoredEhcache(net.sf.ehcache.Ehcache instance,
int statisticsAccuracy)
instance - underlying cache.statisticsAccuracy - Ehcache statistics accuracy.public MonitoredEhcache(net.sf.ehcache.Ehcache instance,
int statisticsAccuracy,
long updatePeriod)
instance - underlying cache.statisticsAccuracy - Ehcache statistics accuracy.updatePeriod - period (in milliseconds) in which stats values will be updated.public MonitoredEhcache(net.sf.ehcache.Ehcache instance,
int statisticsAccuracy,
java.lang.String category,
java.lang.String subsystem,
long updatePeriod)
instance - underlying cache.statisticsAccuracy - Ehcache statistics accuracy.category - category for related stats producer.subsystem - subsystem for related stats producer.updatePeriod - period (in milliseconds) in which stats values will be updated.Copyright © 2010-2018 anotheria.net. All Rights Reserved.