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