Hi Scott, Thank you for the swift response. I suppose there is no PBC or HTTP API for this yet? I will read through this function and see on how I can use it.
Cheers, Joshua. On Thu, Mar 3, 2011 at 4:40 AM, Scott Lystig Fritchie <[email protected]> wrote: > Joshua Partogi <[email protected]> wrote: > > jp> I tried to look for Riak API for getting clusters information on the > jp> wiki with no luck. Is there any API in Riak for getting the number > jp> of node involved and alive/dead in the cluster? > > Joshua, the exported functions in riak_core_ring.erl are probably what > you're looking for: > > -export([fresh/0,fresh/1,fresh/2,preflist/2, > owner_node/1,all_members/1,num_partitions/1,all_owners/1, > transfer_node/3, rename_node/3, reconcile/2, my_indices/1, > index_owner/2,diff_nodes/2,random_node/1, random_other_node/1, > random_other_index/1, > random_other_index/2, > all_preflists/2, > get_meta/2, update_meta/3, equal_rings/2]). > > -Scott > -- http://twitter.com/jpartogi _______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
