Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getNextEvictable (0.13 sec)

  1. guava/src/com/google/common/cache/LocalCache.java

          while (totalWeight > maxSegmentWeight) {
            ReferenceEntry<K, V> e = getNextEvictable();
            if (!removeEntry(e, e.getHash(), RemovalCause.SIZE)) {
              throw new AssertionError();
            }
          }
        }
    
        // TODO(fry): instead implement this with an eviction head
        @GuardedBy("this")
        ReferenceEntry<K, V> getNextEvictable() {
          for (ReferenceEntry<K, V> e : accessQueue) {
    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