Quantum v2.3.4 Quantum.Storage.Noop View Source

Empty implementation of a Quantum.Storage.Adapter.

Link to this section Summary

Functions

Save new job in storage

Delete new job in storage

Load saved jobs from storage

Load last execution time from storage

Purge all date from storage and go back to initial state

Change Job State from given job

Link to this section Functions

Link to this function add_job(scheduler_module, job) View Source

Save new job in storage.

Callback implementation for Quantum.Storage.Adapter.add_job/2.

Link to this function delete_job(scheduler_module, job_name) View Source

Delete new job in storage.

Callback implementation for Quantum.Storage.Adapter.delete_job/2.

Load saved jobs from storage

Returns :not_applicable if the storage has never received an add_job call or after it has been purged. In this case the jobs from the configuration weill be loaded.

Callback implementation for Quantum.Storage.Adapter.jobs/1.

Link to this function last_execution_date(scheduler_module) View Source

Load last execution time from storage

Returns :unknown if the storage does not know the last execution time. In this case all jobs will be run at the next applicable date.

Callback implementation for Quantum.Storage.Adapter.last_execution_date/1.

Purge all date from storage and go back to initial state.

Callback implementation for Quantum.Storage.Adapter.purge/1.

Link to this function update_job_state(scheduler_module, job_name, state) View Source

Change Job State from given job.

Callback implementation for Quantum.Storage.Adapter.update_job_state/3.

Link to this function update_last_execution_date(scheduler_module, last_execution_date) View Source

Update last execution time to given date.

Callback implementation for Quantum.Storage.Adapter.update_last_execution_date/2.