Interface ConfigWithType

All Known Subinterfaces:
ServiceRegistrarConfig
All Known Implementing Classes:
SimpleRegistrarConfig, SimpleServiceConfig.SimpleLoadBalancerConfig, SimpleServiceConfig.SimpleServiceDiscoveryConfig, SimpleServiceConfig.SimpleServiceRegistrarConfig

public interface ConfigWithType
Load balancer configuration. Only used internally. The configuration is translated to an object that provides parameters through getters
  • Method Summary

    Modifier and Type
    Method
    Description
    Load Balancer parameters.
    Load balancer type, e.g.
  • Method Details

    • type

      String type()
      Load balancer type, e.g. "round-robin". A LoadBalancerProvider for the type has to be available
      Returns:
      load balancer type
    • parameters

      Map<String,String> parameters()
      Load Balancer parameters.
      Returns:
      map of parameters of the load balancer