Module gen_server2

This module defines the gen_server2 behaviour.
Required callback functions: init/1, handle_call/3, handle_cast/2, handle_info/2, terminate/2, code_change/3.

Data Types

gs2_state()

gs2_state() = #gs2_state{}

Function Index

abcast/2
abcast/3
call/2
call/3
cast/2
enter_loop/3
enter_loop/4
enter_loop/5
enter_loop/6
format_status/2
init_it/6
mcall/1
multi_call/2
multi_call/3
multi_call/4
reply/2
start/3
start/4
start_link/3
start_link/4
stop/1
stop/3
system_code_change/4
system_continue/3
system_terminate/4
wake_hib/1
with_state/2

Function Details

abcast/2

abcast(Name, Request) -> any()

abcast/3

abcast(Nodes, Name, Request) -> any()

call/2

call(Name, Request) -> any()

call/3

call(Name, Request, Timeout) -> any()

cast/2

cast(Dest, Request) -> any()

enter_loop/3

enter_loop(Mod, Options, State) -> any()

enter_loop/4

enter_loop(Mod, Options, State, Backoff) -> any()

enter_loop/5

enter_loop(Mod, Options, State, ServerName, Backoff) -> any()

enter_loop/6

enter_loop(Mod, Options, State, ServerName, Timeout, Backoff) -> any()

format_status/2

format_status(Opt, StatusData) -> any()

init_it/6

init_it(Starter, Parent, Name, Mod, Args, Options) -> any()

mcall/1

mcall(CallSpecs) -> any()

multi_call/2

multi_call(Name, Req) -> any()

multi_call/3

multi_call(Nodes, Name, Req) -> any()

multi_call/4

multi_call(Nodes, Name, Req, Timeout) -> any()

reply/2

reply(X1, Reply) -> any()

start/3

start(Mod, Args, Options) -> any()

start/4

start(Name, Mod, Args, Options) -> any()

start_link/3

start_link(Mod, Args, Options) -> any()

start_link/4

start_link(Name, Mod, Args, Options) -> any()

stop/1

stop(Name) -> any()

stop/3

stop(Name, Reason, Timeout) -> any()

system_code_change/4

system_code_change(GS2State, Module, OldVsn, Extra) -> any()

system_continue/3

system_continue(Parent, Debug, GS2State) -> any()

system_terminate/4

system_terminate(Reason::term(), Parent::term(), Debug::term(), GS2State::gs2_state()) -> no_return()

wake_hib/1

wake_hib(GS2State) -> any()

with_state/2

with_state(Name, Fun) -> any()


Generated by EDoc