Package io.smallrye.stork.api.config
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
-
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
Load Balancer parameters.- Returns:
- map of parameters of the load balancer
-