marina_pool_server (marina v0.4.3)

View Source

Summary

Types

state/0

-type state() ::
          #state{bootstrap_ips :: list(),
                 datacenter :: undefined | binary(),
                 nodes :: [{binary(), binary()}],
                 port :: pos_integer(),
                 strategy :: random | token_aware,
                 timer_ref :: undefined | reference()}.

Functions

handle_msg(_, State)

-spec handle_msg(term(), state()) -> {ok, state()}.

init(Name, Parent, _)

-spec init(atom(), pid(), undefined) -> no_return().

start_link()

-spec start_link() -> {ok, pid()}.

terminate(Reason, State)

-spec terminate(term(), state()) -> ok.