Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AsyncFunction (2.47 sec)

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

          Class<X> exceptionType,
          final AsyncClosingFunction<? super X, W> fallback,
          Executor executor) {
        checkNotNull(fallback);
        AsyncFunction<X, W> asyncFunction =
            new AsyncFunction<X, W>() {
              @Override
              public ListenableFuture<W> apply(X exception) throws Exception {
                return closeables.applyAsyncClosingFunction(fallback, exception);
              }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Futures.java

       * Returns a {@code Future} whose result is taken from the given primary {@code input} or, if the
       * primary input fails with the given {@code exceptionType}, from the result provided by the
       * {@code fallback}. {@link AsyncFunction#apply} is not invoked until the primary input has
       * failed, so if the primary input succeeds, it is never invoked. If, during the invocation of
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
Back to top