- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for getMaxChannels (0.15 seconds)
-
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 {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 8.3K bytes - Click Count (0) -
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");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 7.6K bytes - Click Count (0)