LoadBalancingSettingsParameters Class
- java.
lang. Object - com.
microsoft. azure. management. cdn. LoadBalancingSettingsParameters
- com.
public class LoadBalancingSettingsParameters
Round-Robin load balancing settings for a backend pool.
Constructor Summary
Constructor | Description | |
---|---|---|
LoadBalancingSettingsParameters() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
additionalLatencyInMilliseconds()
Get the additional latency in milliseconds for probes to fall into the lowest latency bucket. |
java.lang.Integer |
sampleSize()
Get the number of samples to consider for load balancing decisions. |
java.lang.Integer |
successfulSamplesRequired()
Get the number of samples within the sample period that must succeed. |
Load |
withAdditionalLatencyInMilliseconds(Integer additionalLatencyInMilliseconds)
Set the additional latency in milliseconds for probes to fall into the lowest latency bucket. |
Load |
withSampleSize(Integer sampleSize)
Set the number of samples to consider for load balancing decisions. |
Load |
withSuccessfulSamplesRequired(Integer successfulSamplesRequired)
Set the number of samples within the sample period that must succeed. |
Methods inherited from java.lang.Object
Constructor Details
LoadBalancingSettingsParameters
public LoadBalancingSettingsParameters()
Method Details
additionalLatencyInMilliseconds
public Integer additionalLatencyInMilliseconds()
Get the additional latency in milliseconds for probes to fall into the lowest latency bucket.
Returns:
sampleSize
public Integer sampleSize()
Get the number of samples to consider for load balancing decisions.
Returns:
successfulSamplesRequired
public Integer successfulSamplesRequired()
Get the number of samples within the sample period that must succeed.
Returns:
withAdditionalLatencyInMilliseconds
public LoadBalancingSettingsParameters withAdditionalLatencyInMilliseconds(Integer additionalLatencyInMilliseconds)
Set the additional latency in milliseconds for probes to fall into the lowest latency bucket.
Parameters:
Returns:
withSampleSize
public LoadBalancingSettingsParameters withSampleSize(Integer sampleSize)
Set the number of samples to consider for load balancing decisions.
Parameters:
Returns:
withSuccessfulSamplesRequired
public LoadBalancingSettingsParameters withSuccessfulSamplesRequired(Integer successfulSamplesRequired)
Set the number of samples within the sample period that must succeed.
Parameters:
Returns:
Applies to
Azure SDK for Java
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin