- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getChannelBindingPolicy (0.13 sec)
-
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) -
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)