Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for catchingAsync (0.06 sec)

  1. guava/src/com/google/common/util/concurrent/GwtFuturesCatchingSpecialization.java

    @GwtCompatible
    @J2ktIncompatible // Super-sourced
    abstract class GwtFuturesCatchingSpecialization {
      /*
       * This server copy of the class is empty. The corresponding GWT copy contains alternative
       * versions of catching() and catchingAsync() with slightly different signatures from the ones
       * found in Futures.java.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/GwtFuturesCatchingSpecialization.java

    @GwtCompatible
    @J2ktIncompatible // Super-sourced
    abstract class GwtFuturesCatchingSpecialization {
      /*
       * This server copy of the class is empty. The corresponding GWT copy contains alternative
       * versions of catching() and catchingAsync() with slightly different signatures from the ones
       * found in Futures.java.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java

      }
    
      public void testCatchingAsync() throws Exception {
        FluentFuture<?> f =
            FluentFuture.from(immediateFailedFuture(new CustomRuntimeException()))
                .catchingAsync(
                    Throwable.class,
                    new AsyncFunction<Throwable, Class<?>>() {
                      @Override
                      public ListenableFuture<Class<?>> apply(Throwable input) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

      @Partially.GwtIncompatible("AVAILABLE but requires exceptionType to be Throwable.class")
      public final <X extends Throwable> FluentFuture<V> catchingAsync(
          Class<X> exceptionType, AsyncFunction<? super X, ? extends V> fallback, Executor executor) {
        return (FluentFuture<V>) Futures.catchingAsync(this, exceptionType, fallback, executor);
      }
    
      /**
       * Returns a future that delegates to this future but will finish early (via a {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  5. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
Back to top