|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.ehcache.statistics.sampled.NullSampledCacheStatistics
public class NullSampledCacheStatistics
A no-op implementation of SampledCacheStatistics
| Constructor Summary | |
|---|---|
NullSampledCacheStatistics()
|
|
| Method Summary | |
|---|---|
void |
clearStatistics()
Clears sampled statistics for this cache |
void |
dispose()
Called to dispose off the listener |
long |
getAverageGetTimeMostRecentSample()
Get most recent value for average time taken for get() operation in the cache |
long |
getAverageSearchTime()
Get the average search execution time for searches finishing within the last sample period |
long |
getCacheElementEvictedMostRecentSample()
Get most recent value element evicted from cache |
long |
getCacheElementExpiredMostRecentSample()
Get most recent value element expired from cache |
long |
getCacheElementPutMostRecentSample()
Get most recent value element puts in the cache |
long |
getCacheElementRemovedMostRecentSample()
Get most recent value element removed from cache |
long |
getCacheElementUpdatedMostRecentSample()
Get most recent value element updates , i.e. |
long |
getCacheHitInMemoryMostRecentSample()
Get most recent value 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 |
long |
getCacheHitOnDiskMostRecentSample()
Get most recent value for on-disk cache hit |
long |
getCacheMissExpiredMostRecentSample()
Get most recent value for cache miss as result of the element getting expired |
long |
getCacheMissInMemoryMostRecentSample()
Get most recent value 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 |
long |
getCacheMissOffHeapMostRecentSample()
Get most recent value for off-heap cache miss |
long |
getCacheMissOnDiskMostRecentSample()
Get most recent value for on-disk cache miss |
long |
getCacheXaCommitsMostRecentSample()
Get most recent value of XA commits |
long |
getCacheXaRollbacksMostRecentSample()
Get most recent value of XA rollbacks |
long |
getSearchesPerSecond()
Get the number of searches that have finished execution in the last second |
int |
getStatisticsAccuracy()
Get value for statisticsAccuracy |
String |
getStatisticsAccuracyDescription()
Get Description for statisticsAccuracy |
boolean |
isSampledStatisticsEnabled()
Returns true if statistics collection is enabled for cache, otherwise false |
void |
notifyCacheElementEvicted()
Called when an element is expired in the cache |
void |
notifyCacheElementExpired()
Called when an element in the cache expires |
void |
notifyCacheElementPut()
Called when an element is inserted in the cache |
void |
notifyCacheElementRemoved()
Called when an element is removed from the cache |
void |
notifyCacheElementUpdated()
Called when an element is updated in the cache, i.e. |
void |
notifyCacheHitInMemory()
Called on a cache hit in the MemoryStore |
void |
notifyCacheHitOffHeap()
Called on a cache hit in the off-heap store |
void |
notifyCacheHitOnDisk()
Called on a cache hit in the DiskStore |
void |
notifyCacheMissedWithExpired()
Called when an element is found in the cache but already expired |
void |
notifyCacheMissedWithNotFound()
Called when an element is not found in the cache |
void |
notifyCacheMissInMemory()
Called on a cache miss in the MemoryStore |
void |
notifyCacheMissOffHeap()
Called on a cache miss in the off-heap store |
void |
notifyCacheMissOnDisk()
Called on a cache miss in the DiskStore |
void |
notifyCacheSearch(long executeTime)
Called when a search finishes execution |
void |
notifyRemoveAll()
Called when Cache.removeAll() is called |
void |
notifyStatisticsAccuracyChanged(int statisticsAccuracy)
Notified when the statistics accuracy is changed. |
void |
notifyStatisticsCleared()
Called when statistics is cleared |
void |
notifyStatisticsEnabledChanged(boolean enableStatistics)
Called when statistics is enabled/disabled |
void |
notifyTimeTakenForGet(long millis)
Notified with time taken for a get operation in the cache |
void |
notifyXaCommit()
Called when the Cache's XAResource has been asked to commit |
void |
notifyXaRollback()
Called when the Cache's XAResource has been asked to rollback |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NullSampledCacheStatistics()
| Method Detail |
|---|
public long getAverageGetTimeMostRecentSample()
getAverageGetTimeMostRecentSample in interface SampledCacheStatisticspublic long getCacheElementEvictedMostRecentSample()
getCacheElementEvictedMostRecentSample in interface SampledCacheStatisticspublic long getCacheElementExpiredMostRecentSample()
getCacheElementExpiredMostRecentSample in interface SampledCacheStatisticspublic long getCacheElementPutMostRecentSample()
getCacheElementPutMostRecentSample in interface SampledCacheStatisticspublic long getCacheElementRemovedMostRecentSample()
getCacheElementRemovedMostRecentSample in interface SampledCacheStatisticspublic long getCacheElementUpdatedMostRecentSample()
getCacheElementUpdatedMostRecentSample in interface SampledCacheStatisticspublic long getCacheHitInMemoryMostRecentSample()
getCacheHitInMemoryMostRecentSample in interface SampledCacheStatisticspublic long getCacheHitOffHeapMostRecentSample()
getCacheHitOffHeapMostRecentSample in interface SampledCacheStatisticspublic long getCacheHitMostRecentSample()
getCacheHitMostRecentSample in interface SampledCacheStatisticspublic long getCacheHitOnDiskMostRecentSample()
getCacheHitOnDiskMostRecentSample in interface SampledCacheStatisticspublic long getCacheMissExpiredMostRecentSample()
getCacheMissExpiredMostRecentSample in interface SampledCacheStatisticspublic long getCacheMissMostRecentSample()
getCacheMissMostRecentSample in interface SampledCacheStatisticspublic long getCacheMissInMemoryMostRecentSample()
getCacheMissInMemoryMostRecentSample in interface SampledCacheStatisticspublic long getCacheMissOffHeapMostRecentSample()
getCacheMissOffHeapMostRecentSample in interface SampledCacheStatisticspublic long getCacheMissOnDiskMostRecentSample()
getCacheMissOnDiskMostRecentSample in interface SampledCacheStatisticspublic long getCacheMissNotFoundMostRecentSample()
getCacheMissNotFoundMostRecentSample in interface SampledCacheStatisticspublic int getStatisticsAccuracy()
getStatisticsAccuracy in interface SampledCacheStatisticspublic String getStatisticsAccuracyDescription()
getStatisticsAccuracyDescription in interface SampledCacheStatisticspublic boolean isSampledStatisticsEnabled()
isSampledStatisticsEnabled in interface SampledCacheStatisticspublic void dispose()
dispose in interface CacheUsageListenerdispose in interface SampledCacheStatisticsSampledCacheStatistics.dispose()public void notifyCacheElementEvicted()
notifyCacheElementEvicted in interface CacheUsageListenerCacheUsageListener.notifyCacheElementEvicted()public void notifyCacheElementExpired()
notifyCacheElementExpired in interface CacheUsageListenerCacheUsageListener.notifyCacheElementExpired()public void notifyCacheElementPut()
notifyCacheElementPut in interface CacheUsageListenerCacheUsageListener.notifyCacheElementPut()public void notifyCacheElementRemoved()
notifyCacheElementRemoved in interface CacheUsageListenerCacheUsageListener.notifyCacheElementRemoved()public void notifyCacheElementUpdated()
notifyCacheElementUpdated in interface CacheUsageListenerCacheUsageListener.notifyCacheElementUpdated()public void notifyCacheHitInMemory()
notifyCacheHitInMemory in interface CacheUsageListenerCacheUsageListener.notifyCacheHitInMemory()public void notifyCacheHitOffHeap()
notifyCacheHitOffHeap in interface CacheUsageListenerCacheUsageListener.notifyCacheHitOffHeap()public void notifyCacheHitOnDisk()
notifyCacheHitOnDisk in interface CacheUsageListenerCacheUsageListener.notifyCacheHitOnDisk()public void notifyCacheMissedWithExpired()
notifyCacheMissedWithExpired in interface CacheUsageListenerCacheUsageListener.notifyCacheMissedWithExpired()public void notifyCacheMissedWithNotFound()
notifyCacheMissedWithNotFound in interface CacheUsageListenerCacheUsageListener.notifyCacheMissedWithNotFound()public void notifyCacheMissInMemory()
notifyCacheMissInMemory in interface CacheUsageListenerCacheUsageListener.notifyCacheMissInMemory()public void notifyCacheMissOffHeap()
notifyCacheMissOffHeap in interface CacheUsageListenerCacheUsageListener.notifyCacheMissOffHeap()public void notifyCacheMissOnDisk()
notifyCacheMissOnDisk in interface CacheUsageListenerCacheUsageListener.notifyCacheMissOnDisk()public void notifyRemoveAll()
notifyRemoveAll in interface CacheUsageListenerCacheUsageListener.notifyRemoveAll()public void notifyStatisticsAccuracyChanged(int statisticsAccuracy)
notifyStatisticsAccuracyChanged in interface CacheUsageListenerstatisticsAccuracy - one of Statistics#STATISTICS_ACCURACY_BEST_EFFORT,
Statistics#STATISTICS_ACCURACY_GUARANTEED,
Statistics#STATISTICS_ACCURACY_NONECacheUsageListener.notifyStatisticsAccuracyChanged(int)public void notifyStatisticsCleared()
notifyStatisticsCleared in interface CacheUsageListenerCacheUsageListener.notifyStatisticsCleared()public void notifyStatisticsEnabledChanged(boolean enableStatistics)
notifyStatisticsEnabledChanged in interface CacheUsageListenerCacheUsageListener.notifyStatisticsEnabledChanged(boolean)public void notifyTimeTakenForGet(long millis)
notifyTimeTakenForGet in interface CacheUsageListenerCacheUsageListener.notifyTimeTakenForGet(long)public void clearStatistics()
clearStatistics in interface SampledCacheStatisticsSampledCacheStatistics.clearStatistics()public long getAverageSearchTime()
getAverageSearchTime in interface SampledCacheStatisticspublic long getSearchesPerSecond()
getSearchesPerSecond in interface SampledCacheStatisticspublic void notifyCacheSearch(long executeTime)
notifyCacheSearch in interface CacheUsageListenerexecuteTime - elapsed time in millispublic void notifyXaCommit()
notifyXaCommit in interface CacheUsageListenerpublic void notifyXaRollback()
notifyXaRollback in interface CacheUsageListenerpublic long getCacheXaCommitsMostRecentSample()
getCacheXaCommitsMostRecentSample in interface SampledCacheStatisticspublic long getCacheXaRollbacksMostRecentSample()
getCacheXaRollbacksMostRecentSample in interface SampledCacheStatistics
|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||