Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for whenAllSucceed (0.2 seconds)

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

       */
      public static Combiner whenAllSucceed(
          ClosingFuture<?> future1,
          ClosingFuture<?> future2,
          ClosingFuture<?> future3,
          ClosingFuture<?> future4,
          ClosingFuture<?> future5,
          ClosingFuture<?> future6,
          ClosingFuture<?>... moreFutures) {
        return whenAllSucceed(
            FluentIterable.of(future1, future2, future3, future4, future5, future6)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 101.7K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/Futures.java

          Iterable<? extends ListenableFuture<? extends V>> futures) {
        return new FutureCombiner<>(true, ImmutableList.copyOf(futures));
      }
    
      /**
       * A helper to create a new {@code ListenableFuture} whose result is generated from a combination
       * of input futures.
       *
       * <p>See {@link #whenAllComplete} and {@link #whenAllSucceed} for how to instantiate this class.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 64.2K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

      // as Combiner.
    
      public void testWhenAllSucceed_call_failedInput() throws Exception {
        assertFinallyFailsWithException(
            ClosingFuture.whenAllSucceed(
                    ImmutableList.of(
                        ClosingFuture.from(immediateFuture("value")), failedClosingFuture()))
                .call(
                    (closer, peeker) -> {
                      expect.fail();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 63K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

      // as Combiner.
    
      public void testWhenAllSucceed_call_failedInput() throws Exception {
        assertFinallyFailsWithException(
            ClosingFuture.whenAllSucceed(
                    ImmutableList.of(
                        ClosingFuture.from(immediateFuture("value")), failedClosingFuture()))
                .call(
                    (closer, peeker) -> {
                      expect.fail();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 63K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

    import static com.google.common.util.concurrent.Futures.transformAsync;
    import static com.google.common.util.concurrent.Futures.whenAllComplete;
    import static com.google.common.util.concurrent.Futures.whenAllSucceed;
    import static com.google.common.util.concurrent.MoreExecutors.directExecutor;
    import static com.google.common.util.concurrent.ReflectionFreeAssertThrows.assertThrows;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

    import static com.google.common.util.concurrent.Futures.transformAsync;
    import static com.google.common.util.concurrent.Futures.whenAllComplete;
    import static com.google.common.util.concurrent.Futures.whenAllSucceed;
    import static com.google.common.util.concurrent.MoreExecutors.directExecutor;
    import static com.google.common.util.concurrent.ReflectionFreeAssertThrows.assertThrows;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
Back to Top