Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for catchingAsync (0.04 sec)

  1. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

              @Override
              public String toString() {
                return fallback.toString();
              }
            };
        // TODO(dpb): Switch to future.catchingSync when that exists (passing a throwing function).
        return derive(future.catchingAsync(exceptionType, applyFallback, executor));
      }
    
      /**
       * Returns a new {@code ClosingFuture} pipeline step derived from this one by applying a function
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 13:51:27 UTC 2025
    - 96.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Futures.java

       *
       * // Falling back to a zero counter in case an exception happens when
       * // processing the RPC to fetch counters.
       * ListenableFuture<Integer> faultTolerantFuture = Futures.catchingAsync(
       *     fetchCounterFuture, FetchException.class, x -> immediateFuture(0), directExecutor());
       * }
       *
       * <p>The fallback can also choose to propagate the original exception when desired:
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
Back to top