Module: policies

Contains driver tuning policies to determine load balancing, retrying queries, reconnecting to a node and address resolution.

It contains all the policies defined in the Cassandra driver and additional DSE-specific policies.

Methods

(static) defaultAddressTranslator() → {AddressTranslator}

Returns a new instance of the default address translator policy used by the driver.
Returns:
Type
AddressTranslator

(static) defaultLoadBalancingPolicy() → {LoadBalancingPolicy}

Returns a new instance of the default load-balancing policy used by the driver.
Returns:
Type
LoadBalancingPolicy

(static) defaultReconnectionPolicy() → {ReconnectionPolicy}

Returns a new instance of the default reconnection policy used by the driver.
Returns:
Type
ReconnectionPolicy

(static) defaultRetryPolicy() → {RetryPolicy}

Returns a new instance of the default retry policy used by the driver.
Returns:
Type
RetryPolicy