Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for withRefreshes (0.06 seconds)

  1. android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

      CacheBuilderFactory withExpireAfterAccesses(Set<DurationSpec> durations) {
        this.expireAfterAccesses = new LinkedHashSet<>(durations);
        return this;
      }
    
      @CanIgnoreReturnValue
      CacheBuilderFactory withRefreshes(Set<DurationSpec> durations) {
        this.refreshes = new LinkedHashSet<>(durations);
        return this;
      }
    
      @CanIgnoreReturnValue
      CacheBuilderFactory withKeyStrengths(Set<Strength> keyStrengths) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/cache/EmptyCachesTest.java

            .withExpireAfterAccesses(
                ImmutableSet.of(
                    DurationSpec.of(0, SECONDS), DurationSpec.of(1, SECONDS), DurationSpec.of(1, DAYS)))
            .withRefreshes(ImmutableSet.of(DurationSpec.of(1, SECONDS), DurationSpec.of(1, DAYS)));
      }
    
      private static void warmUp(LoadingCache<Object, Object> cache, int minimum, int maximum) {
        for (int i = minimum; i < maximum; i++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

            .withExpireAfterAccesses(
                ImmutableSet.of(
                    // DurationSpec.of(500, MILLISECONDS),
                    DurationSpec.of(1, SECONDS), DurationSpec.of(1, DAYS)))
            .withRefreshes(
                ImmutableSet.of(
                    // DurationSpec.of(500, MILLISECONDS),
                    DurationSpec.of(1, SECONDS), DurationSpec.of(1, DAYS)));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15.4K bytes
    - Click Count (0)
Back to Top