Package com.symphony.bdk.core.client.loadbalancing
package com.symphony.bdk.core.client.loadbalancing
-
ClassDescriptionConcrete implementation of
LoadBalancedApiClient
used in datafeed services whereLoadBalancedApiClient.rotate()
is executed only when explicitly called.TheLoadBalancingStrategy
corresponding to theBdkLoadBalancingMode.EXTERNAL
mode.AnApiClient
implementation which load balances calls across several base URLs.Interface to provide a load balancing strategy, i.e.Class to instantiateLoadBalancingStrategy
instances according to a specificBdkConfig
.TheLoadBalancingStrategy
corresponding to theBdkLoadBalancingMode.RANDOM
mode.Concrete implementation ofLoadBalancedApiClient
whereLoadBalancedApiClient.rotate()
is executed whenRegularLoadBalancedApiClient.invokeAPI(String, String, List, Object, Map, Map, Map, String, String, String[], TypeReference)
is called and ifLoadBalancedApiClient.loadBalancingConfig
has the field stickiness set to false.TheLoadBalancingStrategy
corresponding to theBdkLoadBalancingMode.ROUND_ROBIN
mode.