- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for interrupted (0.05 sec)
-
guava-tests/test/com/google/common/cache/CacheLoadingTest.java
assertEquals(0, stats.hitCount()); // Sanity check: assertFalse(Thread.interrupted()); Exception expected = assertThrows(ExecutionException.class, () -> cache.get(new Object())); assertThat(expected).hasCauseThat().isSameInstanceAs(e); assertTrue(Thread.interrupted()); stats = cache.stats(); assertEquals(1, stats.missCount());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 85.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
Future<?> scheduled = executorService.schedule(task, delay, timeUnit); /* * Even when the user interrupts the task, we pass `false` to `cancel` so that we don't * interrupt a second time after the interruption performed by TrustedListenableFutureTask. */ task.addListener(() -> scheduled.cancel(false), directExecutor()); return task; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 64.3K bytes - Viewed (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 an interceptor.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 14:55:54 UTC 2022 - 50.8K bytes - Viewed (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, split
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 69.8K bytes - Viewed (0)