Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getStatsCounterSupplier (0.07 sec)

  1. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

        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 =
            new CapacityEnforcingLinkedHashMap<K, V>(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/CacheBuilder.java

        return this;
      }
    
      boolean isRecordingStats() {
        return statsCounterSupplier == CACHE_STATS_COUNTER;
      }
    
      Supplier<? extends StatsCounter> getStatsCounterSupplier() {
        return statsCounterSupplier;
      }
    
      /**
       * Builds a cache, which either returns an already-loaded value for a given key or atomically
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 51.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/LocalCache.java

            }
            this.segments[i] =
                createSegment(segmentSize, maxSegmentWeight, builder.getStatsCounterSupplier().get());
          }
        } else {
          for (int i = 0; i < this.segments.length; ++i) {
            this.segments[i] =
                createSegment(segmentSize, UNSET_INT, builder.getStatsCounterSupplier().get());
          }
        }
      }
    
      boolean evictsBySize() {
        return maxWeight >= 0;
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 19:35:11 UTC 2025
    - 148.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/CacheBuilder.java

        return this;
      }
    
      boolean isRecordingStats() {
        return statsCounterSupplier == CACHE_STATS_COUNTER;
      }
    
      Supplier<? extends StatsCounter> getStatsCounterSupplier() {
        return statsCounterSupplier;
      }
    
      /**
       * Builds a cache, which either returns an already-loaded value for a given key or atomically
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 51.6K bytes
    - Viewed (0)
Back to top