com.twitter.finagle.loadbalancer
A GlobalFlag that changes the default balancer for every client in the process. Valid choices are ['heap', 'choice', and 'aperture'].
To configure the load balancer on a per-client granularity instead, use the withLoadBalancer method like so:
withLoadBalancer
{{ val balancer = Balancers.aperture(...) $Protocol.client.withLoadBalancer(balancer) }}
A GlobalFlag that changes the default balancer for every client in the process. Valid choices are ['heap', 'choice', and 'aperture'].
To configure the load balancer on a per-client granularity instead, use the
withLoadBalancer
method like so:{{ val balancer = Balancers.aperture(...) $Protocol.client.withLoadBalancer(balancer) }}