Behaviours: gen_server.
Partition Owner.
The partition owner is agen_server
that creates and holds the
ETS table associated with the partition.
apply_ets_fun/3 | |
compute/2 | |
pid/2 | |
retrieve_tab/1 | |
start_link/4 | |
stop/1 | Equivalent to stop(Server, 5000). |
stop/2 | |
tid/2 | |
tid/3 |
apply_ets_fun(Pid::pid(), EtsFun::atom(), Args::[term()]) -> term()
compute(Key::term(), Meta::shards_meta:t()) -> non_neg_integer()
pid(Tab::shards:tab(), Partition::non_neg_integer()) -> pid()
retrieve_tab(Pid::pid()) -> atom() | ets:tid()
start_link(Tab::atom() | ets:tid(), PartitionedTablePid::pid(), PartitionIndex::non_neg_integer(), Options::[term()]) -> {ok, pid()} | ignore | {error, term()}
stop(Pid) -> any()
Equivalent to stop(Server, 5000).
stop(Pid::pid(), Timeout::timeout()) -> ok
tid(Tab::shards:tab(), Partition::non_neg_integer()) -> ets:tid()
tid(Tab::shards:tab(), Key::term(), Meta::shards_meta:t()) -> ets:tid()
Generated by EDoc