Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for finishToFuture (0.16 sec)

  1. guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToFutureTest.java

        return getUninterruptibly(closingFuture.finishToFuture());
      }
    
      @Override
      void assertFinallyFailsWithException(ClosingFuture<?> closingFuture) {
        assertThatFutureFailsWithException(closingFuture.finishToFuture());
      }
    
      @Override
      void assertBecomesCanceled(ClosingFuture<?> closingFuture) throws ExecutionException {
        assertThatFutureBecomesCancelled(closingFuture.finishToFuture());
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       * be thrown by calling {@code finishToFuture().get()} if this were the last step. Calling {@code
       * cancel()} on the returned future has no effect on the {@code ClosingFuture} pipeline.
       *
       * <p>{@code statusFuture} differs from most methods on {@code ClosingFuture}: You can make calls
       * to {@code statusFuture} <i>in addition to</i> the call you make to {@link #finishToFuture()} or
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java

                    return closer.eventuallyClose(mockCloseable, executor);
                  }
                },
                executor);
        FluentFuture<Closeable> unused = closingFuture.finishToFuture();
        assertThrows(
            IllegalStateException.class,
            () ->
                closingFuture.finishToValueAndCloser(
                    new NoOpValueAndCloserConsumer<>(), finishToValueAndCloserExecutor));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java

                    return closer.eventuallyClose(mockCloseable, executor);
                  }
                },
                executor);
        FluentFuture<Closeable> unused = closingFuture.finishToFuture();
        assertThrows(
            IllegalStateException.class,
            () ->
                closingFuture.finishToValueAndCloser(
                    new NoOpValueAndCloserConsumer<>(), finishToValueAndCloserExecutor));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
Back to top