|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.management.StandardMBean
net.sf.ehcache.hibernate.management.impl.BaseEmitterBean
net.sf.ehcache.management.sampled.SampledCache
public class SampledCache
An implementation of SampledCacheMBean
| Field Summary |
|---|
| Fields inherited from class net.sf.ehcache.hibernate.management.impl.BaseEmitterBean |
|---|
emitter, sequenceNumber |
| Fields inherited from interface net.sf.ehcache.management.sampled.SampledCacheMBean |
|---|
CACHE_CHANGED, CACHE_CLEARED, CACHE_ENABLED, CACHE_FLUSHED, CACHE_STATISTICS_ENABLED, CACHE_STATISTICS_RESET |
| Constructor Summary | |
|---|---|
SampledCache(Ehcache cache)
Constructor accepting the backing Ehcache |
|
| Method Summary | |
|---|---|
protected void |
doDispose()
Dispose callback of subclasses |
void |
flush()
Flushes all cache items from memory to the disk store, and from the DiskStore to disk. |
long |
getAverageGetTime()
|
long |
getAverageGetTimeNanos()
Average time in nanoseconds taken to get an element from the cache. |
long |
getAverageGetTimeNanosMostRecentSample()
Get most recent value for average time taken for get() operation in the cache |
SampledRateCounter |
getAverageGetTimeSample()
Get the SampledRateCounter for average time taken for get() operation in the
cache |
long |
getAverageSearchTime()
|
long |
getAverageSearchTimeNanos()
Get the average search execution time for searches finishing within the last sample period |
SampledRateCounter |
getAverageSearchTimeSample()
Get the SampledRateCounter for average search execution time for searches finishing within the last sample period |
Map<String,Object> |
getCacheAttributes()
getCacheAttributes |
long |
getCacheAverageSearchTimeNanos()
|
long |
getCacheElementEvictedMostRecentSample()
Get most recent value element evicted from cache |
SampledCounter |
getCacheElementEvictedSample()
Get the SampledCounter element evicted from cache |
long |
getCacheElementExpiredMostRecentSample()
Get most recent value element expired from cache |
SampledCounter |
getCacheElementExpiredSample()
Get the SampledCounter element expired from cache |
long |
getCacheElementPutMostRecentSample()
Get most recent value element puts in the cache |
SampledCounter |
getCacheElementPutSample()
Get the SampledCounter element puts in the cache |
long |
getCacheElementRemovedMostRecentSample()
Get most recent value element removed from cache |
SampledCounter |
getCacheElementRemovedSample()
Get the SampledCounter element removed from cache |
long |
getCacheElementUpdatedMostRecentSample()
Get most recent value element updates , i.e. |
SampledCounter |
getCacheElementUpdatedSample()
Get the SampledCounter element updates , i.e. |
long |
getCacheEvictionRate()
|
long |
getCacheExpirationRate()
|
long |
getCacheHitCount()
The number of times a requested item was found in the cache. |
long |
getCacheHitInMemoryMostRecentSample()
Get most recent value for in-memory cache hit |
SampledCounter |
getCacheHitInMemorySample()
Get the SampledCounter for in-memory cache hit |
long |
getCacheHitMostRecentSample()
Get most recent value for cache hit |
long |
getCacheHitOffHeapMostRecentSample()
Get most recent value for off-heap cache hit |
SampledCounter |
getCacheHitOffHeapSample()
Get the SampledCounter for off-heap cache hit |
long |
getCacheHitOnDiskMostRecentSample()
Get most recent value for on-disk cache hit |
SampledCounter |
getCacheHitOnDiskSample()
Get the SampledCounter for on-disk cache hit |
long |
getCacheHitRate()
|
int |
getCacheHitRatio()
The ratio of hits to accesses (hits + misses). |
int |
getCacheHitRatioMostRecentSample()
Get most recent value for cache hit ratio |
SampledCounter |
getCacheHitRatioSample()
Get the SampledCounter for cache hit ratio |
SampledCounter |
getCacheHitSample()
Get the SampledCounter for cache hit |
long |
getCacheInMemoryHitRate()
|
long |
getCacheInMemoryMissRate()
|
long |
getCacheMissCount()
Number of times a requested element was not found in the cache. |
long |
getCacheMissCountExpired()
|
long |
getCacheMissExpiredMostRecentSample()
Get most recent value for cache miss as result of the element getting expired |
SampledCounter |
getCacheMissExpiredSample()
Get the SampledCounter for cache miss as result of the element getting
expired |
long |
getCacheMissInMemoryMostRecentSample()
Get most recent value for in-memory cache miss |
SampledCounter |
getCacheMissInMemorySample()
Get the SampledCounter for in-memory cache miss |
long |
getCacheMissMostRecentSample()
Get most recent value for cache miss |
long |
getCacheMissNotFoundMostRecentSample()
Get most recent value for cache miss as result of the element not found in cache |
SampledCounter |
getCacheMissNotFoundSample()
Get the SampledCounter for cache miss as result of the element not found
in cache |
long |
getCacheMissOffHeapMostRecentSample()
Get most recent value for off-heap cache miss |
SampledCounter |
getCacheMissOffHeapSample()
Get the SampledCounter for off-heap cache miss |
long |
getCacheMissOnDiskMostRecentSample()
Get most recent value for on-disk cache miss |
SampledCounter |
getCacheMissOnDiskSample()
Get the SampledCounter for on-disk cache miss |
long |
getCacheMissRate()
|
SampledCounter |
getCacheMissSample()
Get the SampledCounter for cache miss |
String |
getCacheName()
|
long |
getCacheOffHeapHitRate()
|
long |
getCacheOffHeapMissRate()
|
long |
getCacheOnDiskHitRate()
|
long |
getCacheOnDiskMissRate()
|
long |
getCachePutRate()
|
long |
getCacheRemoveRate()
|
long |
getCacheSearchRate()
|
long |
getCacheUpdateRate()
|
long |
getCacheXaCommitsMostRecentSample()
Get most recent value of XA commits |
SampledCounter |
getCacheXaCommitsSample()
Get the SampledCounter for number of XA Transaction commits that have completed in the interval |
long |
getCacheXaRollbacksMostRecentSample()
Get most recent value of XA rollbacks |
SampledCounter |
getCacheXaRollbacksSample()
Get the SampledCounter for number of XA Transaction rollbacks that have completed in the interval |
long |
getDiskExpiryThreadIntervalSeconds()
Configuration property accessor |
long |
getEvictedCount()
Number of elements evicted from the cache |
long |
getExpiredCount()
Number of elements expired since creation or last clear |
boolean |
getHasWriteBehindWriter()
Is there a registered Write-behind CacheWriter |
long |
getInMemoryHitCount()
Number of times a requested item was found in the Memory Store. |
long |
getInMemoryMissCount()
Number of times a requested item was not found in the Memory Store. |
long |
getInMemorySize()
Deprecated. use getLocalHeapSize() |
long |
getLocalDiskSize()
Number of entries in the DiskStore |
long |
getLocalDiskSizeInBytes()
Number of of bytes used by entries in the DiskStore |
long |
getLocalHeapSize()
Number of entries in the MemoryStore |
long |
getLocalHeapSizeInBytes()
Number of of bytes used by entries in the MemoryStore |
long |
getLocalOffHeapSize()
Number of entries in the off-heap store |
long |
getLocalOffHeapSizeInBytes()
Number of of bytes used by entries in the off-heap store |
long |
getMaxBytesLocalDisk()
Configuration property accessor |
String |
getMaxBytesLocalDiskAsString()
Configuration property accessor |
long |
getMaxBytesLocalHeap()
Configuration property accessor |
String |
getMaxBytesLocalHeapAsString()
Configuration property accessor |
long |
getMaxBytesLocalOffHeap()
Configuration property accessor |
String |
getMaxBytesLocalOffHeapAsString()
Configuration property accessor |
int |
getMaxElementsInMemory()
Configuration property accessor |
int |
getMaxElementsOnDisk()
Configuration property accessor |
int |
getMaxEntriesInCache()
Configuration property accessor |
long |
getMaxEntriesLocalDisk()
Configuration property accessor |
long |
getMaxEntriesLocalHeap()
Configuration property accessor |
long |
getMaxGetTimeNanos()
Return maximum time taken for a get operation in the cache in milliseconds |
String |
getMemoryStoreEvictionPolicy()
Configuration property accessor |
long |
getMinGetTimeNanos()
Return minimum time taken for a get operation in the cache in nanoseconds |
MBeanNotificationInfo[] |
getNotificationInfo()
|
long |
getOffHeapHitCount()
Number of times a requested item was found in the off-heap store. |
long |
getOffHeapMissCount()
Number of times a requested item was not found in the off-heap store. |
long |
getOffHeapSize()
Deprecated. use getLocalOffHeapSize() |
long |
getOnDiskHitCount()
Number of times a requested item was found in the Disk Store. |
long |
getOnDiskMissCount()
Number of times a requested item was not found in the Disk Store. |
long |
getOnDiskSize()
Deprecated. use getLocalDiskSize() |
String |
getPinnedToStore()
Configuration property accessor |
long |
getPutCount()
Number of puts that has happened in the cache |
long |
getRemovedCount()
Number of elements removed since creation or last clear |
boolean |
getSearchable()
Is the cache configured for search |
long |
getSearchesPerSecond()
Get the number of searches that have finished execution in the last second |
SampledCounter |
getSearchesPerSecondSample()
Get the SampledCounter for number of searches that have finished in the interval |
long |
getSize()
Size of the cache based on current accuracy settings. |
String |
getStatus()
Gets the status attribute of the Cache. |
String |
getTerracottaConsistency()
Returns a textual description of a Terracotta-clustered cache's consistency mode. |
long |
getTimeToIdleSeconds()
Configuration property accessor |
long |
getTimeToLiveSeconds()
Configuration property accessor |
boolean |
getTransactional()
Is the cache a transactional one |
long |
getTransactionCommitRate()
|
long |
getTransactionRollbackRate()
|
long |
getUpdateCount()
Number of updates that as happened in the cache |
int |
getWriterConcurrency()
Returns the number of configured write-behind queues/threads. |
int |
getWriterMaxQueueSize()
Returns the maximum size of any write-behind queues. |
long |
getWriterQueueLength()
Returns the total length of all write-behind queues for this cache |
long |
getXaCommitCount()
Return the Cache's XAResource commit calls count |
long |
getXaRecoveredCount()
Return the Cache's XAResource recovered XIDs count |
long |
getXaRollbackCount()
Return the Cache's XAResource rollback calls count |
boolean |
isClusterBulkLoadEnabled()
Is the cache in bulk-load mode cluster-wide? |
boolean |
isClusterCoherent()
Deprecated. |
boolean |
isDiskPersistent()
Configuration property accessor |
boolean |
isEnabled()
Is the cache enabled? |
boolean |
isEternal()
Configuration property accessor |
boolean |
isLoggingEnabled()
Configuration property accessor |
boolean |
isNodeBulkLoadEnabled()
Is the cache in bulk-load mode locally? |
boolean |
isNodeCoherent()
Deprecated. |
boolean |
isOverflowToDisk()
Configuration property accessor |
boolean |
isPinned()
Configuration property accessor |
boolean |
isTerracottaClustered()
Is the cache configured with Terracotta clustering? |
void |
propertyChange(PropertyChangeEvent evt)
|
void |
removeAll()
Removes all cached items. |
void |
setDiskExpiryThreadIntervalSeconds(long seconds)
setDiskExpiryThreadIntervalSeconds |
void |
setDiskPersistent(boolean diskPersistent)
setDiskPersistent |
void |
setEnabled(boolean enabled)
Enabled/disable the cache. |
void |
setEternal(boolean eternal)
setEternal |
void |
setLoggingEnabled(boolean enabled)
setLoggingEnabled |
void |
setMaxBytesLocalDisk(long maxBytes)
setMaxBytesLocalDisk |
void |
setMaxBytesLocalDiskAsString(String maxBytes)
setMaxBytesLocalDisk |
void |
setMaxBytesLocalHeap(long maxBytes)
setMaxBytesLocalHeap |
void |
setMaxBytesLocalHeapAsString(String maxBytes)
setMaxBytesLocalHeap |
void |
setMaxElementsInMemory(int maxElements)
setMaxElementsInMemory |
void |
setMaxElementsOnDisk(int maxElements)
setMaxElementsOnDisk |
void |
setMaxEntriesInCache(int maxEntries)
setMaxEntriesInCache |
void |
setMaxEntriesLocalDisk(long maxEntries)
setMaxEntriesLocalDisk |
void |
setMaxEntriesLocalHeap(long maxEntries)
setMaxEntriesLocalHeap |
void |
setMemoryStoreEvictionPolicy(String evictionPolicy)
setMemoryStoreEvictionPolicy |
void |
setNodeBulkLoadEnabled(boolean bulkLoadEnabled)
Enabled/disable bulk-load mode for this node. |
void |
setNodeCoherent(boolean coherent)
Deprecated. use setNodeBulkLoadEnabled(boolean) instead |
void |
setOverflowToDisk(boolean overflowToDisk)
setOverflowToDisk |
void |
setTimeToIdleSeconds(long tti)
setTimeToIdleSeconds |
void |
setTimeToLiveSeconds(long ttl)
setTimeToLiveSeconds |
| Methods inherited from class net.sf.ehcache.hibernate.management.impl.BaseEmitterBean |
|---|
addNotificationListener, dispose, removeNotificationListener, removeNotificationListener, sendNotification, sendNotification, sendNotification |
| Methods inherited from class javax.management.StandardMBean |
|---|
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.sf.ehcache.management.sampled.LegacyCacheStatistics |
|---|
dispose |
| Constructor Detail |
|---|
public SampledCache(Ehcache cache)
throws NotCompliantMBeanException
Ehcache
cache - the cache object to use in initializing this sampled jmx mbean
NotCompliantMBeanException - if object doesn't comply with mbean spec| Method Detail |
|---|
public boolean isEnabled()
isEnabled in interface CacheSamplerpublic void setEnabled(boolean enabled)
setEnabled in interface CacheSamplerpublic boolean isClusterBulkLoadEnabled()
isClusterBulkLoadEnabled in interface CacheSamplerpublic boolean isNodeBulkLoadEnabled()
isNodeBulkLoadEnabled in interface CacheSamplerpublic void setNodeBulkLoadEnabled(boolean bulkLoadEnabled)
setNodeBulkLoadEnabled in interface CacheSamplerpublic void flush()
flush in interface CacheSamplerpublic String getCacheName()
getCacheName in interface LegacyCacheStatisticspublic String getStatus()
getStatus in interface CacheSamplerpublic void removeAll()
removeAll in interface CacheSamplerpublic long getAverageGetTimeNanosMostRecentSample()
LegacyCacheStatistics
getAverageGetTimeNanosMostRecentSample in interface LegacyCacheStatisticspublic long getCacheEvictionRate()
getCacheEvictionRate in interface CacheSamplerpublic long getCacheElementEvictedMostRecentSample()
getCacheElementEvictedMostRecentSample in interface LegacyCacheStatisticspublic long getCacheExpirationRate()
getCacheExpirationRate in interface CacheSamplerpublic long getCacheElementExpiredMostRecentSample()
getCacheElementExpiredMostRecentSample in interface LegacyCacheStatisticspublic long getCachePutRate()
getCachePutRate in interface CacheSamplerpublic long getCacheElementPutMostRecentSample()
getCacheElementPutMostRecentSample in interface LegacyCacheStatisticspublic long getCacheRemoveRate()
getCacheRemoveRate in interface CacheSamplerpublic long getCacheElementRemovedMostRecentSample()
getCacheElementRemovedMostRecentSample in interface LegacyCacheStatisticspublic long getCacheUpdateRate()
getCacheUpdateRate in interface CacheSamplerpublic long getCacheElementUpdatedMostRecentSample()
getCacheElementUpdatedMostRecentSample in interface LegacyCacheStatisticspublic long getCacheInMemoryHitRate()
getCacheInMemoryHitRate in interface CacheSamplerpublic long getCacheHitInMemoryMostRecentSample()
getCacheHitInMemoryMostRecentSample in interface LegacyCacheStatisticspublic long getCacheOffHeapHitRate()
getCacheOffHeapHitRate in interface CacheSamplerpublic long getCacheHitOffHeapMostRecentSample()
getCacheHitOffHeapMostRecentSample in interface LegacyCacheStatisticspublic long getCacheHitRate()
getCacheHitRate in interface CacheSamplerpublic long getCacheHitMostRecentSample()
getCacheHitMostRecentSample in interface LegacyCacheStatisticspublic long getCacheOnDiskHitRate()
getCacheOnDiskHitRate in interface CacheSamplerpublic long getCacheHitOnDiskMostRecentSample()
getCacheHitOnDiskMostRecentSample in interface LegacyCacheStatisticspublic long getCacheMissExpiredMostRecentSample()
getCacheMissExpiredMostRecentSample in interface LegacyCacheStatisticspublic long getCacheMissRate()
getCacheMissRate in interface CacheSamplerpublic long getCacheMissMostRecentSample()
getCacheMissMostRecentSample in interface LegacyCacheStatisticspublic long getCacheInMemoryMissRate()
getCacheInMemoryMissRate in interface CacheSamplerpublic long getCacheMissInMemoryMostRecentSample()
getCacheMissInMemoryMostRecentSample in interface LegacyCacheStatisticspublic long getCacheOffHeapMissRate()
getCacheOffHeapMissRate in interface CacheSamplerpublic long getCacheMissOffHeapMostRecentSample()
getCacheMissOffHeapMostRecentSample in interface LegacyCacheStatisticspublic long getCacheOnDiskMissRate()
getCacheOnDiskMissRate in interface CacheSamplerpublic long getCacheMissOnDiskMostRecentSample()
getCacheMissOnDiskMostRecentSample in interface LegacyCacheStatisticspublic long getCacheMissNotFoundMostRecentSample()
getCacheMissNotFoundMostRecentSample in interface LegacyCacheStatisticspublic boolean isTerracottaClustered()
isTerracottaClustered in interface CacheSamplerpublic String getTerracottaConsistency()
getTerracottaConsistency in interface CacheSampler@Deprecated public void setNodeCoherent(boolean coherent)
setNodeBulkLoadEnabled(boolean) instead
setNodeCoherent in interface SampledCacheMBean@Deprecated public boolean isClusterCoherent()
isClusterCoherent in interface SampledCacheMBean@Deprecated public boolean isNodeCoherent()
isNodeCoherent in interface SampledCacheMBeanpublic long getAverageGetTimeNanos()
getAverageGetTimeNanos in interface LegacyCacheStatisticsLegacyCacheStatistics.getAverageGetTimeNanos()public long getMaxGetTimeNanos()
getMaxGetTimeNanos in interface LegacyCacheStatisticsnet.sf.ehcache.statistics.LiveCacheStatistics#getMaxGetTimeNanos()public long getMinGetTimeNanos()
getMinGetTimeNanos in interface LegacyCacheStatisticsnet.sf.ehcache.statistics.LiveCacheStatistics#getMinGetTimeNanos()public long getXaCommitCount()
getXaCommitCount in interface LegacyCacheStatisticsnet.sf.ehcache.statistics.LiveCacheStatistics#getXaCommitCount()public long getXaRollbackCount()
getXaRollbackCount in interface LegacyCacheStatisticsnet.sf.ehcache.statistics.LiveCacheStatistics#getXaRollbackCount()public long getXaRecoveredCount()
getXaRecoveredCount in interface LegacyCacheStatisticsnet.sf.ehcache.statistics.LiveCacheStatistics#getXaRecoveredCount()public boolean getHasWriteBehindWriter()
getHasWriteBehindWriter in interface CacheSamplerpublic long getWriterQueueLength()
getWriterQueueLength in interface CacheSamplergetWriterQueueLength in interface LegacyCacheStatisticsnet.sf.ehcache.statistics.LiveCacheStatistics#getWriterQueueLength()public int getWriterMaxQueueSize()
getWriterMaxQueueSize in interface CacheSamplerCacheWriterConfiguration.getWriteBehindMaxQueueSize()public int getWriterConcurrency()
getWriterConcurrency in interface CacheSamplerCacheWriterConfiguration.getWriteBehindConcurrency()public long getCacheHitCount()
getCacheHitCount in interface LegacyCacheStatisticsLegacyCacheStatistics.getCacheHitCount()public long getCacheMissCount()
getCacheMissCount in interface LegacyCacheStatisticsLegacyCacheStatistics.getCacheMissCount()public long getInMemoryMissCount()
getInMemoryMissCount in interface LegacyCacheStatisticsLegacyCacheStatistics.getInMemoryMissCount()public long getOffHeapMissCount()
getOffHeapMissCount in interface LegacyCacheStatisticsLegacyCacheStatistics.getOffHeapMissCount()public long getOnDiskMissCount()
getOnDiskMissCount in interface LegacyCacheStatisticsLegacyCacheStatistics.getOnDiskMissCount()public long getCacheMissCountExpired()
getCacheMissCountExpired in interface LegacyCacheStatisticsLegacyCacheStatistics.getCacheMissCountExpired()public long getDiskExpiryThreadIntervalSeconds()
getDiskExpiryThreadIntervalSeconds in interface CacheSamplerCacheSampler.getDiskExpiryThreadIntervalSeconds()public void setDiskExpiryThreadIntervalSeconds(long seconds)
setDiskExpiryThreadIntervalSeconds in interface CacheSamplerCacheSampler.setDiskExpiryThreadIntervalSeconds(long)public long getMaxEntriesLocalHeap()
getMaxEntriesLocalHeap in interface CacheSamplerCacheSampler.getMaxEntriesLocalHeap()public void setMaxEntriesLocalHeap(long maxEntries)
setMaxEntriesLocalHeap in interface CacheSamplerCacheSampler.setMaxEntriesLocalHeap(long)public long getMaxBytesLocalHeap()
getMaxBytesLocalHeap in interface CacheSamplerCacheSampler.getMaxBytesLocalHeap()public void setMaxBytesLocalHeap(long maxBytes)
setMaxBytesLocalHeap in interface CacheSamplerCacheSampler.setMaxBytesLocalHeap(long)public void setMaxBytesLocalHeapAsString(String maxBytes)
setMaxBytesLocalHeapAsString in interface CacheSamplerCacheSampler.setMaxBytesLocalHeapAsString(String)public String getMaxBytesLocalHeapAsString()
getMaxBytesLocalHeapAsString in interface CacheSamplerCacheSampler.getMaxBytesLocalHeapAsString()public int getMaxElementsInMemory()
getMaxElementsInMemory in interface SampledCacheMBeanpublic void setMaxElementsInMemory(int maxElements)
setMaxElementsInMemory in interface SampledCacheMBeanpublic long getMaxEntriesLocalDisk()
getMaxEntriesLocalDisk in interface CacheSamplerCacheSampler.getMaxEntriesLocalDisk()public int getMaxEntriesInCache()
getMaxEntriesInCache in interface CacheSamplerpublic void setMaxEntriesLocalDisk(long maxEntries)
setMaxEntriesLocalDisk in interface CacheSamplerCacheSampler.setMaxEntriesLocalDisk(long)public void setMaxBytesLocalDisk(long maxBytes)
setMaxBytesLocalDisk in interface CacheSamplerCacheSampler.setMaxBytesLocalDisk(long)public void setMaxBytesLocalDiskAsString(String maxBytes)
setMaxBytesLocalDiskAsString in interface CacheSamplerCacheSampler.setMaxBytesLocalDiskAsString(String)public String getMaxBytesLocalDiskAsString()
getMaxBytesLocalDiskAsString in interface CacheSamplerCacheSampler.getMaxBytesLocalDiskAsString()public int getMaxElementsOnDisk()
getMaxElementsOnDisk in interface CacheSamplerCacheSampler.getMaxElementsOnDisk()public void setMaxElementsOnDisk(int maxElements)
setMaxElementsOnDisk in interface CacheSamplerCacheSampler.setMaxElementsOnDisk(int)public void setMaxEntriesInCache(int maxEntries)
setMaxEntriesInCache in interface CacheSamplerpublic long getMaxBytesLocalDisk()
getMaxBytesLocalDisk in interface CacheSamplerCacheSampler.getMaxBytesLocalDisk()public long getMaxBytesLocalOffHeap()
getMaxBytesLocalOffHeap in interface CacheSamplerCacheSampler.getMaxBytesLocalOffHeap()public String getMaxBytesLocalOffHeapAsString()
getMaxBytesLocalOffHeapAsString in interface CacheSamplerCacheSampler.getMaxBytesLocalOffHeapAsString()public String getMemoryStoreEvictionPolicy()
getMemoryStoreEvictionPolicy in interface CacheSamplerCacheSampler.getMemoryStoreEvictionPolicy()public void setMemoryStoreEvictionPolicy(String evictionPolicy)
setMemoryStoreEvictionPolicy in interface CacheSamplerCacheSampler.setMemoryStoreEvictionPolicy(String)public long getTimeToIdleSeconds()
getTimeToIdleSeconds in interface CacheSamplerCacheSampler.getTimeToIdleSeconds()public void setTimeToIdleSeconds(long tti)
setTimeToIdleSeconds in interface CacheSamplerCacheSampler.setTimeToIdleSeconds(long)public long getTimeToLiveSeconds()
getTimeToLiveSeconds in interface CacheSamplerCacheSampler.getTimeToLiveSeconds()public void setTimeToLiveSeconds(long ttl)
setTimeToLiveSeconds in interface CacheSamplerCacheSampler.setTimeToLiveSeconds(long)public boolean isDiskPersistent()
isDiskPersistent in interface CacheSamplerCacheSampler.isDiskPersistent()public void setDiskPersistent(boolean diskPersistent)
setDiskPersistent in interface CacheSamplerCacheSampler.setDiskPersistent(boolean)public boolean isEternal()
isEternal in interface CacheSamplerCacheSampler.isEternal()public void setEternal(boolean eternal)
setEternal in interface CacheSamplerCacheSampler.setEternal(boolean)public boolean isOverflowToDisk()
isOverflowToDisk in interface CacheSamplerCacheSampler.isOverflowToDisk()public void setOverflowToDisk(boolean overflowToDisk)
setOverflowToDisk in interface CacheSamplerCacheSampler.setOverflowToDisk(boolean)public boolean isLoggingEnabled()
isLoggingEnabled in interface CacheSamplerCacheSampler.isLoggingEnabled()public void setLoggingEnabled(boolean enabled)
setLoggingEnabled in interface CacheSamplerCacheSampler.setLoggingEnabled(boolean)public boolean isPinned()
isPinned in interface CacheSamplerCacheSampler.isPinned()public String getPinnedToStore()
getPinnedToStore in interface CacheSamplerCacheSampler.getPinnedToStore()public long getEvictedCount()
getEvictedCount in interface LegacyCacheStatisticsLegacyCacheStatistics.getEvictedCount()public long getExpiredCount()
getExpiredCount in interface LegacyCacheStatisticsLegacyCacheStatistics.getExpiredCount()public long getInMemoryHitCount()
getInMemoryHitCount in interface LegacyCacheStatisticsLegacyCacheStatistics.getInMemoryHitCount()@Deprecated public long getInMemorySize()
getLocalHeapSize()
getInMemorySize in interface LegacyCacheStatisticsgetInMemorySize()public long getOffHeapHitCount()
getOffHeapHitCount in interface LegacyCacheStatisticsLegacyCacheStatistics.getOffHeapHitCount()@Deprecated public long getOffHeapSize()
getLocalOffHeapSize()
getOffHeapSize in interface LegacyCacheStatisticsLegacyCacheStatistics.getOffHeapSize()public long getOnDiskHitCount()
getOnDiskHitCount in interface LegacyCacheStatisticsLegacyCacheStatistics.getOnDiskHitCount()@Deprecated public long getOnDiskSize()
getLocalDiskSize()
getOnDiskSize in interface LegacyCacheStatisticsLegacyCacheStatistics.getOnDiskSize()public long getLocalDiskSize()
getLocalDiskSize in interface LegacyCacheStatisticsLegacyCacheStatistics.getLocalDiskSize()public long getLocalHeapSize()
getLocalHeapSize in interface LegacyCacheStatisticsLegacyCacheStatistics.getLocalHeapSize()public long getLocalOffHeapSize()
getLocalOffHeapSize in interface LegacyCacheStatisticsLegacyCacheStatistics.getLocalOffHeapSize()public long getLocalDiskSizeInBytes()
getLocalDiskSizeInBytes in interface LegacyCacheStatisticsLegacyCacheStatistics.getLocalDiskSizeInBytes()public long getLocalHeapSizeInBytes()
getLocalHeapSizeInBytes in interface LegacyCacheStatisticsLegacyCacheStatistics.getLocalHeapSizeInBytes()public long getLocalOffHeapSizeInBytes()
getLocalOffHeapSizeInBytes in interface LegacyCacheStatisticsLegacyCacheStatistics.getLocalOffHeapSizeInBytes()public long getPutCount()
getPutCount in interface LegacyCacheStatisticsLegacyCacheStatistics.getPutCount()public long getRemovedCount()
getRemovedCount in interface LegacyCacheStatisticsLegacyCacheStatistics.getRemovedCount()public long getSize()
getSize in interface LegacyCacheStatisticsLegacyCacheStatistics.getSize()public long getUpdateCount()
getUpdateCount in interface LegacyCacheStatisticsLegacyCacheStatistics.getUpdateCount()public Map<String,Object> getCacheAttributes()
public MBeanNotificationInfo[] getNotificationInfo()
getNotificationInfo in interface NotificationBroadcastergetNotificationInfo in class BaseEmitterBeanBaseEmitterBean.getNotificationInfo()public void propertyChange(PropertyChangeEvent evt)
propertyChange in interface PropertyChangeListenerPropertyChangeListener.propertyChange(java.beans.PropertyChangeEvent)protected void doDispose()
doDispose in class BaseEmitterBeanpublic long getSearchesPerSecond()
getSearchesPerSecond in interface LegacyCacheStatisticspublic boolean getTransactional()
getTransactional in interface CacheSamplerCacheConfiguration.TransactionalModepublic boolean getSearchable()
getSearchable in interface CacheSamplerSearchablepublic long getCacheSearchRate()
getCacheSearchRate in interface CacheSamplerpublic long getCacheAverageSearchTimeNanos()
public long getTransactionCommitRate()
getTransactionCommitRate in interface CacheSamplerpublic long getCacheXaCommitsMostRecentSample()
getCacheXaCommitsMostRecentSample in interface LegacyCacheStatisticspublic long getTransactionRollbackRate()
getTransactionRollbackRate in interface CacheSamplerpublic long getCacheXaRollbacksMostRecentSample()
getCacheXaRollbacksMostRecentSample in interface LegacyCacheStatisticspublic int getCacheHitRatio()
getCacheHitRatio in interface LegacyCacheStatisticspublic int getCacheHitRatioMostRecentSample()
getCacheHitRatioMostRecentSample in interface LegacyCacheStatisticspublic long getAverageSearchTimeNanos()
LegacyCacheStatistics
getAverageSearchTimeNanos in interface LegacyCacheStatisticspublic SampledCounter getCacheHitSample()
CacheSamplerSampledCounter for cache hit
getCacheHitSample in interface CacheSamplerSampledCounter for cache hit countpublic SampledCounter getCacheHitRatioSample()
CacheSamplerSampledCounter for cache hit ratio
getCacheHitRatioSample in interface CacheSamplerSampledCounter for cache hit ratiopublic SampledCounter getCacheHitInMemorySample()
CacheSamplerSampledCounter for in-memory cache hit
getCacheHitInMemorySample in interface CacheSamplerSampledCounter for cache hit count in memorypublic SampledCounter getCacheHitOffHeapSample()
CacheSamplerSampledCounter for off-heap cache hit
getCacheHitOffHeapSample in interface CacheSamplerSampledCounter for cache hit count in off-heappublic SampledCounter getCacheHitOnDiskSample()
CacheSamplerSampledCounter for on-disk cache hit
getCacheHitOnDiskSample in interface CacheSamplerSampledCounter for cache hit count on diskpublic SampledCounter getCacheMissSample()
CacheSamplerSampledCounter for cache miss
getCacheMissSample in interface CacheSamplerSampledCounter for cache miss countpublic SampledCounter getCacheMissInMemorySample()
CacheSamplerSampledCounter for in-memory cache miss
getCacheMissInMemorySample in interface CacheSamplerSampledCounter for cache miss count in memorypublic SampledCounter getCacheMissOffHeapSample()
CacheSamplerSampledCounter for off-heap cache miss
getCacheMissOffHeapSample in interface CacheSamplerSampledCounter for cache miss count in off-heappublic SampledCounter getCacheMissOnDiskSample()
CacheSamplerSampledCounter for on-disk cache miss
getCacheMissOnDiskSample in interface CacheSamplerSampledCounter for cache miss count on diskpublic SampledCounter getCacheMissExpiredSample()
CacheSamplerSampledCounter for cache miss as result of the element getting
expired
getCacheMissExpiredSample in interface CacheSamplerSampledCounter for cache miss count and the reason for miss
being the element got expiredpublic SampledCounter getCacheMissNotFoundSample()
CacheSamplerSampledCounter for cache miss as result of the element not found
in cache
getCacheMissNotFoundSample in interface CacheSamplerSampledCounter for cache miss not found countpublic SampledCounter getCacheElementEvictedSample()
CacheSamplerSampledCounter element evicted from cache
getCacheElementEvictedSample in interface CacheSamplerSampledCounter for element evicted countpublic SampledCounter getCacheElementRemovedSample()
CacheSamplerSampledCounter element removed from cache
getCacheElementRemovedSample in interface CacheSamplerSampledCounter for element removed countpublic SampledCounter getCacheElementExpiredSample()
CacheSamplerSampledCounter element expired from cache
getCacheElementExpiredSample in interface CacheSamplerpublic SampledCounter getCacheElementPutSample()
CacheSamplerSampledCounter element puts in the cache
getCacheElementPutSample in interface CacheSamplerSampledCounter for number of element putspublic SampledCounter getCacheElementUpdatedSample()
CacheSamplerSampledCounter element updates , i.e. put() on elements with
already existing keys in the cache
getCacheElementUpdatedSample in interface CacheSamplerSampledCounterd value for element update countpublic SampledRateCounter getAverageGetTimeSample()
CacheSamplerSampledRateCounter for average time taken for get() operation in the
cache
getAverageGetTimeSample in interface CacheSamplerSampledRateCounter of average get time taken for a get operationpublic SampledRateCounter getAverageSearchTimeSample()
CacheSamplerSampledRateCounter for average search execution time for searches finishing within the last sample period
getAverageSearchTimeSample in interface CacheSamplerSampledRateCounter of average search time takenpublic SampledCounter getSearchesPerSecondSample()
CacheSamplerSampledCounter for number of searches that have finished in the interval
getSearchesPerSecondSample in interface CacheSamplerSampledCounter for number of searchespublic SampledCounter getCacheXaCommitsSample()
CacheSamplerSampledCounter for number of XA Transaction commits that have completed in the interval
getCacheXaCommitsSample in interface CacheSamplerSampledCounter for number XA Transaction commitspublic SampledCounter getCacheXaRollbacksSample()
CacheSamplerSampledCounter for number of XA Transaction rollbacks that have completed in the interval
getCacheXaRollbacksSample in interface CacheSamplerSampledCounter for number XA Transaction rollbackspublic long getAverageSearchTime()
getAverageSearchTime in interface CacheSamplerpublic long getAverageGetTime()
getAverageGetTime in interface CacheSampler
|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||