Package jersey.repackaged.com.google.common.cache.AbstractCache

Examples of jersey.repackaged.com.google.common.cache.AbstractCache.SimpleStatsCounter


      return localCache;
    }

    @Override
    public CacheStats stats() {
      SimpleStatsCounter aggregator = new SimpleStatsCounter();
      aggregator.incrementBy(localCache.globalStatsCounter);
      for (Segment<K, V> segment : localCache.segments) {
        aggregator.incrementBy(segment.statsCounter);
      }
      return aggregator.snapshot();
    }
View Full Code Here

TOP

Related Classes of jersey.repackaged.com.google.common.cache.AbstractCache.SimpleStatsCounter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.