Class: DCAwareRoundRobinPolicy

policies/loadBalancing~DCAwareRoundRobinPolicy(localDcopt, nullable)

A data-center aware Round-robin load balancing policy. This policy provides round-robin queries over the nodes of the local data center.

Constructor

new DCAwareRoundRobinPolicy(localDcopt, nullable)

Parameters:
Name Type Attributes Description
localDc String <optional>
<nullable>

local datacenter name. This value overrides the 'localDataCenter' Client option
and is useful for cases where you have multiple execution profiles that you intend on using for routing requests to different data centers.

Source:

Extends

  • LoadBalancingPolicy

Methods

getOptions()

Gets an associative array containing the policy options.

Source:

getRustConfiguration() → {LoadBalancingConfig}

Source:
Returns:
Type
LoadBalancingConfig