Copyright © 2007-2015 Zuse Institute Berlin
Version: $Id$
Behaviours: gen_component.
Authors: Thorsten Schuett (schuett@zib.de).
event() = crash | jump | leave
reason() = 'DOWN' | noconnection | term()
state() = [HBPid :: pid()]
a list of all hbs processes launched by this fd
start_gen_component/5 | |
subscribe/2 | Generates a failure detector for the calling process on the given pid. |
subscribe_refcount/2 | Generates a failure detector for the calling process on the given pid - uses reference counting to be subscribed to a pid only once. |
unsubscribe/2 | Deletes the failure detector for the given pid. |
unsubscribe_refcount/2 | Deletes the failure detector for the given pid - uses reference counting to be subscribed to a pid only once. |
update_subscriptions/3 | Unsubscribes Subscriber from the pids in OldPids but not in NewPids and subscribes to the pids in NewPids but not in OldPids (Subscribers can be pid() or an envelop as created by comm:reply_as/3). |
report/3 | Reports the calling process' group as being shut down due to a graceful leave operation. |
start_link/1 | Starts the failure detector server. |
init/1 | Initialises the module with an empty state. |
subscriptions/0 | show subscriptions. |
start_gen_component(Module :: module(), Handler :: gen_component:handler(), Args :: term(), Options :: [gen_component:option()], Self :: pid()) -> no_return() | ok
subscribe(Subscriber :: comm:erl_local_pid(), WatchedPids :: [comm:mypid()]) -> ok
Generates a failure detector for the calling process on the given pid.
subscribe_refcount(Subscriber :: comm:erl_local_pid(), WatchedPids :: [comm:mypid()]) -> ok
Generates a failure detector for the calling process on the given pid - uses reference counting to be subscribed to a pid only once. Unsubscribe with unsubscribe_refcount/3!
unsubscribe(Subscriber :: comm:erl_local_pid(), WatchedPids :: [comm:mypid()]) -> ok
Deletes the failure detector for the given pid.
unsubscribe_refcount(Subscriber :: comm:erl_local_pid(), WatchedPids :: [comm:mypid()]) -> ok
Deletes the failure detector for the given pid - uses reference counting to be subscribed to a pid only once. Subscribe with subscribe_refcount/3!
update_subscriptions(Subscriber :: comm:erl_local_pid(), OldWatchedPids :: [comm:mypid()], NewWatchedPids :: [comm:mypid()]) -> ok
Unsubscribes Subscriber from the pids in OldPids but not in NewPids and subscribes to the pids in NewPids but not in OldPids (Subscribers can be pid() or an envelop as created by comm:reply_as/3).
report(Event :: event(), LocalPids :: [pid()], Data :: term()) -> ok
Reports the calling process' group as being shut down due to a graceful leave operation.
start_link(ServiceGroup :: pid_groups:groupname()) -> {ok, pid()}
Starts the failure detector server
init(X1 :: []) -> state()
Initialises the module with an empty state.
subscriptions() -> ok
show subscriptions
Generated by EDoc, Sep 11 2020, 15:25:23.