Package io.smallrye.stork.spi.internal
Interface LoadBalancerLoader
-
- All Superinterfaces:
ElementWithType
public interface LoadBalancerLoader extends ElementWithType
Used by stork internals to generate service loader for LoadBalancerProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LoadBalancercreateLoadBalancer(ConfigWithType config, ServiceDiscovery serviceDiscovery)Creates a load balancer instance.-
Methods inherited from interface io.smallrye.stork.spi.ElementWithType
type
-
-
-
-
Method Detail
-
createLoadBalancer
LoadBalancer createLoadBalancer(ConfigWithType config, ServiceDiscovery serviceDiscovery)
Creates a load balancer instance.- Parameters:
config- the configuration, must not benullserviceDiscovery- the service discovery used for that service- Returns:
- the load balancer
-
-