Package | Description |
---|---|
com.google.common.cache |
This package contains caching utilities.
|
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 . |
CacheStats |
AbstractCache.StatsCounter.snapshot()
Returns a snapshot of this counter's values.
|
CacheStats |
AbstractCache.SimpleStatsCounter.snapshot() |
CacheStats |
ForwardingCache.stats() |
CacheStats |
AbstractCache.stats() |
CacheStats |
Cache.stats()
Returns a current snapshot of this cache's cumulative statistics, or a set of default values if
the cache is not recording statistics.
|
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 © 2010–2019. All rights reserved.