Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for drainValueReferenceQueue (0.12 sec)

  1. guava/src/com/google/common/collect/MapMakerInternalMap.java

            E entry = (E) ref;
            map.reclaimKey(entry);
            if (++i == DRAIN_MAX) {
              break;
            }
          }
        }
    
        @GuardedBy("this")
        void drainValueReferenceQueue(ReferenceQueue<V> valueReferenceQueue) {
          Reference<? extends V> ref;
          int i = 0;
          while ((ref = valueReferenceQueue.poll()) != null) {
            @SuppressWarnings("unchecked")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

            E entry = (E) ref;
            map.reclaimKey(entry);
            if (++i == DRAIN_MAX) {
              break;
            }
          }
        }
    
        @GuardedBy("this")
        void drainValueReferenceQueue(ReferenceQueue<V> valueReferenceQueue) {
          Reference<? extends V> ref;
          int i = 0;
          while ((ref = valueReferenceQueue.poll()) != null) {
            @SuppressWarnings("unchecked")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/LocalCache.java

         */
        @GuardedBy("this")
        void drainReferenceQueues() {
          if (map.usesKeyReferences()) {
            drainKeyReferenceQueue();
          }
          if (map.usesValueReferences()) {
            drainValueReferenceQueue();
          }
        }
    
        @GuardedBy("this")
        void drainKeyReferenceQueue() {
          Reference<? extends K> ref;
          int i = 0;
          while ((ref = keyReferenceQueue.poll()) != null) {
    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