Class GuavaCacheStatistics
java.lang.Object
org.craftercms.core.cache.CacheStatistics
org.craftercms.core.cache.impl.store.guava.GuavaCacheStatistics
- Author:
- joseross
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final long
protected final long
protected final long
protected final long
protected final long
protected final long
Fields inherited from class org.craftercms.core.cache.CacheStatistics
EMPTY, size
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
long
long
long
long
long
Methods inherited from class org.craftercms.core.cache.CacheStatistics
getSize
-
Field Details
-
hitCount
protected final long hitCount -
missCount
protected final long missCount -
loadSuccessCount
protected final long loadSuccessCount -
loadExceptionCount
protected final long loadExceptionCount -
totalLoadTime
protected final long totalLoadTime -
evictionCount
protected final long evictionCount
-
-
Constructor Details
-
GuavaCacheStatistics
public GuavaCacheStatistics(com.google.common.cache.Cache<K, V> cache)
-
-
Method Details
-
getHitCount
public long getHitCount() -
getMissCount
public long getMissCount() -
getLoadSuccessCount
public long getLoadSuccessCount() -
getLoadExceptionCount
public long getLoadExceptionCount() -
getTotalLoadTime
public long getTotalLoadTime() -
getEvictionCount
public long getEvictionCount()
-