Skip to content

Latest commit

 

History

History
95 lines (53 loc) · 2.33 KB

couchbeam_uuids.md

File metadata and controls

95 lines (53 loc) · 2.33 KB

Module couchbeam_uuids

Behaviours: gen_server.

Function Index

code_change/3
get_uuids/2Get a list of uuids from the server.
handle_call/3
handle_cast/2
handle_info/2
random/0return a random uuid.
start_link/0Starts the couchbeam process linked to the calling process.
terminate/2
utc_random/0return a random uuid based on time.

Function Details

code_change/3

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

get_uuids/2


get_uuids(Server::server(), Count::integer()) -> lists()

Get a list of uuids from the server

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()

random/0


random() -> binary()

return a random uuid

start_link/0


start_link() -> {ok, pid()}

Starts the couchbeam process linked to the calling process. Usually invoked by the supervisor couchbeam_sup

terminate/2

terminate(Reason, State) -> any()

utc_random/0


utc_random() -> binary()

return a random uuid based on time