Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for refreshNanos (0.04 sec)

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

        assertWithMessage("maximumWeight").that(actual.maximumWeight).isEqualTo(expected.maximumWeight);
        assertWithMessage("refreshNanos").that(actual.refreshNanos).isEqualTo(expected.refreshNanos);
        assertWithMessage("keyEquivalence")
            .that(actual.keyEquivalence)
            .isEqualTo(expected.keyEquivalence);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/CacheBuilder.java

        checkNotNull(unit);
        checkState(refreshNanos == UNSET_INT, "refresh was already set to %s ns", refreshNanos);
        checkArgument(duration > 0, "duration must be positive: %s %s", duration, unit);
        this.refreshNanos = unit.toNanos(duration);
        return this;
      }
    
      @SuppressWarnings("GoodTime") // nanos internally, should be Duration
      long getRefreshNanos() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 51.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/CacheBuilder.java

        checkNotNull(unit);
        checkState(refreshNanos == UNSET_INT, "refresh was already set to %s ns", refreshNanos);
        checkArgument(duration > 0, "duration must be positive: %s %s", duration, unit);
        this.refreshNanos = unit.toNanos(duration);
        return this;
      }
    
      @SuppressWarnings("GoodTime") // nanos internally, should be Duration
      long getRefreshNanos() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 51.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/LocalCacheTest.java

            .isEqualTo(localCacheOne.expireAfterAccessNanos);
        assertThat(localCacheTwo.expireAfterWriteNanos).isEqualTo(localCacheOne.expireAfterWriteNanos);
        assertThat(localCacheTwo.refreshNanos).isEqualTo(localCacheOne.refreshNanos);
        assertThat(localCacheTwo.removalListener).isEqualTo(localCacheOne.removalListener);
        assertThat(localCacheTwo.ticker).isEqualTo(localCacheOne.ticker);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 117.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

            .isEqualTo(localCacheOne.expireAfterAccessNanos);
        assertThat(localCacheTwo.expireAfterWriteNanos).isEqualTo(localCacheOne.expireAfterWriteNanos);
        assertThat(localCacheTwo.refreshNanos).isEqualTo(localCacheOne.refreshNanos);
        assertThat(localCacheTwo.removalListener).isEqualTo(localCacheOne.removalListener);
        assertThat(localCacheTwo.ticker).isEqualTo(localCacheOne.ticker);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 115.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/LocalCache.java

      /** How long after the last write to an entry the map will retain that entry. */
      final long expireAfterWriteNanos;
    
      /** How long after the last write an entry becomes a candidate for refresh. */
      final long refreshNanos;
    
      /** Entries waiting to be consumed by the removal listener. */
      // TODO(fry): define a new type which creates event objects and automates the clear logic
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 19:35:11 UTC 2025
    - 148.9K bytes
    - Viewed (0)
Back to top