- Sort Score
- Result 10 results
- Languages All
Results 41 - 48 of 48 for awaitTermination (0.18 sec)
-
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
*/ public void closePool() { stopProactiveHealthChecking(); healthCheckExecutor.shutdown(); try { if (!healthCheckExecutor.awaitTermination(5, TimeUnit.SECONDS)) { healthCheckExecutor.shutdownNow(); } } catch (InterruptedException e) { healthCheckExecutor.shutdownNow();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/LeaseManager.java
// Stop cleanup executor if (cleanupExecutor != null) { cleanupExecutor.shutdown(); try { if (!cleanupExecutor.awaitTermination(5, TimeUnit.SECONDS)) { cleanupExecutor.shutdownNow(); } } catch (InterruptedException e) { cleanupExecutor.shutdownNow();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java
assertEquals(result, crawlingInfoHelper.generateId(dataMap)); counter.incrementAndGet(); }); } pool.shutdown(); pool.awaitTermination(10, TimeUnit.SECONDS); assertEquals(1000, counter.get()); } public void test_getCanonicalSessionId() { assertEquals("session123", crawlingInfoHelper.getCanonicalSessionId("session123"));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 26.6K bytes - Viewed (0) -
src/main/java/jcifs/audit/SecurityAuditLogger.java
} /** * Shutdown the audit logger gracefully */ public void shutdown() { shutdown = true; logExecutor.shutdown(); try { if (!logExecutor.awaitTermination(5, TimeUnit.SECONDS)) { logExecutor.shutdownNow(); } } catch (InterruptedException e) { logExecutor.shutdownNow(); Thread.currentThread().interrupt();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 26.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 24.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java
try { if (logger.isDebugEnabled()) { logger.debug("Shutting down thread executor."); } executor.shutdown(); executor.awaitTermination(executorTerminationTimeout, TimeUnit.SECONDS); } catch (final InterruptedException e) { if (logger.isDebugEnabled()) { logger.debug("Failed to interrupt executor.", e); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 28.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
repeatedlyInterruptTestThread(20, tearDownStack); semaphore.tryAcquireUnsuccessfully(10, 70); assertInterrupted(); } // executor.awaitTermination Testcases public void testTryAwaitTerminationUninterruptiblyDuration_success() { ExecutorService executor = newFixedThreadPool(1); requestInterruptIn(500); executor.execute(new SleepTask(1000));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 31.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
} }); } startLatch.countDown(); executor.shutdown(); assertTrue(executor.awaitTermination(5, TimeUnit.SECONDS)); // Some operations might succeed before key wipe, some might fail after // At minimum, we expect some activity (not all operations should be no-ops)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0)