Table of Contents

Class AdaptiveLoadBalancingPolicy

Namespace
IceGrid
Assembly
IceGrid.dll

The load balancing policy that returns the endpoints of the server(s) with the lowest load average.

[SliceTypeId("::IceGrid::AdaptiveLoadBalancingPolicy")]
public class AdaptiveLoadBalancingPolicy : LoadBalancingPolicy
Inheritance
AdaptiveLoadBalancingPolicy
Inherited Members

Remarks

The Slice compiler generated this class from Slice class ::IceGrid::AdaptiveLoadBalancingPolicy.

Constructors

AdaptiveLoadBalancingPolicy()

Initializes a new instance of the AdaptiveLoadBalancingPolicy class.

public AdaptiveLoadBalancingPolicy()

AdaptiveLoadBalancingPolicy(string, string)

Initializes a new instance of the AdaptiveLoadBalancingPolicy class.

public AdaptiveLoadBalancingPolicy(string nReplicas, string loadSample)

Parameters

nReplicas string
loadSample string

Fields

loadSample

The load sample to use for the load balancing. The allowed values for this attribute are "1", "5" and "15", representing respectively the load average over the past minute, the past 5 minutes and the past 15 minutes.

public string loadSample

Field Value

string

Methods

ice_id()

Returns the Slice type ID of the most-derived interface supported by this object.

public override string ice_id()

Returns

string

The return value is always ::Ice::Object.

ice_staticId()

Gets the type ID of the associated Slice class.

public static string ice_staticId()

Returns

string

The string ::IceGrid::AdaptiveLoadBalancingPolicy.