public final class LoadBalancingSettingsParameters extends Object
| Constructor and Description |
|---|
LoadBalancingSettingsParameters() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
additionalLatencyInMilliseconds()
Get the additionalLatencyInMilliseconds property: The additional latency in milliseconds for probes to fall into
the lowest latency bucket.
|
Integer |
sampleSize()
Get the sampleSize property: The number of samples to consider for load balancing decisions.
|
Integer |
successfulSamplesRequired()
Get the successfulSamplesRequired property: The number of samples within the sample period that must succeed.
|
void |
validate()
Validates the instance.
|
LoadBalancingSettingsParameters |
withAdditionalLatencyInMilliseconds(Integer additionalLatencyInMilliseconds)
Set the additionalLatencyInMilliseconds property: The additional latency in milliseconds for probes to fall into
the lowest latency bucket.
|
LoadBalancingSettingsParameters |
withSampleSize(Integer sampleSize)
Set the sampleSize property: The number of samples to consider for load balancing decisions.
|
LoadBalancingSettingsParameters |
withSuccessfulSamplesRequired(Integer successfulSamplesRequired)
Set the successfulSamplesRequired property: The number of samples within the sample period that must succeed.
|
public Integer sampleSize()
public LoadBalancingSettingsParameters withSampleSize(Integer sampleSize)
sampleSize - the sampleSize value to set.public Integer successfulSamplesRequired()
public LoadBalancingSettingsParameters withSuccessfulSamplesRequired(Integer successfulSamplesRequired)
successfulSamplesRequired - the successfulSamplesRequired value to set.public Integer additionalLatencyInMilliseconds()
public LoadBalancingSettingsParameters withAdditionalLatencyInMilliseconds(Integer additionalLatencyInMilliseconds)
additionalLatencyInMilliseconds - the additionalLatencyInMilliseconds value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.