Class DiscoveryClientLoadBalancerFactory

java.lang.Object
io.micronaut.http.client.loadbalance.DiscoveryClientLoadBalancerFactory

@Singleton public class DiscoveryClientLoadBalancerFactory extends Object
A factory class that can be replaced at runtime for creating LoadBalancer instances that load balance between available clients provided by the DiscoveryClient.
Since:
1.0
Author:
Graeme Rocher
  • Constructor Details

    • DiscoveryClientLoadBalancerFactory

      public DiscoveryClientLoadBalancerFactory(DiscoveryClient discoveryClient)
      Parameters:
      discoveryClient - The discover client
  • Method Details