- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for shutdownNow (0.06 sec)
-
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java
public void shutdown() { scheduler.shutdown(); try { if (!scheduler.awaitTermination(5, TimeUnit.SECONDS)) { scheduler.shutdownNow(); } } catch (InterruptedException e) { scheduler.shutdownNow(); Thread.currentThread().interrupt(); } // Stop all change watchers for (String path : directoryCache.keySet()) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/util/ResourceManager.java
cleanupExecutor.shutdown(); try { if (!cleanupExecutor.awaitTermination(5, TimeUnit.SECONDS)) { cleanupExecutor.shutdownNow(); } } catch (InterruptedException e) { cleanupExecutor.shutdownNow(); Thread.currentThread().interrupt(); } // Log final statistics
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java
public void shutdown() { executor.shutdown(); try { if (!executor.awaitTermination(10, TimeUnit.SECONDS)) { executor.shutdownNow(); } } catch (InterruptedException e) { executor.shutdownNow(); Thread.currentThread().interrupt(); } } private void redistributePendingOperations(ChannelInfo failedChannel) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 11.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/LeaseManager.java
try { if (!cleanupExecutor.awaitTermination(5, TimeUnit.SECONDS)) { cleanupExecutor.shutdownNow(); } } catch (InterruptedException e) { cleanupExecutor.shutdownNow(); Thread.currentThread().interrupt(); } } // Clean up expired weak referencesRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
healthCheckExecutor.shutdown(); try { if (!healthCheckExecutor.awaitTermination(5, TimeUnit.SECONDS)) { healthCheckExecutor.shutdownNow(); } } catch (InterruptedException e) { healthCheckExecutor.shutdownNow(); Thread.currentThread().interrupt(); } // Close all connections without synchronization - concurrent collections are thread-safe
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/util/AuthenticationRateLimiter.java
log.info("Rate limiter state reset"); } @Override public void close() { if (!closed.compareAndSet(false, true)) { return; } cleanupScheduler.shutdownNow(); try { cleanupScheduler.awaitTermination(5, TimeUnit.SECONDS); } catch (InterruptedException e) { Thread.currentThread().interrupt();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt
response: Response, ) { } }, ) // This should fail the Call, but not cause an unhandled Exception bubbling up client.dispatcher.executorService.shutdownNow() val exception = callFailure.get(5, TimeUnit.SECONDS) assertThat(exception.message).isEqualTo("canceled due to java.lang.InterruptedException") assertThat(exception).isInstanceOf<IOException>()Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:30:11 UTC 2025 - 6.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/MultiChannelManager.java
try { if (!healthCheckExecutor.awaitTermination(5, TimeUnit.SECONDS)) { healthCheckExecutor.shutdownNow(); } if (!channelExecutor.awaitTermination(5, TimeUnit.SECONDS)) { channelExecutor.shutdownNow(); } } catch (InterruptedException e) { Thread.currentThread().interrupt(); } }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 20.5K bytes - Viewed (0) -
src/main/java/jcifs/audit/SecurityAuditLogger.java
shutdown = true; logExecutor.shutdown(); try { if (!logExecutor.awaitTermination(5, TimeUnit.SECONDS)) { logExecutor.shutdownNow(); } } catch (InterruptedException e) { logExecutor.shutdownNow(); Thread.currentThread().interrupt(); } } /** * Log a security event with performance optimizations *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/jcifs/util/SecureKeyManager.java
if (rotationTask != null) { rotationTask.cancel(false); rotationTask = null; } // Shutdown rotation scheduler rotationScheduler.shutdownNow(); clearAllKeys(); } finally { // Wipe KeyStore password if (keyStorePassword != null) { Arrays.fill(keyStorePassword, '\0');
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 21.5K bytes - Viewed (0)