peluquero v0.99.21 Peluquero.Peinados View Source
The supervisor process for the Peluquero.Redis
instances.
Link to this section Summary
Functions
Returns true if Peinados has at least one child
Checks whether the child exists
Returns a specification to start this module under a supervisor
Retrieves the list of peinados available
Deletes the value by key from the redis, specified by name
Retrieves the value by key from the redis, specified by name
Callback invoked to start the supervisor and during hot code upgrades
Sets a new value for the key in the redis, specified by name
Link to this section Functions
active?() View Source
Returns true if Peinados has at least one child.
child?(name) View Source
Checks whether the child exists
child_spec(init_arg) View Source
Returns a specification to start this module under a supervisor.
See Supervisor
.
children(format \\ :full) View Source
Retrieves the list of peinados available
del(name \\ nil, key) View Source
Deletes the value by key from the redis, specified by name
get(name \\ nil, key) View Source
Retrieves the value by key from the redis, specified by name
init(peinados) View Source
Callback invoked to start the supervisor and during hot code upgrades.
Developers typically invoke Supervisor.init/2
at the end of their
init callback to return the proper supervision flags.
Callback implementation for Supervisor.init/1
.
set(name \\ nil, key, value) View Source
Sets a new value for the key in the redis, specified by name