NAME

Schedule::LongSteps::Storage - An abstract storage class for steps

prepare_due_processes

Mark the processes that are due to run as 'running' and returns an array of stored processes.

Users: Note that this is meant to be used by Schedule::LongSteps, and not intended to be called directly.

Implementors: You will have to implement this method should you wish to implement a new process storage backend.

create_process

Creates and return a new stored process.

find_process

Returns a stored process based on the given ID, or undef if no such thing exists.

Usage:

my $stored_process = $this->find_process( $pid );

update_process

Updates the given stored process (as returned by 'find_process') with the given properties.

Usage:

$this->update_process( $process , { run_at => DateTime->now(), .. } );