mcc v1.1.1 Mcc
Documentation for Mcc.
Link to this section Summary
Functions
check ont node if in one cluster
Check one node if running
Make one node join into the cluster
Make one node leave from the cluster
Remove one node from the cluster
Link to this section Functions
Link to this function
all_nodes()
Link to this function
check_cache_before(operate_mod, operate_func, operate_args, cache_opts)
Link to this function
is_clustered?(node_name)
check ont node if in one cluster.
Link to this function
is_running?(node_name)
Check one node if running.
Link to this function
join(node_name)
Make one node join into the cluster.
Link to this function
leave()
leave()
leave() ::
:ok
| {:error, :node_not_in_cluster}
| {:error, {:failed_to_leave, node()}}
| {:error, :node_not_in_cluster}
leave() :: :ok | {:error, :node_not_in_cluster} | {:error, {:failed_to_leave, node()}} | {:error, :node_not_in_cluster}
Make one node leave from the cluster.
Link to this function
not_running_nodes()
Link to this function
register_guard()
Link to this function
remove(node_name)
Remove one node from the cluster.
Link to this function
running_nodes()
Link to this function
start()
Link to this function