Package | Description |
---|---|
com.github.benmanes.caffeine.cache |
This package contains caching utilities.
|
com.github.benmanes.caffeine.cache.stats |
This package contains caching statistic utilities.
|
Modifier and Type | Method and Description |
---|---|
CacheStats |
Cache.stats()
Returns a current snapshot of this cache's cumulative statistics.
|
Modifier and Type | Method and Description |
---|---|
static CacheStats |
CacheStats.empty()
Returns a statistics instance where no cache events have been recorded.
|
CacheStats |
CacheStats.minus(CacheStats other)
Returns a new
CacheStats representing the difference between this CacheStats
and other . |
CacheStats |
CacheStats.plus(CacheStats other)
Returns a new
CacheStats representing the sum of this CacheStats and
other . |
CacheStats |
ConcurrentStatsCounter.snapshot() |
CacheStats |
StatsCounter.snapshot()
Returns a snapshot of this counter's values.
|
Modifier and Type | Method and Description |
---|---|
CacheStats |
CacheStats.minus(CacheStats other)
Returns a new
CacheStats representing the difference between this CacheStats
and other . |
CacheStats |
CacheStats.plus(CacheStats other)
Returns a new
CacheStats representing the sum of this CacheStats and
other . |
Copyright © 2017. All rights reserved.