Interface LoadBalancerResolver

All Known Implementing Classes:
DefaultLoadBalancerResolver

public interface LoadBalancerResolver
A resolver of LoadBalancer instances that are capable of resolving references to services into a concrete loadbalance.
Since:
1.0
Author:
Graeme Rocher
  • Method Details

    • resolve

      Optional<? extends LoadBalancer> resolve(String... serviceReferences)
      Resolve a LoadBalancer for the given references.
      Parameters:
      serviceReferences - The references. These could be service IDs or fully HTTP URLs
      Returns:
      A LoadBalancer or empty of non can be resolved