Class Overview
Represents instrumentation data for caches.
Summary
Nested Classes |
class |
CacheStatistics.CacheStatisticsBuilder |
|
Constants
public
static
final
String
CACHE_LAAS_ID
Public Constructors
public
CacheStatistics
(String name, List<String> tags, String type, long hits, long misses, double loadTime, Map<String, ?> otherStats, long getTime, long putTime)
Public Methods
public
String
getLoggingKey
()
public
long
getTime
()
Returns
- mean time spent on cache get request. In nanoseconds.
public
double
loadTime
()
Returns
- mean time spent on calls to loaders / suppliers that provides value in case of miss. In nanoseconds.
public
long
putTime
()
Returns
- mean time spent on cache put request. In nanoseconds.