Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for features (0.15 sec)

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

                return newValue;
              }
              try {
                return getAndRecordStats(
                    key, hash, computingValueReference, Futures.immediateFuture(newValue));
              } catch (ExecutionException exception) {
                throw new AssertionError("impossible; Futures.immediateFuture can't throw");
              }
            } else if (createNewEntry || valueReference.isLoading()) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/LocalCache.java

            if (previousValue == null) {
              V newValue = loader.load(key);
              return set(newValue) ? futureValue : Futures.immediateFuture(newValue);
            }
            ListenableFuture<V> newValue = loader.reload(key, previousValue);
            if (newValue == null) {
              return Futures.immediateFuture(null);
            }
            // To avoid a race, make sure the refreshed value is set into loadingValueReference
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
Back to top