pub unsafe extern "C" fn cass_cluster_set_retry_policy(
    cluster: *mut CassCluster,
    retry_policy: *mut CassRetryPolicy
)
Expand description

Sets the retry policy used for all requests unless overridden by setting a retry policy on a statement or a batch.

Default: The same policy as would be created by the function: cass_retry_policy_default_new(). This policy will retry on a read timeout if there was enough replicas, but no data present, on a write timeout if a logged batch request failed to write the batch log, and on a unavailable error it retries using a new host. In all other cases the default policy will return an error.

@public @memberof CassCluster

@param[in] cluster @param[in] retry_policy

@see cass_retry_policy_default_new() @see cass_statement_set_retry_policy() @see cass_batch_set_retry_policy()