- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testWithTimeout (0.1 sec)
-
guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java
} }, directExecutor()); assertThat(f.get()).isEqualTo(2); } @J2ktIncompatible @GwtIncompatible // withTimeout public void testWithTimeout() throws Exception { ScheduledExecutorService executor = newScheduledThreadPool(1); try { FluentFuture<?> f = FluentFuture.from(SettableFuture.create()).withTimeout(0, SECONDS, executor);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 13 14:28:25 UTC 2024 - 5.7K bytes - Viewed (0)