Module yz_solrq_drain_mgr

Behaviours: gen_server.

Data Types

drain_param()

drain_param() = {exchange_fsm_pid, pid()} | {yz_index_hashtree_update_params, {tree(), p(), short_preflist()}} | {drain_partition, n()}

drain_params()

drain_params() = [drain_param()]

n()

n() = pos_integer()

p()

p() = non_neg_integer()

short_preflist()

short_preflist() = {p(), n()}

tree()

tree() = pid()

Function Index

cancel/2
code_change/3
drain/0Drain all queues to Solr.
drain/1Drain all queues to Solr.
handle_call/3
handle_cast/2
handle_info/2
init/1
start_link/0
terminate/2

Function Details

cancel/2

cancel(Reference, Pid) -> any()

code_change/3

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

drain/0

drain() -> ok | {error, Reason::term()}

Drain all queues to Solr

drain/1

drain(Params::drain_params()) -> ok | {error, Reason::term()}

Drain all queues to Solr

handle_call/3

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

handle_cast/2

handle_cast(X1, State) -> any()

handle_info/2

handle_info(X1, State) -> any()

init/1

init(X1) -> any()

start_link/0

start_link() -> {ok, Pid::pid()} | ignore | {error, Reason::term()}

terminate/2

terminate(Reason, State) -> any()


Generated by EDoc