Module: Cyclid::API::Plugins::Notifier
- Defined in:
- app/cyclid/plugins/dispatcher.rb,
app/cyclid/plugins/dispatcher/local.rb
Overview
A Runner may be running locally (within the API application context) or remotely. A job runner needs to send updates about the job status but obviously, a remote runner can’t just update the JobRecord directly: they may put a message on a queue, which a job at the API application would consume and update the JobRecord.
A Notifier provides an abstract method to update the JobRecord status and can also proxy LogBuffer writes.