- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for Interrupter (0.06 seconds)
-
guava-tests/test/com/google/common/cache/CacheLoadingTest.java
assertThat(stats.hitCount()).isEqualTo(0); // Sanity check: assertThat(Thread.interrupted()).isFalse(); Exception expected = assertThrows(ExecutionException.class, () -> cache.get(new Object())); assertThat(expected).hasCauseThat().isSameInstanceAs(e); assertThat(Thread.interrupted()).isTrue(); stats = cache.stats(); assertThat(stats.missCount()).isEqualTo(1);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 91.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java
assertThat(stats.hitCount()).isEqualTo(0); // Sanity check: assertThat(Thread.interrupted()).isFalse(); Exception expected = assertThrows(ExecutionException.class, () -> cache.get(new Object())); assertThat(expected).hasCauseThat().isSameInstanceAs(e); assertThat(Thread.interrupted()).isTrue(); stats = cache.stats(); assertThat(stats.missCount()).isEqualTo(1);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 91.1K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
* Returns a future that delegates to another but will finish early (via a {@link * TimeoutException} wrapped in an {@link ExecutionException}) if the specified duration expires. * * <p>The delegate future is interrupted and cancelled if it times out. * * @param delegate The future to delegate to. * @param time when to time out the future * @param scheduledExecutor The executor service to enforce the timeout.
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 64.3K bytes - Click Count (0) -
docs/changelogs/changelog_3x.md
* Fix: Reverse suppression of connect exceptions. When both a call and its retry fail, we now throw the initial exception which is most likely to be actionable. * Fix: Retain interrupted state when throwing `InterruptedIOException`. A single interrupt should now be sufficient to break out an in-flight OkHttp call. * Fix: Don't drop a call to `EventListener.callEnd()` when the response body is consumed inside anCreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Feb 06 14:55:54 GMT 2022 - 50.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
} break; } catch (final InterruptedException e) { final InterruptedIOException ie = new InterruptedIOException("Interrupted while acquiring credits"); ie.initCause(e); throw ie; } } else { // not enough credits available or too big, splitCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 69.8K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
* specified {@link MoreExecutors#directExecutor()}, those objects will be closed synchronously. * * @param mayInterruptIfRunning {@code true} if the thread executing this task should be * interrupted; otherwise, in-progress tasks are allowed to complete, but the step will be * cancelled regardless * @return {@code false} if the step could not be cancelled, typically because it has alreadyCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 11 13:51:27 GMT 2025 - 96.9K bytes - Click Count (0)