Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for refreshNanos (0.1 sec)

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

        assertEquals("maximumSize", a.maximumSize, b.maximumSize);
        assertEquals("maximumWeight", a.maximumWeight, b.maximumWeight);
        assertEquals("refreshNanos", a.refreshNanos, b.refreshNanos);
        assertEquals("keyEquivalence", a.keyEquivalence, b.keyEquivalence);
        assertEquals("keyStrength", a.keyStrength, b.keyStrength);
        assertEquals("removalListener", a.removalListener, b.removalListener);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

        assertEquals("maximumSize", a.maximumSize, b.maximumSize);
        assertEquals("maximumWeight", a.maximumWeight, b.maximumWeight);
        assertEquals("refreshNanos", a.refreshNanos, b.refreshNanos);
        assertEquals("keyEquivalence", a.keyEquivalence, b.keyEquivalence);
        assertEquals("keyStrength", a.keyStrength, b.keyStrength);
        assertEquals("removalListener", a.removalListener, b.removalListener);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  3. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 52K bytes
    - Viewed (0)
  4. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertEquals(localCacheOne.expireAfterAccessNanos, localCacheTwo.expireAfterAccessNanos);
        assertEquals(localCacheOne.expireAfterWriteNanos, localCacheTwo.expireAfterWriteNanos);
        assertEquals(localCacheOne.refreshNanos, localCacheTwo.refreshNanos);
        assertEquals(localCacheOne.removalListener, localCacheTwo.removalListener);
        assertEquals(localCacheOne.ticker, localCacheTwo.ticker);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertEquals(localCacheOne.expireAfterAccessNanos, localCacheTwo.expireAfterAccessNanos);
        assertEquals(localCacheOne.expireAfterWriteNanos, localCacheTwo.expireAfterWriteNanos);
        assertEquals(localCacheOne.refreshNanos, localCacheTwo.refreshNanos);
        assertEquals(localCacheOne.removalListener, localCacheTwo.removalListener);
        assertEquals(localCacheOne.ticker, localCacheTwo.ticker);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  7. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
Back to top