Function cassandra_cpp_sys::cass_execution_profile_set_constant_speculative_execution_policy
source ยท pub unsafe extern "C" fn cass_execution_profile_set_constant_speculative_execution_policy(
profile: *mut CassExecProfile,
constant_delay_ms: cass_int64_t,
max_speculative_executions: c_int,
) -> CassError
Expand description
Enable constant speculative executions with the supplied settings for the execution profile.
Note: Profile-based speculative execution policy is disabled by default; cluster speculative execution policy is used when profile does not contain a policy.
@public @memberof CassExecProfile
@param[in] profile @param[in] constant_delay_ms @param[in] max_speculative_executions @return CASS_OK if successful, otherwise an error occurred
@see cass_cluster_set_constant_speculative_execution_policy()