plus

abstract fun plus(other: CacheStats): CacheStats(source)

Returns a new ICacheStats representing the sum of this ICacheStats and other.

Note: the values of the metrics are undefined in case of overflow (though it is guaranteed not to throw an exception). If you require specific handling, we recommend implementing your own stats collector.