Module lhttpc_lb

Behaviours: gen_server.

Data Types

connection_timeout()

connection_timeout() = timeout()

host()

host() = inet:ip_address() | string()

max_connections()

max_connections() = pos_integer()

port_number()

port_number() = 1..65535

tagged_tuples()

tagged_tuples() = [{atom(), any()}]

Function Index

checkin/4
checkout/5
code_change/3
handle_call/3
handle_cast/2
handle_info/2
init/1
start_link/5
status/0
terminate/2

Function Details

checkin/4

checkin(Host::host(), Port::port_number(), SSL::boolean(), Socket::port()) -> ok

checkout/5

checkout(Host::host(), Port::port_number(), SSL::boolean(), MaxConn::max_connections(), ConnTimeout::connection_timeout()) -> {ok, port()} | retry_later | no_socket

code_change/3

code_change(OldVsn, State, Extra) -> any()

handle_call/3

handle_call(Msg, From, S) -> any()

handle_cast/2

handle_cast(Msg, S) -> any()

handle_info/2

handle_info(Info, S) -> any()

init/1

init(X1) -> any()

start_link/5

start_link(Host::host(), Port::port_number(), SSL::boolean(), MaxConn::max_connections(), ConnTimeout::connection_timeout()) -> {ok, pid()}

status/0

status() -> tagged_tuples()

terminate/2

terminate(Reason, State) -> any()


Generated by EDoc