- Sort Score
- Num 10 results
- Language All
Results 1 - 7 of 7 for refreshNanos (0.07 seconds)
-
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() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 13:13:59 GMT 2026 - 52K bytes - Click Count (0) -
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() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 13:13:59 GMT 2026 - 51.7K bytes - Click Count (0) -
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);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 20.8K bytes - Click Count (0) -
android/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
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 143.5K bytes - Click Count (0) -
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
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 148.9K bytes - Click Count (0) -
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);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 114.9K bytes - Click Count (0) -
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);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 116.4K bytes - Click Count (0)