- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 79 for Interrupter (0.04 sec)
-
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
// Mock transport.connect() to throw RuntimeException wrapping InterruptedException doThrow(new RuntimeException(new InterruptedException("Interrupted"))).when(transport).connect(); // Should throw exception due to interrupted wait assertThrows(RuntimeException.class, () -> tree.treeConnect(null, null)); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.2K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
} private static void joinThread(final Thread thread) { try { thread.join(); } catch (final InterruptedException e) { log.warn("Thread join interrupted", e); // Restore interrupted status Thread.currentThread().interrupt(); } } private static boolean isAllDigits(final String hostname) { for (int i = 0; i < hostname.length(); i++) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 38.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/TestPlatform.java
throw new AssertionError(e); } } static void verifyThreadWasNotInterrupted() { assertFalse(Thread.currentThread().isInterrupted()); } static void clearInterrupt() { Thread.interrupted(); } /** * Retrieves the result of a {@code Future} known to be done but uses the {@code get(long, * TimeUnit)} overload in order to test that method. */
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/TestPlatform.java
throw new AssertionError(e); } } static void verifyThreadWasNotInterrupted() { assertFalse(Thread.currentThread().isInterrupted()); } static void clearInterrupt() { Thread.interrupted(); } /** * Retrieves the result of a {@code Future} known to be done but uses the {@code get(long, * TimeUnit)} overload in order to test that method. */
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java
return true; } } catch (InterruptedException e) { log.debug("RDMA recovery interrupted"); Thread.currentThread().interrupt(); break; } catch (Exception recoveryError) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/DataIndexHelper.java
* Interrupted exceptions are caught and logged at debug level. */ public void awaitTermination() { try { join(); } catch (final InterruptedException e) { if (logger.isDebugEnabled()) { logger.debug("Interrupted.", e); } } }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 19K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/LoadingCache.java
* ExecutionException} is thrown <a * href="https://github.com/google/guava/wiki/CachesExplained#interruption">even if * computation was interrupted by an {@code InterruptedException}</a>.) * @throws UncheckedExecutionException if an unchecked exception was thrown while loading the * value * @throws ExecutionError if an error was thrown while loading the value
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 8.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java
Thread.currentThread().interrupt(); try { assertEquals("foo", getUnchecked(immediateFuture("foo"))); assertTrue(Thread.currentThread().isInterrupted()); } finally { Thread.interrupted(); } } public void testGetUnchecked_cancelled() { SettableFuture<String> future = SettableFuture.create(); future.cancel(true);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java
Thread.currentThread().interrupt(); try { assertEquals("foo", getUnchecked(immediateFuture("foo"))); assertTrue(Thread.currentThread().isInterrupted()); } finally { Thread.interrupted(); } } public void testGetUnchecked_cancelled() { SettableFuture<String> future = SettableFuture.create(); future.cancel(true);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/HostIntervalController.java
* This method extracts the host from the URL and enforces a delay based on the configured * delayMillisBeforeProcessing parameter. * * @throws InterruptedRuntimeException if the thread is interrupted during the delay * @throws CrawlerSystemException if an error occurs while processing the URL */ @Override protected void delayBeforeProcessing() {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 5.2K bytes - Viewed (0)