io.smallrye.stork.api.config.LoadBalancerConfig 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.api.config;
import java.util.Map;
/**
* Load balancer configuration. Only used internally. The configuration is translated to an object
* that provides parameters through getters
*/
public interface LoadBalancerConfig {
/**
* Load balancer type, e.g. "round-robin".
* A LoadBalancerProvider for the type has to be available
*
* @return load balancer type
*/
String type();
/**
* Load Balancer parameters.
*
* @return map of parameters of the load balancer
*/
Map parameters();
}