Behaviours: gen_server.
| code_change/3 | |
| do_sync_command/2 | Executes the given command synchronously, expects Redis to return "+OK\r\n", otherwise it will fail. |
| handle_call/3 | |
| handle_cast/2 | |
| handle_info/2 | |
| init/1 | |
| select_database/2 | |
| start_link/7 | |
| stop/1 | |
| terminate/2 |
code_change(OldVsn, State, Extra) -> any()
do_sync_command(Socket, Command) -> any()
Executes the given command synchronously, expects Redis to return "+OK\r\n", otherwise it will fail.
handle_call(Request, From, State) -> any()
handle_cast(Msg, State) -> any()
handle_info(Info, State) -> any()
init(X1) -> any()
select_database(Socket, Database) -> any()
start_link(Host::list(), Port::integer(), Database::integer() | undefined, Password::string(), ReconnectSleep::reconnect_sleep(), ConnectTimeout::integer() | undefined, SocketOptions::list()) -> {ok, Pid::pid()} | {error, Reason::term()}
stop(Pid) -> any()
terminate(Reason, State) -> any()
Generated by EDoc