Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for channelHealthCheckInterval (0.25 sec)

  1. src/test/java/jcifs/config/MultiChannelConfigurationTest.java

            Properties props = new Properties();
            props.setProperty("jcifs.smb.client.channelHealthCheckInterval", "30");
    
            PropertyConfiguration config = new PropertyConfiguration(props);
            assertEquals(30, config.getChannelHealthCheckInterval());
    
            props.setProperty("jcifs.smb.client.channelHealthCheckInterval", "5");
            config = new PropertyConfiguration(props);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/config/PropertyConfiguration.java

            }
    
            value = props.getProperty("jcifs.smb.client.channelHealthCheckInterval");
            if (value != null) {
                try {
                    int intValue = Integer.parseInt(value);
                    if (intValue > 0) {
                        this.channelHealthCheckInterval = intValue;
                    }
                } catch (NumberFormatException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/config/BaseConfiguration.java

            if (this.channelBindingPolicy == -1) {
                this.channelBindingPolicy = 1; // Default to preferred
            }
            if (this.channelHealthCheckInterval == 0) {
                this.channelHealthCheckInterval = 10;
            }
            if (this.loadBalancingStrategy == null) {
                this.loadBalancingStrategy = "adaptive";
            }
    
            // Initialize RDMA defaults
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java

            props.setProperty("jcifs.smb.client.maxChannels", "4");
            props.setProperty("jcifs.smb.client.loadBalancingStrategy", "adaptive");
            props.setProperty("jcifs.smb.client.channelHealthCheckInterval", "5");
    
            multiConfig = new PropertyConfiguration(props);
    
            // Mock context and session for ChannelManager
            when(mockContext.getConfig()).thenReturn(multiConfig);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/Configuration.java

         *
         * @return load balancing strategy
         */
        String getLoadBalancingStrategy();
    
        /**
         * Channel health check interval in seconds
         *
         * Property {@code jcifs.smb.client.channelHealthCheckInterval} (int, default 10)
         *
         * @return health check interval in seconds
         */
        int getChannelHealthCheckInterval();
    
        /**
         * Property {@code jcifs.smb.client.handleStateDirectory}
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  6. docs/smb3-features/03-multi-channel-design.md

    public static final String LOAD_BALANCING_STRATEGY = "jcifs.smb.client.loadBalancingStrategy";
    public static final String CHANNEL_HEALTH_CHECK_INTERVAL = "jcifs.smb.client.channelHealthCheckInterval";
    
    public boolean isUseMultiChannel() {
        return getBooleanProperty(USE_MULTI_CHANNEL, true);
    }
    
    public int getMaxChannels() {
        return getIntProperty(MAX_CHANNELS, 4);
    }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
Back to top