Module gproc_dist =================

Module gproc_dist

* [Description](#description) * [Function Index](#index) * [Function Details](#functions) Extended process registry. __Behaviours:__ [`gen_leader`](/Users/uwiger/ETC/git/gproc/deps/gen_leader/doc/gen_leader.md). __Authors:__ Ulf Wiger ([`ulf.wiger@erlang-solutions.com`](mailto:ulf.wiger@erlang-solutions.com)).

Description

This module implements an extended process registry For a detailed description, see gproc/doc/erlang07-wiger.pdf.

Function Index

code_change/4
elected/2
elected/3
from_leader/3
give_away/2
handle_DOWN/3
handle_call/4
handle_cast/3
handle_info/2
handle_leader_call/4
handle_leader_cast/3
init/1
leader_call/1
leader_cast/1
mreg/2
reg/1
reg/2 Class = n - unique name | p - non-unique property | c - counter | a - aggregated counter Scope = l | g (global or local).
set_value/2
start_link/0
start_link/1
surrendered/3
terminate/2
unreg/1
update_counter/2

Function Details

code_change/4

`code_change(FromVsn, S, Extra, E) -> any()`

elected/2

`elected(S, E) -> any()`

elected/3

`elected(S, E, Node) -> any()`

from_leader/3

`from_leader(Ops, S, E) -> any()`

give_away/2

`give_away(Key, To) -> any()`

handle_DOWN/3

`handle_DOWN(Node, S, E) -> any()`

handle_call/4

`handle_call(X1, X2, S, X4) -> any()`

handle_cast/3

`handle_cast(Msg, S, X3) -> any()`

handle_info/2

`handle_info(X1, S) -> any()`

handle_leader_call/4

`handle_leader_call(X1, From, S, E) -> any()`

handle_leader_cast/3

`handle_leader_cast(X1, S, E) -> any()`

init/1

`init(Opts) -> any()`

leader_call/1

`leader_call(Req) -> any()`

leader_cast/1

`leader_cast(Msg) -> any()`

mreg/2

`mreg(T, KVL) -> any()`

reg/1

`reg(Key) -> any()`

reg/2

`reg(Key, Value) -> any()` Class = n - unique name | p - non-unique property | c - counter | a - aggregated counter Scope = l | g (global or local)

set_value/2

`set_value(Key, Value) -> any()`

start_link/0

`start_link() -> any()`

start_link/1

`start_link(Nodes) -> any()`

surrendered/3

`surrendered(S, X2, E) -> any()`

terminate/2

`terminate(Reason, S) -> any()`

unreg/1

`unreg(Key) -> any()`

update_counter/2

`update_counter(Key, Incr) -> any()`