Module pgo_pool

Data Types

conn()

conn() = #conn{owner = pid(), socket = gen_tcp:socket(), pool = atom(), queue = boolean(), trace = boolean(), decode_opts = []}

ref()

ref() = {Pool::pid(), Ref::reference(), TimerRef::reference() | undefined, Holder::ets:tid()}

Function Index

checkin/3
checkout/2
disconnect/4
format_error/1
handle_call/3
handle_info/2
init/1
start_link/2
stop/4
update/4

Function Details

checkin/3

checkin(X1, Conn, X3) -> any()

checkout/2

checkout(Pool::atom(), Opts::list()) -> {ok, ref(), conn()} | {error, any()}

disconnect/4

disconnect(X1, Err, Conn, X4) -> any()

format_error/1

format_error(X1) -> any()

handle_call/3

handle_call(X1, From, D) -> any()

handle_info/2

handle_info(Checkout, Busy) -> any()

init/1

init(X1) -> any()

start_link/2

start_link(Pool, PoolConfig) -> any()

stop/4

stop(X1, Err, Conn, X4) -> any()

update/4

update(Pool, Ref, Mod, State) -> any()


Generated by EDoc