Module riak_control_ring

Helper utilities for dealing with the ring.

Description

Helper utilities for dealing with the ring.

Function Index

n_val/0Return the current default n_val.
ring/0Return the ring.
status/2Return list of nodes, available partition and quorum.
status/3Return list of nodes, available partition and quorum.

Function Details

n_val/0

n_val() -> number()

Return the current default n_val.

ring/0

ring() -> riak_core_ring:riak_core_ring()

Return the ring.

status/2

status(Ring::riak_core_ring:riak_core_ring(), Unavailable::[node()]) -> [{number(), number(), number()}]

Return list of nodes, available partition and quorum.

status/3

status(Ring::riak_core_ring:riak_core_ring(), NVal::number(), Unavailable::[node()]) -> [{number(), number(), number()}]

Return list of nodes, available partition and quorum.


Generated by EDoc