Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getStatsCounterSupplier (0.18 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 21.6K 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 52K 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 51.6K bytes
    - Viewed (0)
Back to top