ask
and ask_r
values for load balanacing
processes with sbetter
.
Behaviours: gen_server.
ask
and ask_r
values for load balanacing
processes with sbetter
.
register/3 | Register the local process Pid with the server and sets the ask and
ask_r values (such as sojourn times) as integer values AskValue and
AskRValue . |
unregister/1 | Unregister the process Pid with the server. |
update/3 | Update the ask and ask_r with values (such as sojourn times) as
integer values AskValue and AskRValue for Pid . |
register(Pid, AskValue, AskRValue) -> Result
Register the local process Pid
with the server and sets the ask
and
ask_r
values (such as sojourn times) as integer values AskValue
and
AskRValue
.
true
if the process is successfully registered, or false
if
already registered.
unregister(Pid) -> true
Unregister the process Pid
with the server.
Pid
.
update(Pid, AskValue, AskRValue) -> Result
Update the ask
and ask_r
with values (such as sojourn times) as
integer values AskValue
and AskRValue
for Pid
.
true
if the values were updated, or false
if Pid
is not
registered with the server.
Generated by EDoc, Sep 29 2016, 17:17:28.