Quantum Storage Mnesia v1.0.0 QuantumStorageMnesia View Source

Mnesia based implementation of a Quantum.Storage.

Link to this section Summary

Functions

Save new job in storage.

Storage child spec.

Delete a 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 name.

Update last execution time to given date.

Link to this section Functions

Link to this function

add_job(storage_pid, job)

View Source

Save new job in storage.

Storage child spec.

Link to this function

delete_job(storage_pid, job_name)

View Source

Delete a job in storage.

Load saved jobs from storage.

Link to this function

last_execution_date(storage_pid)

View Source

Load last execution time from storage.

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

Link to this function

update_job_state(storage_pid, job_name, state)

View Source

Change Job State from given job name.

Link to this function

update_last_execution_date(storage_pid, last_execution_date)

View Source

Update last execution time to given date.