Key-value Store¶
-
template<class ...
attr_val_type
>
kvs_attrcreate_kvs_attr
(attr_val_type&&... avs)
-
shared_ptr_class<kvs>
create_main_kvs
(const kvs_attr &attr = default_kvs_attr) Creates a main key-value store. Its address should be distributed using out of band communication mechanism and be used to create key-value stores on other processes.
- Return
kvs object
- Parameters
attr
: optional kvs attributes
-
shared_ptr_class<kvs>
create_kvs
(const kvs::address_type &addr, const kvs_attr &attr = default_kvs_attr) Creates a new key-value store from main kvs address.
- Return
kvs object
- Parameters
addr
: address of main kvsattr
: optional kvs attributes