|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LegacyCacheStatistics
Interface for sampled usage statistics of a Cache
.
Method Summary | |
---|---|
void |
dispose()
Method used to dispose this statistics. |
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. |
long |
getAverageSearchTimeNanos()
Get the average search execution time for searches finishing within the last sample period. |
long |
getCacheClusterOfflineCount()
Count of cluster offline events for this node. |
long |
getCacheClusterOfflineMostRecentSample()
Gets the cache cluster offline most recent sample. |
long |
getCacheClusterOnlineCount()
Count of cluster online events for this node. |
long |
getCacheClusterOnlineMostRecentSample()
Gets the cache cluster online most recent sample. |
long |
getCacheClusterRejoinCount()
Count of cluster rejoin events for this node. |
long |
getCacheClusterRejoinMostRecentSample()
Gets the cache cluster rejoin most recent sample. |
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 |
getCacheHitCount()
The number of times a requested item was found in the cache. |
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. |
int |
getCacheHitRatio()
The ratio of hits to accesses (hits + misses). |
int |
getCacheHitRatioMostRecentSample()
Get most recent value for cache hit ratio. |
long |
getCacheMissCount()
Number of times a requested element was not found in the cache. |
long |
getCacheMissCountExpired()
Gets the cache miss count expired. |
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. |
String |
getCacheName()
Gets the cache name. |
long |
getCacheXaCommitsMostRecentSample()
Get most recent value of XA commits. |
long |
getCacheXaRollbacksMostRecentSample()
Get most recent value of XA rollbacks. |
long |
getEvictedCount()
Number of elements evicted from the cache. |
long |
getExpiredCount()
Number of elements expired since creation or last clear. |
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 |
getMaxGetTimeNanos()
Return maximum time taken for a get operation in the cache in nanoseconds. |
Long |
getMinGetTimeNanos()
Return minimum time taken for a get operation in the cache in nanoseconds. |
long |
getNonStopFailureCount()
Gets the non stop failure count. |
long |
getNonStopFailureMostRecentSample()
Gets the non stop failure most recent sample. |
long |
getNonStopRejoinTimeoutCount()
Gets the non stop rejoin timeout count. |
long |
getNonStopRejoinTimeoutMostRecentSample()
Gets the non stop rejoin most recent sample. |
long |
getNonStopSuccessCount()
Gets the non stop success count. |
long |
getNonStopSuccessMostRecentSample()
Gets the non stop success most recent sample. |
long |
getNonStopTimeoutCount()
Gets the non stop timeout count. |
long |
getNonStopTimeoutMostRecentSample()
Gets the non stop timeout most recent sample. |
int |
getNonstopTimeoutRatio()
Get the ratio of nonstop timeouts+rejoin timeouts to operations |
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() |
long |
getPutCount()
Number of puts that has happened in the cache. |
long |
getPutIfAbsentMissCount()
Number of putIfAbsent operations that missed. |
long |
getPutIfAbsentMissRate()
Rate of putIfAbsent operations that missed. |
long |
getPutIfAbsentSuccessCount()
Number of putIfAbsent operations that succeeded. |
long |
getPutIfAbsentSuccessRate()
Rate of putIfAbsent operations that succeeded. |
long |
getRemovedCount()
Number of elements removed since creation or last clear. |
long |
getRemoveElementMissCount()
Number of removeElement operations that missed. |
long |
getRemoveElementMissRate()
Rate of removeElement operations that missed. |
long |
getRemoveElementSuccessCount()
Number of removeElement operations that succeeded |
long |
getRemoveElementSuccessRate()
Rate of removeElement operations that succeeded |
long |
getReplaceOneArgMissCount()
Number of one arg replace operations that missed. |
long |
getReplaceOneArgMissRate()
Rate of one arg replace operations that missed. |
long |
getReplaceOneArgSuccessCount()
Number of one arg replace operations that succeeded. |
long |
getReplaceOneArgSuccessRate()
Rate of one arg replace operations that succeeded. |
long |
getReplaceTwoArgMissCount()
Number of two arg replace operations that missed. |
long |
getReplaceTwoArgMissRate()
Rate of two arg replace operations that missed. |
long |
getReplaceTwoArgSuccessCount()
Number of two arg replace operations that succeeded. |
long |
getReplaceTwoArgSuccessRate()
Rate of two arg replace operations that succeeded. |
long |
getSearchesPerSecond()
Get the number of searches that have finished execution in the last second. |
long |
getSize()
Size of the cache based on current accuracy settings. |
long |
getUpdateCount()
Number of updates that as happened in the cache. |
long |
getWriterQueueLength()
Gets the size of the write-behind queue, if any. |
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 |
isLocalHeapCountBased()
Check if the local heap is measured with ARC or in element count. |
Method Detail |
---|
long getCacheHitCount()
long getInMemoryHitCount()
long getOffHeapHitCount()
long getOnDiskHitCount()
long getCacheMissCount()
long getInMemoryMissCount()
long getOffHeapMissCount()
long getOnDiskMissCount()
long getCacheMissCountExpired()
int getCacheHitRatio()
int getNonstopTimeoutRatio()
long getSize()
@Deprecated long getInMemorySize()
getLocalHeapSize()
@Deprecated long getOffHeapSize()
getLocalOffHeapSize()
@Deprecated long getOnDiskSize()
getLocalDiskSize()
long getLocalHeapSize()
long getLocalOffHeapSize()
long getLocalDiskSize()
long getLocalHeapSizeInBytes()
long getLocalOffHeapSizeInBytes()
long getLocalDiskSizeInBytes()
long getAverageGetTimeNanos()
long getEvictedCount()
long getPutCount()
long getUpdateCount()
long getReplaceOneArgSuccessCount()
long getReplaceOneArgSuccessRate()
long getReplaceOneArgMissCount()
long getReplaceOneArgMissRate()
long getReplaceTwoArgSuccessCount()
long getReplaceTwoArgSuccessRate()
long getReplaceTwoArgMissCount()
long getReplaceTwoArgMissRate()
long getPutIfAbsentSuccessCount()
long getPutIfAbsentSuccessRate()
long getPutIfAbsentMissCount()
long getPutIfAbsentMissRate()
long getRemoveElementSuccessCount()
long getRemoveElementSuccessRate()
long getRemoveElementMissCount()
long getRemoveElementMissRate()
long getExpiredCount()
long getRemovedCount()
long getCacheClusterOfflineCount()
long getCacheClusterRejoinCount()
long getCacheClusterOnlineCount()
String getCacheName()
Long getMaxGetTimeNanos()
Long getMinGetTimeNanos()
long getWriterQueueLength()
long getXaCommitCount()
long getXaRollbackCount()
long getXaRecoveredCount()
long getCacheHitMostRecentSample()
long getCacheHitInMemoryMostRecentSample()
long getCacheHitOffHeapMostRecentSample()
long getCacheHitOnDiskMostRecentSample()
long getCacheMissMostRecentSample()
long getCacheMissInMemoryMostRecentSample()
long getCacheMissOffHeapMostRecentSample()
long getCacheMissOnDiskMostRecentSample()
long getCacheMissExpiredMostRecentSample()
long getCacheMissNotFoundMostRecentSample()
int getCacheHitRatioMostRecentSample()
long getCacheElementEvictedMostRecentSample()
long getCacheElementRemovedMostRecentSample()
long getCacheElementExpiredMostRecentSample()
long getCacheElementPutMostRecentSample()
long getCacheElementUpdatedMostRecentSample()
long getAverageGetTimeNanosMostRecentSample()
void dispose()
long getAverageSearchTimeNanos()
long getSearchesPerSecond()
long getCacheXaCommitsMostRecentSample()
long getCacheXaRollbacksMostRecentSample()
boolean isLocalHeapCountBased()
long getCacheClusterOfflineMostRecentSample()
long getCacheClusterRejoinMostRecentSample()
long getCacheClusterOnlineMostRecentSample()
long getNonStopSuccessCount()
long getNonStopFailureCount()
long getNonStopRejoinTimeoutCount()
long getNonStopTimeoutCount()
long getNonStopSuccessMostRecentSample()
long getNonStopFailureMostRecentSample()
long getNonStopRejoinTimeoutMostRecentSample()
long getNonStopTimeoutMostRecentSample()
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |