Module riak_core

Function Index

add_guarded_event_handler/3
add_guarded_event_handler/4Add a "guarded" event handler to a gen_event instance.
bucket_fixups/0
bucket_validators/0
delete_guarded_event_handler/3Delete a guarded event handler from a gen_event instance.
down/1
health_check/1
join/1Join the ring found on the specified remote node.
join/4
leave/0
register/1Register a riak_core application.
register/2Register a named riak_core application.
remove/1
remove_from_cluster/1Cause all partitions owned by ExitingNode to be taken over by other nodes.
staged_join/1Join the remote cluster without automatically claiming ring ownership.
stat_mods/0
stop/0Stop the riak application and the calling process.
stop/1
vnode_modules/0
wait_for_application/1
wait_for_service/1

Function Details

add_guarded_event_handler/3

add_guarded_event_handler(HandlerMod, Handler, Args) -> AddResult

add_guarded_event_handler/4

add_guarded_event_handler(HandlerMod, Handler, Args, ExitFun) -> AddResult

Add a "guarded" event handler to a gen_event instance. A guarded handler is implemented as a supervised gen_server (riak_core_eventhandler_guard) that adds a supervised handler in its init() callback and exits when the handler crashes so it can be restarted by the supervisor.

bucket_fixups/0

bucket_fixups() -> any()

bucket_validators/0

bucket_validators() -> any()

delete_guarded_event_handler/3

delete_guarded_event_handler(HandlerMod, Handler, Args) -> Result

Delete a guarded event handler from a gen_event instance.

Args is an arbitrary term which is passed as one of the arguments to Module:terminate/2.

The return value is the return value of Module:terminate/2. If the specified event handler is not installed, the function returns {error,module_not_found}. If the callback function fails with Reason, the function returns {'EXIT',Reason}.

down/1

down(Node) -> any()

health_check/1

health_check(App) -> any()

join/1

join(Node) -> any()

Join the ring found on the specified remote node

join/4

join(X1, Node, Rejoin, Auto) -> any()

leave/0

leave() -> any()

register/1

register(Props) -> any()

Register a riak_core application.

register/2

register(App, T) -> any()

Register a named riak_core application.

remove/1

remove(Node) -> any()

remove_from_cluster/1

remove_from_cluster(ExitingNode::atom()) -> term()

Cause all partitions owned by ExitingNode to be taken over by other nodes.

staged_join/1

staged_join(Node) -> any()

Join the remote cluster without automatically claiming ring ownership. Used to stage a join in the newer plan/commit approach to cluster administration. See riak_core_claimant

stat_mods/0

stat_mods() -> any()

stop/0

stop() -> ok

Stop the riak application and the calling process.

stop/1

stop(Reason) -> any()

vnode_modules/0

vnode_modules() -> any()

wait_for_application/1

wait_for_application(App) -> any()

wait_for_service/1

wait_for_service(Service) -> any()


Generated by EDoc