Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for newScheduledThreadPool (0.1 sec)

  1. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

            this.session = session;
            this.channels = new ConcurrentHashMap<>();
            this.localInterfaces = new ArrayList<>();
            this.remoteInterfaces = new ArrayList<>();
            this.scheduler = Executors.newScheduledThreadPool(2, r -> {
                Thread t = new Thread(r, "MultiChannelScheduler");
                t.setDaemon(true);
                return t;
            });
            this.loadBalancer = new ChannelLoadBalancer(this);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 20K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/SmbCircuitBreaker.java

            // Initialize scheduler for dynamic threshold adjustment
            this.scheduler =
                    dynamicThresholdEnabled ? Executors.newScheduledThreadPool(1, r -> new Thread(r, "SmbCircuitBreaker-" + name)) : null;
    
            // Start dynamic threshold adjustment if enabled
            if (dynamicThresholdEnabled) {
                startDynamicThresholdAdjustment();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt

      private var client =
        clientTestRule
          .newClientBuilder()
          .eventListenerFactory(clientTestRule.wrap(listener))
          .build()
      private val executorService = Executors.newScheduledThreadPool(1)
    
      @BeforeEach
      fun setUp() {
        platform.assumeNotOpenJSSE()
        platform.assumeHttp2Support()
      }
    
      @AfterEach
      fun tearDown() {
        executorService.shutdown()
      }
    
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  4. docs/smb3-features/02-persistent-handles-design.md

            this.context = context;
            this.handles = new ConcurrentHashMap<>();
            this.guidToHandle = new ConcurrentHashMap<>();
            this.scheduler = Executors.newScheduledThreadPool(1);
            
            // Create state directory for persistent storage
            String homeDir = System.getProperty("user.home");
            this.stateDirectory = Paths.get(homeDir, ".jcifs", "handles");
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  5. docs/smb3-features/03-multi-channel-design.md

            this.session = session;
            this.channels = new ConcurrentHashMap<>();
            this.localInterfaces = new ArrayList<>();
            this.remoteInterfaces = new ArrayList<>();
            this.scheduler = Executors.newScheduledThreadPool(2);
            this.loadBalancer = new ChannelLoadBalancer(this);
            this.failover = new ChannelFailover(this);
            
            Configuration config = context.getConfig();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  6. docs/smb3-features/06-witness-protocol-design.md

            this.port = DEFAULT_WITNESS_PORT;
            this.context = context;
            this.registrations = new ConcurrentHashMap<>();
            this.listeners = new ConcurrentHashMap<>();
            this.scheduler = Executors.newScheduledThreadPool(2);
            this.rpcClient = new WitnessRpcClient(witnessServer, context);
            
            // Schedule periodic tasks
            schedulePeriodicTasks();
        }
        
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
Back to top