- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 240 for InterruptedException (0.07 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 7.2K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java
null); // Wait for expiration try { Thread.sleep(150); } catch (InterruptedException e) { Thread.currentThread().interrupt(); } HandleInfo info = manager.getHandleForReconnect("/test/file.txt"); assertNull(info); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 6.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessClientTest.java
@Override public void onRegistrationExpired(WitnessRegistration registration) { // Test implementation } public boolean waitForNotification(long timeoutMs) throws InterruptedException { return notificationLatch.await(timeoutMs, TimeUnit.MILLISECONDS); } public WitnessNotification getLastNotification() { return lastNotification; } }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 9.8K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java
} finally { monitor.leave(); } } @CanIgnoreReturnValue // pushed down from class to method @Override public @Nullable E poll(long timeout, TimeUnit unit) throws InterruptedException { Monitor monitor = this.monitor; if (monitor.enterWhen(notEmpty, timeout, unit)) { try { return q.poll(); } finally { monitor.leave(); } } else {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 18.9K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt
processResponse(response, hostname, responses, failures) latch.countDown() } }, ) } try { latch.await() } catch (e: InterruptedException) { failures.add(e) } } private fun processResponse( response: Response, hostname: String, results: MutableList<InetAddress>, failures: MutableList<Exception>,
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat May 10 11:15:14 UTC 2025 - 8.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java
throw new SuggesterException("An error occurred during the deferred computation.", error); } return response; } catch (final InterruptedException e) { throw new InterruptedRuntimeException(e); } } }
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/LogStreamTest.java
// After close, the stream should not accept more writes // but PrintStream doesn't throw exceptions on write after close } @Test void testConcurrentAccess() throws InterruptedException { // Test thread safety of getInstance LogStream.setInstance(testStream); final LogStream[] instances = new LogStream[10]; Thread[] threads = new Thread[10];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java
failover.shutdown(); // Should not throw any exceptions assertDoesNotThrow(() -> failover.shutdown()); } @Test void testConcurrentFailureHandling() throws InterruptedException { IOException error = new IOException("Connection failed"); // Simulate concurrent failures Thread[] threads = new Thread[5]; for (int i = 0; i < threads.length; i++) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java
// Expected in test environment without proper server setup } assertDoesNotThrow(() -> channelManager.shutdown()); } @Test void testConcurrentAccess() throws InterruptedException { // Test thread safety Thread[] threads = new Thread[10]; for (int i = 0; i < threads.length; i++) { threads[i] = new Thread(() -> {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.6K bytes - Viewed (0) -
android/guava/src/com/google/common/base/internal/Finalizer.java
@SuppressWarnings("InfiniteLoopStatement") @Override public void run() { while (true) { try { if (!cleanUp(queue.remove())) { break; } } catch (InterruptedException e) { // ignore } } } /** * Cleans up the given reference and any other references already in the queue. Catches and logs * all throwables. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 9.3K bytes - Viewed (0)