Rivet.Ident.Example.Mailer.Configurator (rivet_ident v3.5.0)
View SourceSummary
Functions
Returns a specification to start this module under a supervisor.
Delete everything in the cache.
Delete anything by its key.
Store anything for a certain amount of time or forever if no keep alive time specified
Retrieve anything by its key.
Obtain the number of elements stored in the cache.
Start scheduling the works for clearing the cache. This method should be called before performing any operation.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Delete everything in the cache.
Returns a boolean indicating if cache has been correctly cleared.
Delete anything by its key.
Returns a boolean indicating if element has been correctly deleted.
Store anything for a certain amount of time or forever if no keep alive time specified
Returns a boolean indicating if element has been correctly inserted.
Retrieve anything by its key.
Returns [{your_stored_tuple}]
.
Obtain the number of elements stored in the cache.
Returns an integer equals or bigger than zero.
Start scheduling the works for clearing the cache. This method should be called before performing any operation.
Returns {:ok, PID}
.