Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for recordLoadSuccess (0.35 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

         * blocking on the load. Multiple concurrent calls to {@link Cache} lookup methods with the same
         * key on an absent value should result in a single call to either {@code recordLoadSuccess} or
         * {@code recordLoadException} and multiple calls to this method, despite all being served by
         * the results of a single load operation.
         *
         * @param count the number of misses to record
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/cache/CacheBuilder.java

                @Override
                public void recordMisses(int count) {}
    
                @SuppressWarnings("GoodTime") // b/122668874
                @Override
                public void recordLoadSuccess(long loadTime) {}
    
                @SuppressWarnings("GoodTime") // b/122668874
                @Override
                public void recordLoadException(long loadTime) {}
    
                @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 52K bytes
    - Click Count (0)
  3. guava/src/com/google/common/cache/CacheBuilder.java

                @Override
                public void recordMisses(int count) {}
    
                @SuppressWarnings("GoodTime") // b/122668874
                @Override
                public void recordLoadSuccess(long loadTime) {}
    
                @SuppressWarnings("GoodTime") // b/122668874
                @Override
                public void recordLoadException(long loadTime) {}
    
                @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 51.7K bytes
    - Click Count (0)
  4. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

        }
    
        if (calculatedValue == null) {
          String message = loader + " returned null for key " + key + ".";
          throw new CacheLoader.InvalidCacheLoadException(message);
        }
        statsCounter.recordLoadSuccess(ticker.read() - startTime);
        return calculatedValue;
      }
    
      private @Nullable V getIfPresent(Object key) {
        checkNotNull(key);
        Timestamped<V> value;
        synchronized (lock) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/cache/LocalCache.java

            value = getUninterruptibly(newValue);
            if (value == null) {
              throw new InvalidCacheLoadException("CacheLoader returned null for key " + key + ".");
            }
            statsCounter.recordLoadSuccess(loadingValueReference.elapsedNanos());
            storeLoadedValue(key, hash, loadingValueReference, value);
            return value;
          } finally {
            if (value == null) {
    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)
  6. guava/src/com/google/common/cache/LocalCache.java

            value = getUninterruptibly(newValue);
            if (value == null) {
              throw new InvalidCacheLoadException("CacheLoader returned null for key " + key + ".");
            }
            statsCounter.recordLoadSuccess(loadingValueReference.elapsedNanos());
            storeLoadedValue(key, hash, loadingValueReference, value);
            return value;
          } finally {
            if (value == null) {
    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