Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getMaxChannels (0.59 sec)

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

            PropertyConfiguration config = new PropertyConfiguration(props);
            assertEquals(8, config.getMaxChannels());
    
            props.setProperty("jcifs.smb.client.maxChannels", "1");
            config = new PropertyConfiguration(props);
            assertEquals(1, config.getMaxChannels());
        }
    
        @Test
        void testChannelBindingPolicyProperty() throws CIFSException {
    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

        @BeforeEach
        void setUp() {
            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");
    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