|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CacheStatisticsSampler
An interface for statistic samplers that expose the counters that track the actual sampled cache statistics.
| Field Summary | |
|---|---|
static int |
DEFAULT_HISTORY_SIZE
The default history size for SampledCounter objects. |
static int |
DEFAULT_INTERVAL_SECS
The default interval for sampling events for SampledCounter objects. |
static int |
DEFAULT_SEARCH_INTERVAL_SEC
The default interval in seconds for the SampledRateCounter for recording the average search rate counter |
| Field Detail |
|---|
static final int DEFAULT_SEARCH_INTERVAL_SEC
SampledRateCounter for recording the average search rate counter
static final int DEFAULT_HISTORY_SIZE
SampledCounter objects.
static final int DEFAULT_INTERVAL_SECS
SampledCounter objects.
| Method Detail |
|---|
SampledCounter getCacheHitSample()
SampledCounter for cache hit
SampledCounter for cache hit countSampledCounter getCacheHitInMemorySample()
SampledCounter for in-memory cache hit
SampledCounter for cache hit count in memorySampledCounter getCacheHitOffHeapSample()
SampledCounter for off-heap cache hit
SampledCounter for cache hit count in off-heapSampledCounter getCacheHitOnDiskSample()
SampledCounter for on-disk cache hit
SampledCounter for cache hit count on diskSampledCounter getCacheMissSample()
SampledCounter for cache miss
SampledCounter for cache miss countSampledCounter getCacheMissInMemorySample()
SampledCounter for in-memory cache miss
SampledCounter for cache miss count in memorySampledCounter getCacheMissOffHeapSample()
SampledCounter for off-heap cache miss
SampledCounter for cache miss count in off-heapSampledCounter getCacheMissOnDiskSample()
SampledCounter for on-disk cache miss
SampledCounter for cache miss count on diskSampledCounter getCacheMissExpiredSample()
SampledCounter for cache miss as result of the element getting
expired
SampledCounter for cache miss count and the reason for miss
being the element got expiredSampledCounter getCacheMissNotFoundSample()
SampledCounter for cache miss as result of the element not found
in cache
SampledCounter for cache miss not found countSampledCounter getCacheHitRatioSample()
SampledCounter for cache hit ratio
SampledCounter for cache hit ratioSampledCounter getCacheElementEvictedSample()
SampledCounter element evicted from cache
SampledCounter for element evicted countSampledCounter getCacheElementRemovedSample()
SampledCounter element removed from cache
SampledCounter for element removed countSampledCounter getCacheElementExpiredSample()
SampledCounter element expired from cache
SampledCounter getCacheElementPutSample()
SampledCounter element puts in the cache
SampledCounter for number of element putsSampledCounter getCacheElementUpdatedSample()
SampledCounter element updates , i.e. put() on elements with
already existing keys in the cache
SampledCounterd value for element update count@Deprecated SampledRateCounter getAverageGetTimeSample()
SampledRateCounter for average time taken for get() operation in the
cache
SampledRateCounter of average get time taken for a get operationSampledRateCounter getAverageGetTimeNanosSample()
SampledRateCounter for average time taken for get() operation in the
cache
SampledRateCounter of average get time taken for a get operationSampledRateCounter getAverageSearchTimeSample()
SampledRateCounter for average search execution time for searches finishing within the last sample period
SampledRateCounter of average search time takenSampledCounter getSearchesPerSecondSample()
SampledCounter for number of searches that have finished in the interval
SampledCounter for number of searchesSampledCounter getCacheXaCommitsSample()
SampledCounter for number of XA Transaction commits that have completed in the interval
SampledCounter for number XA Transaction commitsSampledCounter getCacheXaRollbacksSample()
SampledCounter for number of XA Transaction rollbacks that have completed in the interval
SampledCounter for number XA Transaction rollbacks
|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||