Was this page helpful?
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 |
Extends¶
- LoadBalancingPolicy
Methods¶
getOptions()
Gets an associative array containing the policy options.
(package) getRustConfiguration() → {_rust.LoadBalancingConfig}
Returns:
- Type
- _rust.LoadBalancingConfig