io.smallrye.stork.spi.internal.LoadBalancerLoader Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of stork-api Show documentation
Show all versions of stork-api Show documentation
Main Stork API classes. You are likely to need `smallrye-stork-core` and not this module.
package io.smallrye.stork.spi.internal;
import io.smallrye.stork.api.LoadBalancer;
import io.smallrye.stork.api.ServiceDiscovery;
import io.smallrye.stork.api.config.LoadBalancerConfig;
import io.smallrye.stork.spi.ElementWithType;
/**
* Used by stork internals to generate service loader for LoadBalancerProvider
*/
public interface LoadBalancerLoader extends ElementWithType {
LoadBalancer createLoadBalancer(LoadBalancerConfig config, ServiceDiscovery serviceDiscovery);
}