Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 24 of 24 for newCachedThreadPool (0.09 sec)

  1. src/main/java/jcifs/smb/MultiChannelManager.java

            this.healthCheckInterval = getHealthCheckIntervalFromConfig(config);
    
            // Create thread pools
            this.channelExecutor = Executors.newCachedThreadPool(r -> {
                Thread t = new Thread(r, "SMB3-MultiChannel-Worker");
                t.setDaemon(true);
                return t;
            });
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  2. docs/smb3-features/03-multi-channel-design.md

        private final Map<String, FailoverState> failoverStates;
        
        public ChannelFailover(ChannelManager manager) {
            this.manager = manager;
            this.executor = Executors.newCachedThreadPool();
            this.failoverStates = new ConcurrentHashMap<>();
        }
        
        public static class FailoverState {
            private final String channelId;
            private final long failureTime;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

      @Test
      fun credentials() {
        val basic: String = Credentials.basic("", "")
      }
    
      @Test
      fun dispatcher() {
        var dispatcher = Dispatcher()
        dispatcher = Dispatcher(Executors.newCachedThreadPool())
        val maxRequests: Int = dispatcher.maxRequests
        dispatcher.maxRequests = 0
        val maxRequestsPerHost: Int = dispatcher.maxRequestsPerHost
        dispatcher.maxRequestsPerHost = 0
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 46.5K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

      @Disabled
      fun synchronousRequest(protocol: Protocol) {
        setUp(protocol)
        server.enqueue(MockResponse(body = "A"))
        server.enqueue(MockResponse(body = "A"))
        val executor = Executors.newCachedThreadPool(threadFactory("HttpOverHttp2Test"))
        val countDownLatch = CountDownLatch(2)
        executor.execute(AsyncRequest("/r1", countDownLatch))
        executor.execute(AsyncRequest("/r2", countDownLatch))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 73.4K bytes
    - Viewed (0)
Back to top