Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for withExpireAfterAccesses (0.06 sec)

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

            .withExpireAfterWrites(
                ImmutableSet.of(
                    DurationSpec.of(0, SECONDS), DurationSpec.of(1, SECONDS), DurationSpec.of(1, DAYS)))
            .withExpireAfterAccesses(
                ImmutableSet.of(
                    DurationSpec.of(0, SECONDS), DurationSpec.of(1, SECONDS), DurationSpec.of(1, DAYS)))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

      CacheBuilderFactory withExpireAfterWrites(Set<DurationSpec> durations) {
        this.expireAfterWrites = new LinkedHashSet<>(durations);
        return this;
      }
    
      @CanIgnoreReturnValue
      CacheBuilderFactory withExpireAfterAccesses(Set<DurationSpec> durations) {
        this.expireAfterAccesses = new LinkedHashSet<>(durations);
        return this;
      }
    
      @CanIgnoreReturnValue
      CacheBuilderFactory withRefreshes(Set<DurationSpec> durations) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

            .withExpireAfterWrites(
                ImmutableSet.of(
                    // DurationSpec.of(500, MILLISECONDS),
                    DurationSpec.of(1, SECONDS), DurationSpec.of(1, DAYS)))
            .withExpireAfterAccesses(
                ImmutableSet.of(
                    // DurationSpec.of(500, MILLISECONDS),
                    DurationSpec.of(1, SECONDS), DurationSpec.of(1, DAYS)))
            .withRefreshes(
                ImmutableSet.of(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

            .withExpireAfterWrites(
                ImmutableSet.of(
                    // DurationSpec.of(500, MILLISECONDS),
                    DurationSpec.of(1, SECONDS), DurationSpec.of(1, DAYS)))
            .withExpireAfterAccesses(
                ImmutableSet.of(
                    // DurationSpec.of(500, MILLISECONDS),
                    DurationSpec.of(1, SECONDS), DurationSpec.of(1, DAYS)))
            .withRefreshes(
                ImmutableSet.of(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top