Module ecpool_sup

Behaviours: supervisor.

Function Index

get_pool/1Get a pool.
init/1
pools/0Get All Pools supervisored by the ecpool_sup.
start_link/0Start supervisor.
start_pool/3Start a pool.
stop_pool/1Stop a pool.

Function Details

get_pool/1

get_pool(Pool::atom()) -> undefined | pid()

Get a pool.

init/1

init(X1) -> any()

pools/0

pools() -> [{atom(), pid()}]

Get All Pools supervisored by the ecpool_sup.

start_link/0

start_link() -> {ok, pid()} | {error, term()}

Start supervisor.

start_pool/3

start_pool(Pool::atom(), Mod::atom(), Opts::[tuple()]) -> {ok, pid()} | {error, term()}

Start a pool.

stop_pool/1

stop_pool(Pool::atom()) -> ok | {error, term()}

Stop a pool.


Generated by EDoc