Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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(
                    new CombiningCallable<Object>() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 74.7K bytes
    - Viewed (0)
  2. 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)
    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)
  3. 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(
                    new CombiningCallable<Object>() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  4. 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.
       *
    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)
  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.TestPlatform.clearInterrupt;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (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.TestPlatform.clearInterrupt;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
Back to top