- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for cancelFinalStepAndWait (0.17 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java
void waitUntilClosed(ClosingFuture<?> closingFuture) { if (valueAndCloser != null) { valueAndCloser.closeAsync(); } super.waitUntilClosed(closingFuture); } @Override void cancelFinalStepAndWait(ClosingFuture<TestCloseable> closingFuture) { assertThat(closingFuture.cancel(false)).isTrue(); ValueAndCloser<?> unused = finishToValueAndCloser(closingFuture); waitUntilClosed(closingFuture);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 5.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToFutureTest.java
} @Override void assertBecomesCanceled(ClosingFuture<?> closingFuture) throws ExecutionException { assertThatFutureBecomesCancelled(closingFuture.finishToFuture()); } @Override void cancelFinalStepAndWait(ClosingFuture<TestCloseable> closingFuture) { assertThat(closingFuture.finishToFuture().cancel(false)).isTrue(); waitUntilClosed(closingFuture); futureCancelled.countDown(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 3.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java
void waitUntilClosed(ClosingFuture<?> closingFuture) { if (valueAndCloser != null) { valueAndCloser.closeAsync(); } super.waitUntilClosed(closingFuture); } @Override void cancelFinalStepAndWait(ClosingFuture<TestCloseable> closingFuture) { assertThat(closingFuture.cancel(false)).isTrue(); ValueAndCloser<?> unused = finishToValueAndCloser(closingFuture); waitUntilClosed(closingFuture);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 5.7K bytes - Viewed (0)