Home
last modified time | relevance | path

Searched refs:recordStats (Results 1 – 10 of 10) sorted by relevance

/external/guava/guava/src/com/google/common/cache/
DCacheBuilderSpec.java117 @VisibleForTesting Boolean recordStats; field in CacheBuilderSpec
204 if (recordStats != null && recordStats) { in toCacheBuilder()
205 builder.recordStats(); in toCacheBuilder()
248 recordStats, in hashCode()
269 && Objects.equal(recordStats, that.recordStats) in equals()
402 checkArgument(spec.recordStats == null, "recordStats already set"); in parse()
403 spec.recordStats = true; in parse()
DCacheBuilder.java761 public CacheBuilder<K, V> recordStats() { in recordStats() method in CacheBuilder
/external/guava/guava-tests/benchmark/com/google/common/cache/
DMapMakerComparisonBenchmark.java41 CacheBuilder.newBuilder().recordStats().build(CacheLoader.from(IDENTITY));
47 private final Cache<Object, Object> cache = CacheBuilder.newBuilder().recordStats().build();
/external/guava/guava-tests/test/com/google/common/cache/
DCacheLoadingTest.java104 .recordStats() in testLoad()
177 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder().recordStats().build(loader); in testReload()
225 .recordStats() in testRefresh()
285 .recordStats() in testRefresh_getIfPresent()
330 .recordStats() in testBulkLoad_default()
377 LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder().recordStats().build(loader); in testBulkLoad_loadAll()
596 .recordStats() in testLoadNull()
667 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder().recordStats().build(loader); in testReloadNull()
712 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder().recordStats().build(loader); in testReloadNullFuture()
759 .recordStats() in testRefreshNull()
[all …]
DCacheManualTest.java30 Cache<Object, Object> cache = CacheBuilder.newBuilder().recordStats().build(); in testGetIfPresent()
106 Cache<Integer, Integer> cache = CacheBuilder.newBuilder().recordStats().build(); in testGetAllPresent()
DLocalLoadingCacheTest.java51 return CacheBuilder.newBuilder().recordStats(); in createCacheBuilder()
205 .recordStats() in testRecordStats()
DCacheBuilderSpecTest.java359 assertTrue(spec.recordStats); in testParse_recordStats()
360 assertCacheBuilderEquivalence(CacheBuilder.newBuilder().recordStats(), CacheBuilder.from(spec)); in testParse_recordStats()
DCacheBuilderTest.java558 .recordStats() in testRemovalNotification_get_basher()
DPopulatedCachesTest.java302 return builder.recordStats().build(identityLoader()); in caches()
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/
DCacheBuilder.java516 public CacheBuilder<K, V> recordStats() { in recordStats() method in CacheBuilder