Module riak_core_metadata_exchange_fsm

Behaviours: gen_fsm.

Function Index

code_change/4
exchange/2
exchange/3
handle_event/3
handle_info/3
handle_sync_event/4
init/1
prepare/2
prepare/3
start/2Start an exchange of Cluster Metadata hashtrees between this node and Peer.
terminate/3
update/2
update/3

Function Details

code_change/4

code_change(OldVsn, StateName, State, Extra) -> any()

exchange/2

exchange(X1, State) -> any()

exchange/3

exchange(Event, From, State) -> any()

handle_event/3

handle_event(Event, StateName, State) -> any()

handle_info/3

handle_info(Info, StateName, State) -> any()

handle_sync_event/4

handle_sync_event(Event, From, StateName, State) -> any()

init/1

init(X1) -> any()

prepare/2

prepare(X1, State) -> any()

prepare/3

prepare(Event, From, State) -> any()

start/2

start(Peer::node(), Timeout::pos_integer()) -> {ok, pid()} | ignore | {error, term()}

Start an exchange of Cluster Metadata hashtrees between this node and Peer. Timeout is the number of milliseconds the process will wait to aqcuire the remote lock or to upate both trees.

terminate/3

terminate(Reason, StateName, State) -> any()

update/2

update(X1, State) -> any()

update/3

update(Event, From, State) -> any()


Generated by EDoc