Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for expireAfterWriteNanos (0.07 sec)

  1. android/guava/src/com/google/common/cache/CacheBuilder.java

      public CacheBuilder<K, V> expireAfterWrite(long duration, TimeUnit unit) {
        checkState(
            expireAfterWriteNanos == UNSET_INT,
            "expireAfterWrite was already set to %s ns",
            expireAfterWriteNanos);
        checkArgument(duration >= 0, "duration cannot be negative: %s %s", duration, unit);
        this.expireAfterWriteNanos = unit.toNanos(duration);
        return this;
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 51.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

        assertWithMessage("expireAfterAccessNanos")
            .that(actual.expireAfterAccessNanos)
            .isEqualTo(expected.expireAfterAccessNanos);
        assertWithMessage("expireAfterWriteNanos")
            .that(actual.expireAfterWriteNanos)
            .isEqualTo(expected.expireAfterWriteNanos);
        assertWithMessage("initialCapacity")
            .that(actual.initialCapacity)
            .isEqualTo(expected.initialCapacity);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

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

        assertThat(localCacheTwo.expireAfterAccessNanos)
            .isEqualTo(localCacheOne.expireAfterAccessNanos);
        assertThat(localCacheTwo.expireAfterWriteNanos).isEqualTo(localCacheOne.expireAfterWriteNanos);
        assertThat(localCacheTwo.refreshNanos).isEqualTo(localCacheOne.refreshNanos);
        assertThat(localCacheTwo.removalListener).isEqualTo(localCacheOne.removalListener);
    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. guava/src/com/google/common/cache/CacheBuilder.java

      public CacheBuilder<K, V> expireAfterWrite(long duration, TimeUnit unit) {
        checkState(
            expireAfterWriteNanos == UNSET_INT,
            "expireAfterWrite was already set to %s ns",
            expireAfterWriteNanos);
        checkArgument(duration >= 0, "duration cannot be negative: %s %s", duration, unit);
        this.expireAfterWriteNanos = unit.toNanos(duration);
        return this;
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 51.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/LocalCache.java

          this.keyStrength = keyStrength;
          this.valueStrength = valueStrength;
          this.keyEquivalence = keyEquivalence;
          this.valueEquivalence = valueEquivalence;
          this.expireAfterWriteNanos = expireAfterWriteNanos;
          this.expireAfterAccessNanos = expireAfterAccessNanos;
          this.maxWeight = maxWeight;
          this.weigher = weigher;
          this.concurrencyLevel = concurrencyLevel;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 19:35:11 UTC 2025
    - 148.9K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

        this.loader = loader;
        this.removalListener = builder.removalListener;
        this.expireAfterAccess = builder.expireAfterAccessNanos;
        this.expireAfterWrite = builder.expireAfterWriteNanos;
        this.statsCounter = builder.getStatsCounterSupplier().get();
    
        /* Implements size-capped LinkedHashMap */
        final long maximumSize = builder.maximumSize;
        this.cachingHashMap =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.8K bytes
    - Viewed (0)
Back to top