Module erlpool

Data Types

pool_option()

pool_option() = {start_mfa, {module(), atom(), [term()]}} | {size, non_neg_integer()} | {supervisor_period, non_neg_integer()} | {supervisor_intensity, non_neg_integer()} | {supervisor_restart, supervisor:restart()}

Function Index

map/2
pid/1
pool_size/1
restart_group/1
restart_pool/1
start/0
start/1
start_pool/2
stop/0
stop_group/1
stop_pool/1

Function Details

map/2

map(PoolName::atom(), Fun::function()) -> [term()] | {error, any()}

pid/1

pid(PoolName::atom()) -> pid() | {error, any()}

pool_size/1

pool_size(PoolName::atom()) -> non_neg_integer() | {error, any()}

restart_group/1

restart_group(GroupName::term()) -> ok | {error, any()}

restart_pool/1

restart_pool(PoolName::atom()) -> boolean() | {error, any()}

start/0

start() -> ok | {error, any()}

start/1

start(Type::permanent | transient | temporary) -> ok | {error, any()}

start_pool/2

start_pool(PoolName::atom(), PoolArgs::[pool_option()]) -> ok | {error, any()}

stop/0

stop() -> ok

stop_group/1

stop_group(GroupName::term()) -> ok | {error, any()}

stop_pool/1

stop_pool(PoolName::atom()) -> ok | {error, any()}


Generated by EDoc