Behaviours: gen_server.
| code_change/3 | |
| handle_call/3 | |
| handle_cast/2 | |
| handle_info/2 | |
| init/1 | |
| pool_info/1 | |
| pool_info/2 | |
| start_link/1 | |
| terminate/2 | |
| worker_init/2 | |
| worker_lockin/1 | |
| worker_lockout/1 | |
| worker_ready/2 | |
| worker_start/2 |
code_change(OldVsn, State, Extra) -> {ok, State} | {error, Reason}
OldVsn = term() | {down, term()}State = term()Extra = term()Reason = term()
handle_call(Request, From, State) -> {reply, Reply, State} | {reply, Reply, State, Timeout} | {noreply, State} | {noreply, State, Timeout} | {stop, Reason, Reply, State}
Request = term()From = {pid(), term()}State = term()Reply = term()Timeout = timeout()Reason = normal | shutdown
handle_cast(Request, State) -> {noreply, State} | {noreply, State, Timeout} | {stop, Reason, State}
Request = term()State = term()Timeout = timeout()Reason = normal | shutdown
handle_info(Request, State) -> {noreply, State} | {noreply, State, Timeout} | {stop, Reason, State}
Request = term()State = term()Timeout = timeout()Reason = normal | shutdown
init(Opts) -> {ok, State} | {ok, State, Timeout} | ignore | {stop, Reason}
Opts = list()State = term()Timeout = timeout()Reason = term()
pool_info(PoolId) -> [{Item, non_neg_integer()}]
PoolId = atom()Item = init | ready | busy
pool_info(PoolId, Item) -> non_neg_integer()
PoolId = atom()Item = init | ready | busy
start_link(PoolId) -> {ok, Pid}
PoolId = atom()Pid = pid()
terminate(Reason, State) -> ok
Reason = term()State = term()
worker_init(PoolId, WorkerId) -> ok
PoolId = atom()WorkerId = term()
worker_lockin(PoolId) -> ok
PoolId = atom()
worker_lockout(PoolId) -> {ok, Pid} | {error, Reason}
PoolId = atom()Pid = pid()Reason = term()
worker_ready(PoolId, WorkerId) -> ok
PoolId = atom()WorkerId = term()
worker_start(PoolId, WorkerId) -> {ok, pid()} | {ok, pid(), Extra} | {error, Reason} | term()
PoolId = atom()WorkerId = term()Extra = term()Reason = term()
Generated by EDoc