Function cassandra_cpp_sys::cass_cluster_set_use_randomized_contact_points [] [src]

pub unsafe extern "C" fn cass_cluster_set_use_randomized_contact_points(
    cluster: *mut CassCluster,
    enabled: cass_bool_t
) -> CassError

Enable/Disable the randomization of the contact points list.

Default: cass_true (enabled).

Important: This setting should only be disabled for debugging or tests.

@public @memberof CassCluster

@param[in] cluster @param[in] enabled @return CASS_OK if successful, otherwise an error occurred

@see cass_cluster_set_resolve_timeout()