the entire size of the cache including the number of elements in the memory store plus the number of elements in the disk store
getDiskStoreSize
long getDiskStoreSize()
Returns:
the number of elements in the disk store
getAverageGetTime
float getAverageGetTime()
Returns:
the average time to retrieve a cache element in milliseconds
getCacheHits
long getCacheHits()
Returns:
the number of times a requested item was found in the cache.
getCacheMisses
long getCacheMisses()
Returns:
the number of times a requested element was not found in the cache
getEvictionCount
long getEvictionCount()
Returns:
the number of cache evictions, since the cache was created, or statistics were cleared
getInMemoryHits
long getInMemoryHits()
Returns:
the number of times a requested item was found in memory
getObjectCount
long getObjectCount()
Returns:
gets the number of elements stored in the cache. Caclulating this can be expensive.
Accordingly, this method will return three different values, depending on the statistics accuracy setting
getOnDiskHits
long getOnDiskHits()
Returns:
the number of times a requested element was not found in the cache
getMaxElementsInMemory
long getMaxElementsInMemory()
Returns:
get configured maximum elements in memory
getMaxElementsOnDisk
long getMaxElementsOnDisk()
Returns:
get configured maximum elements on disk
getTimeToIdle
long getTimeToIdle()
Returns:
get configured time to idle in seconds before expiring
getTimeToLive
long getTimeToLive()
Returns:
get configured time to live in seconds before expiring