Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for expireEntries (0.07 seconds)

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

              .isFalse();
        }
    
        CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker);
    
        assertWithMessage("Map must be empty by now").that(cache.size()).isEqualTo(0);
        assertWithMessage("Eviction notifications must be received")
            .that(removalListener.getCount())
            .isEqualTo(10);
    
        CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/cache/LocalCache.java

        void tryExpireEntries(long now) {
          if (tryLock()) {
            try {
              expireEntries(now);
            } finally {
              unlock();
              // don't call postWriteCleanup as we're in a read
            }
          }
        }
    
        @GuardedBy("this")
        void expireEntries(long now) {
          drainRecencyQueue();
    
          ReferenceEntry<K, V> e;
    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)
  3. guava/src/com/google/common/cache/LocalCache.java

        void tryExpireEntries(long now) {
          if (tryLock()) {
            try {
              expireEntries(now);
            } finally {
              unlock();
              // don't call postWriteCleanup as we're in a read
            }
          }
        }
    
        @GuardedBy("this")
        void expireEntries(long now) {
          drainRecencyQueue();
    
          ReferenceEntry<K, V> e;
    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)
Back to Top