kv_get_num_nodes()
#include <kvstore.h>
kv_int_t
kv_get_num_nodes(const kv_stats_t *stats)
Returns the total number of nodes currently in the store, active and inactive.
Parameters
-
stats
The stats parameter is the structure containing the statistical information that you want to examine. This structure is allocated using kv_get_stats(), and is released using kv_release_stats().
See Also