- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for recordStats (0.13 sec)
-
guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java
public void testParse_recordStats() { CacheBuilderSpec spec = parse("recordStats"); assertTrue(spec.recordStats); assertCacheBuilderEquivalence(CacheBuilder.newBuilder().recordStats(), CacheBuilder.from(spec)); } public void testParse_recordStatsValueSpecified() { assertThrows(IllegalArgumentException.class, () -> parse("recordStats=True")); } public void testParse_recordStatsRepeated() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 19.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java
public void testParse_recordStats() { CacheBuilderSpec spec = parse("recordStats"); assertTrue(spec.recordStats); assertCacheBuilderEquivalence(CacheBuilder.newBuilder().recordStats(), CacheBuilder.from(spec)); } public void testParse_recordStatsValueSpecified() { assertThrows(IllegalArgumentException.class, () -> parse("recordStats=True")); } public void testParse_recordStatsRepeated() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 19.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
return new LocalLoadingCache<>(builder, loader); } private CacheBuilder<Object, Object> createCacheBuilder() { return CacheBuilder.newBuilder().recordStats(); } // constructor tests public void testComputingFunction() { CacheLoader<Object, Object> loader = new CacheLoader<Object, Object>() { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 12.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
return new LocalLoadingCache<>(builder, loader); } private CacheBuilder<Object, Object> createCacheBuilder() { return CacheBuilder.newBuilder().recordStats(); } // constructor tests public void testComputingFunction() { CacheLoader<Object, Object> loader = new CacheLoader<Object, Object>() { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 12.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
new Function<CacheBuilder<Object, Object>, LoadingCache<Object, Object>>() { @Override public LoadingCache<Object, Object> apply(CacheBuilder<Object, Object> builder) { return builder.recordStats().build(identityLoader()); } }); } private CacheBuilderFactory cacheFactory() { // This is trickier than expected. We plan to put 15 values in each of these (WARMUP_MIN to
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 15K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
new Function<CacheBuilder<Object, Object>, LoadingCache<Object, Object>>() { @Override public LoadingCache<Object, Object> apply(CacheBuilder<Object, Object> builder) { return builder.recordStats().build(identityLoader()); } }); } private CacheBuilderFactory cacheFactory() { // This is trickier than expected. We plan to put 15 values in each of these (WARMUP_MIN to
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 15K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheBuilderTest.java
computeCount.incrementAndGet(); return key; } } }; final LoadingCache<String, String> cache = CacheBuilder.newBuilder() .recordStats() .concurrencyLevel(2) .expireAfterWrite(100, MILLISECONDS) .removalListener(removalListener) .maximumSize(5000) .build(countingIdentityLoader);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 24.9K bytes - Viewed (0)