Aracılığıyla paylaş


LoadBalancingSettingsParameters Class

  • java.lang.Object
    • com.microsoft.azure.management.cdn.LoadBalancingSettingsParameters

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.

LoadBalancingSettingsParameters withAdditionalLatencyInMilliseconds(Integer additionalLatencyInMilliseconds)

Set the additional latency in milliseconds for probes to fall into the lowest latency bucket.

LoadBalancingSettingsParameters withSampleSize(Integer sampleSize)

Set the number of samples to consider for load balancing decisions.

LoadBalancingSettingsParameters withSuccessfulSamplesRequired(Integer successfulSamplesRequired)

Set the number of samples within the sample period that must succeed.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

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:

the additionalLatencyInMilliseconds value

sampleSize

public Integer sampleSize()

Get the number of samples to consider for load balancing decisions.

Returns:

the sampleSize value

successfulSamplesRequired

public Integer successfulSamplesRequired()

Get the number of samples within the sample period that must succeed.

Returns:

the successfulSamplesRequired value

withAdditionalLatencyInMilliseconds

public LoadBalancingSettingsParameters withAdditionalLatencyInMilliseconds(Integer additionalLatencyInMilliseconds)

Set the additional latency in milliseconds for probes to fall into the lowest latency bucket.

Parameters:

additionalLatencyInMilliseconds - the additionalLatencyInMilliseconds value to set

Returns:

the LoadBalancingSettingsParameters object itself.

withSampleSize

public LoadBalancingSettingsParameters withSampleSize(Integer sampleSize)

Set the number of samples to consider for load balancing decisions.

Parameters:

sampleSize - the sampleSize value to set

Returns:

the LoadBalancingSettingsParameters object itself.

withSuccessfulSamplesRequired

public LoadBalancingSettingsParameters withSuccessfulSamplesRequired(Integer successfulSamplesRequired)

Set the number of samples within the sample period that must succeed.

Parameters:

successfulSamplesRequired - the successfulSamplesRequired value to set

Returns:

the LoadBalancingSettingsParameters object itself.

Applies to