Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getChannelBindingPolicy (0.13 sec)

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

            PropertyConfiguration config = new PropertyConfiguration(props);
            assertEquals(0, config.getChannelBindingPolicy());
    
            // Test preferred (default)
            props.setProperty("jcifs.smb.client.channelBindingPolicy", "preferred");
            config = new PropertyConfiguration(props);
            assertEquals(1, config.getChannelBindingPolicy());
    
            // Test required
    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/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java

            when(mockContext.getConfig()).thenReturn(mockConfig);
            when(mockConfig.isUseMultiChannel()).thenReturn(true);
            when(mockConfig.getMaxChannels()).thenReturn(4);
            when(mockConfig.getChannelBindingPolicy()).thenReturn(1); // preferred
            when(mockConfig.getLoadBalancingStrategy()).thenReturn("adaptive");
            when(mockConfig.getChannelHealthCheckInterval()).thenReturn(10);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.6K bytes
    - Viewed (0)
Back to top