Module mc_server

mongoc internal module for handling server's connection pool and monitoring.

Copyright © (C) 2015, Alexander Hudich

Behaviours: gen_server.

Authors: Alexander Hudich (alttagil@gmail.com).

Description

mongoc internal module for handling server's connection pool and monitoring

Function Index

start/4
init/1
terminate/2
code_change/3
get_pool/1
get_pool/2
update_ismaster/2
update_unknown/1
handle_call/3
handle_cast/2
handle_info/2

Function Details

start/4

start(Topology, HostPort, Topts, Wopts) -> any()

init/1

init(X1) -> any()

terminate/2

terminate(Reason, State) -> any()

code_change/3

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

get_pool/1

get_pool(Pid) -> any()

get_pool/2

get_pool(Pid::pid(), Timeout::integer() | infinity) -> pid()

update_ismaster/2

update_ismaster(Pid, X2) -> any()

update_unknown/1

update_unknown(Pid) -> any()

handle_call/3

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

handle_cast/2

handle_cast(Request, State) -> any()

handle_info/2

handle_info(Info, State) -> any()


Generated by EDoc