pub unsafe extern "C" fn cass_cluster_set_host_listener_callback(
cluster: *mut CassCluster,
callback: CassHostListenerCallback,
data: *mut c_void
) -> CassError
Expand description
Sets a callback for handling host state changes in the cluster.
Note: The callback is invoked only when state changes in the cluster are applicable to the configured load balancing policy(s).
@public @memberof CassCluster
@param[in] cluster @param[in] callback @param[in] data @return CASS_OK if successful, otherwise and error occurred