/guava/android/guava/src/com/google/common/cache/AbstractCache.java
return new CacheStats( negativeToMaxValue( hitCount.sum( ) ) , negativeToMaxValue( loadSuccessCount.sum( ) ) , negativeToMaxValue( loadSuccessCount.sum( ) ) ,
return new CacheStats ( negativeToMaxValue ( hitCount.sum ( ) ) , negativeToMaxValue ( missCount.sum ( ) ) , negativeToMaxValue ( loadSuccessCount.sum ( ) ) ,
@Override public void recordEviction() { evictionCount.increment(); } @Override public CacheStats snapshot() { <extra_id_0> negativeToMaxValue(loadExceptionCount.sum()), negativeToMaxValue(totalLoadTime.sum()), negativeToMaxValue(evictionCount.sum())); } private static long negativeToMaxValue(long value) { return (value >= 0) ? value : Long.MAX_VALUE;