kv_config_set_durability()

#include <kvstore.h>

kv_error_t 
kv_config_set_durability(kv_config_t *config, 
                   kv_durability_t durability); 

Identifies the default durability 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 durability. This structure was initially created using kv_create_config().

  • durability

    The durability parameter identifies the durability policy to be used as the default. Durability policies are created using kv_create_durability().