View Source ecrn_reg (erlcron v1.2.1)
Link to this section Summary
Functions
Cancel all jobs assigned to the given key
Get a pid by reference key.
Get all the values.
Get all registered Pids.
Get all registered job references.
Get job refs associated with the pid
Register an arbitrary value with the system, under a set of keys
stop this server
Remove the value registered under a que or set of keys
Link to this section Functions
-spec cancel(term()) -> boolean().
-spec get(erlcron:job_ref()) -> pid() | undefined.
-spec get_all() -> [{term(), term()}].
-spec get_all_pids() -> [pid()].
-spec get_all_refs() -> [erlcron:job_ref()].
-spec get_refs(pid()) -> [erlcron:job_ref()].
-spec register(erlcron:job_ref(), term()) -> boolean().
-spec start_link() -> {ok, Pid :: pid()} | ignore | {error, Error :: term()}.
-spec stop() -> ok.
-spec unregister(erlcron:job_ref()) -> ok.