# Module emysql_conn_mgr

- Function Index
- Function Details

Behaviours: `gen_server`.

## Function Index

add_connections/2 |
add_pool/1 |
code_change/3 |
find_pool/2 |
give_manager_control/1 |
handle_call/3 |
handle_cast/2 |
handle_info/2 |
has_pool/1 |
init/1 |
lock_connection/1 |
pass_connection/1 |
pools/0 |
remove_connections/2 |
remove_pool/1 |
replace_connection_as_available/2 |
replace_connection_as_locked/2 |
start_link/0 |
terminate/2 |
wait_for_connection/1 |
wait_for_connection/2 |

## Function Details

### add_connections/2

`add_connections(PoolId, Conns) -> any()`

### add_pool/1

`add_pool(Pool) -> any()`

### code_change/3

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

### find_pool/2

`find_pool(PoolId, Pools) -> any()`

### give_manager_control/1

`give_manager_control(Socket) -> any()`

### handle_call/3

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

### handle_cast/2

`handle_cast(Msg, State) -> any()`

### handle_info/2

`handle_info(Info, State) -> any()`

### has_pool/1

`has_pool(Pool) -> any()`

### init/1

`init(X1) -> any()`

### lock_connection/1

`lock_connection(PoolId) -> any()`

### pass_connection/1

`pass_connection(Connection) -> any()`

### pools/0

`pools() -> any()`

### remove_connections/2

`remove_connections(PoolId, Num) -> any()`

### remove_pool/1

`remove_pool(PoolId) -> any()`

### replace_connection_as_available/2

`replace_connection_as_available(OldConn, NewConn) -> any()`

### replace_connection_as_locked/2

`replace_connection_as_locked(OldConn, NewConn) -> any()`

### start_link/0

`start_link() -> any()`

### terminate/2

`terminate(Reason, State) -> any()`

### wait_for_connection/1

`wait_for_connection(PoolId) -> any()`

### wait_for_connection/2

`wait_for_connection(PoolId, Timeout) -> any()`

Generated by EDoc, Feb 27 2014, 12:21:24.