- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for getLoadBalancingStrategy (0.17 sec)
-
src/test/java/jcifs/config/MultiChannelConfigurationTest.java
assertEquals(strategy, config.getLoadBalancingStrategy()); } // Test case insensitivity props.setProperty("jcifs.smb.client.loadBalancingStrategy", "ADAPTIVE"); PropertyConfiguration config = new PropertyConfiguration(props); assertEquals("ADAPTIVE", config.getLoadBalancingStrategy()); } @Test
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/main/java/jcifs/config/DelegatingConfiguration.java
return this.delegate.getChannelBindingPolicy(); } /** * {@inheritDoc} * * @see jcifs.Configuration#getLoadBalancingStrategy() */ @Override public String getLoadBalancingStrategy() { return this.delegate.getLoadBalancingStrategy(); } /** * {@inheritDoc} * * @see jcifs.Configuration#getChannelHealthCheckInterval() */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java
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); channelManager = new ChannelManager(mockContext, mockSession); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.6K bytes - Viewed (0) -
src/main/java/jcifs/config/BaseConfiguration.java
public int getChannelBindingPolicy() { return this.channelBindingPolicy; } /** * {@inheritDoc} * * @see jcifs.Configuration#getLoadBalancingStrategy() */ @Override public String getLoadBalancingStrategy() { return this.loadBalancingStrategy; } /** * {@inheritDoc} * * @see jcifs.Configuration#getChannelHealthCheckInterval()
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 36.5K bytes - Viewed (0) -
src/main/java/jcifs/Configuration.java
* Values: "round_robin", "least_loaded", "weighted_random", "affinity_based", "adaptive" * * @return load balancing strategy */ String getLoadBalancingStrategy(); /** * Channel health check interval in seconds * * Property {@code jcifs.smb.client.channelHealthCheckInterval} (int, default 10) *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 25.4K bytes - Viewed (0) -
docs/smb3-features/03-multi-channel-design.md
switch (policy.toLowerCase()) { case "disabled": return 0; case "required": return 2; default: return 1; // preferred } } public LoadBalancingStrategy getLoadBalancingStrategy() { String strategy = getProperty(LOAD_BALANCING_STRATEGY, "adaptive"); return LoadBalancingStrategy.valueOf(strategy.toUpperCase()); } ``` ## 7. Testing Strategy
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 39.6K bytes - Viewed (0)