- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for UncheckedTimeoutException (0.18 sec)
-
android/guava/src/com/google/common/util/concurrent/UncheckedTimeoutException.java
@GwtIncompatible @ElementTypesAreNonnullByDefault public class UncheckedTimeoutException extends RuntimeException { public UncheckedTimeoutException() {} public UncheckedTimeoutException(@CheckForNull String message) { super(message); } public UncheckedTimeoutException(@CheckForNull Throwable cause) { super(cause); } public UncheckedTimeoutException(@CheckForNull String message, @CheckForNull Throwable cause) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 04 09:45:04 UTC 2023 - 1.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java
SampleImpl target = new SampleImpl(9999); Sample proxy = service.newProxy(target, Sample.class, NOT_ENOUGH_MS, MILLISECONDS); Stopwatch stopwatch = Stopwatch.createStarted(); assertThrows(UncheckedTimeoutException.class, () -> proxy.sleepThenReturnInput("x")); assertThat(stopwatch.elapsed(MILLISECONDS)).isIn(Range.closed(NOT_ENOUGH_MS, DELAY_MS * 2)); // Is it still computing away anyway?
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 9.5K bytes - Viewed (0)