Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

        assertEquals("concurrencyLevel", a.concurrencyLevel, b.concurrencyLevel);
        assertEquals("expireAfterAccessNanos", a.expireAfterAccessNanos, b.expireAfterAccessNanos);
        assertEquals("expireAfterWriteNanos", a.expireAfterWriteNanos, b.expireAfterWriteNanos);
        assertEquals("initialCapacity", a.initialCapacity, b.initialCapacity);
        assertEquals("maximumSize", a.maximumSize, b.maximumSize);
    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. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 52K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

        assertEquals("concurrencyLevel", a.concurrencyLevel, b.concurrencyLevel);
        assertEquals("expireAfterAccessNanos", a.expireAfterAccessNanos, b.expireAfterAccessNanos);
        assertEquals("expireAfterWriteNanos", a.expireAfterWriteNanos, b.expireAfterWriteNanos);
        assertEquals("initialCapacity", a.initialCapacity, b.initialCapacity);
        assertEquals("maximumSize", a.maximumSize, b.maximumSize);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  4. 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 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.weigher, localCacheTwo.weigher);
        assertEquals(localCacheOne.expireAfterAccessNanos, localCacheTwo.expireAfterAccessNanos);
        assertEquals(localCacheOne.expireAfterWriteNanos, localCacheTwo.expireAfterWriteNanos);
        assertEquals(localCacheOne.refreshNanos, localCacheTwo.refreshNanos);
        assertEquals(localCacheOne.removalListener, localCacheTwo.removalListener);
    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.weigher, localCacheTwo.weigher);
        assertEquals(localCacheOne.expireAfterAccessNanos, localCacheTwo.expireAfterAccessNanos);
        assertEquals(localCacheOne.expireAfterWriteNanos, localCacheTwo.expireAfterWriteNanos);
        assertEquals(localCacheOne.refreshNanos, localCacheTwo.refreshNanos);
        assertEquals(localCacheOne.removalListener, localCacheTwo.removalListener);
    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

          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 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