Class CacheStatistics
- java.lang.Object
- 
- com.atlassian.confluence.impl.vcache.metrics.CacheStatistics
 
- 
- All Implemented Interfaces:
- Statistics
 
 public class CacheStatistics extends Object implements Statistics Represents instrumentation data for caches.- Since:
- 5.10
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classCacheStatistics.CacheStatisticsBuilder
 - 
Field SummaryFields Modifier and Type Field Description static StringCACHE_LAAS_ID
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLoggingKey()StringgetName()ObjectgetStats()Map<String,Object>getStatsMap()List<String>getTags()longgetTime()longhits()doubleloadTime()longmisses()longputTime()Stringtype()
 
- 
- 
- 
Field Detail- 
CACHE_LAAS_IDpublic static final String CACHE_LAAS_ID - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getNamepublic String getName() - Specified by:
- getNamein interface- Statistics
 
 - 
getLoggingKeypublic String getLoggingKey() - Specified by:
- getLoggingKeyin interface- Statistics
 
 - 
getTagspublic List<String> getTags() - Specified by:
- getTagsin interface- Statistics
 
 - 
getStatspublic Object getStats() - Specified by:
- getStatsin interface- Statistics
 
 - 
typepublic String type() - Returns:
- type of the cache.
 
 - 
hitspublic long hits() - Returns:
- number of cache hits
 
 - 
missespublic long misses() - Returns:
- number of cache misises
 
 - 
loadTimepublic double loadTime() - Returns:
- mean time spent on calls to loaders / suppliers that provides value in case of miss. In nanoseconds.
 
 - 
getTimepublic long getTime() - Returns:
- mean time spent on cache get request. In nanoseconds.
 
 - 
putTimepublic long putTime() - Returns:
- mean time spent on cache put request. In nanoseconds.
 
 
- 
 
-