= lcb_get_num_nodes(3couchbase) :doctype: manpage Trond Norbye NAME ---- lcb_get_num_nodes - Get the number of nodes currently in the cluster SYNOPSIS -------- cc [ flag ... ] file... -lcouchbase [ library ... ] #include lcb_int32_t lcb_get_num_nodes(lcb_t instance); DESCRIPTION ----------- lcb_get_num_nodes() returns the number of nodes currently in the cluster. EXAMPLES -------- #include ... lcb_t instance; ... fprintf(stdout, "The bucket is using %d nodes\n", lcb_get_num_nodes(instance)); ... ATTRIBUTES ---------- See lcb_attributes(5) for descriptions of the following attributes: [options="header"] |======================================= | ATTRIBUTE TYPE | ATTRIBUTE VALUE | Interface Stability | Committed | MT-Level | MT-Safe |======================================= COPYRIGHT --------- Copyright 2010-2013 Couchbase, Inc. SEE ALSO -------- Learn more at . libcouchbase(3lib), lcb_create(3couchbase), lcb_attributes(5)