Class LeastRequestsConfiguration
- java.lang.Object
-
- io.smallrye.stork.loadbalancer.requests.LeastRequestsConfiguration
-
- All Implemented Interfaces:
ConfigWithType
public class LeastRequestsConfiguration extends Object implements ConfigWithType
Configuration for theLeastRequestsLoadBalancerProviderLoadBalancer.
-
-
Constructor Summary
Constructors Constructor Description LeastRequestsConfiguration()Creates a new LeastRequestsConfigurationLeastRequestsConfiguration(Map<String,String> params)Creates a new LeastRequestsConfiguration
-
-
-
Constructor Detail
-
LeastRequestsConfiguration
public LeastRequestsConfiguration(Map<String,String> params)
Creates a new LeastRequestsConfiguration- Parameters:
params- the parameters, must not benull
-
LeastRequestsConfiguration
public LeastRequestsConfiguration()
Creates a new LeastRequestsConfiguration
-
-
Method Detail
-
type
public String type()
- Specified by:
typein interfaceConfigWithType- Returns:
- the type
-
parameters
public Map<String,String> parameters()
- Specified by:
parametersin interfaceConfigWithType- Returns:
- the parameters
-
-