kv_config_set_consistency()

#include <kvstore.h>

kv_error_t 
kv_config_set_consistency(kv_config_t *config, 
                      kv_consistency_t *consistency); 

Identifies the default consistency policy to be used by this process. Note that this default can be overridden on a per-operation basis.

Parameters

config

The config parameter points to the configuration structure for which you want to set the default consistency. This structure was intially created using kv_create_config().

consistency

The consistency parameter identifies the consistency policy to be used as the default. Consistency policies are created using kv_create_simple_consistency(), kv_create_time_consistency(), and kv_create_version_consistency().

See Also

Store and Library Operations