API Reference OddJob v0.5.1
Modules
Job pools for Elixir OTP applications, written in Elixir.
The OddJob.Async.Proxy
links the job caller to the worker as the job is being performed.
The OddJob.Async.ProxySupervisor
is a DynamicSupervisor
that starts and stops children
OddJob.Async.Proxy
processes.
The OddJob.Job
struct holds all of the useful information about a job.
The OddJob.Pool
process
The OddJob.Pool
is the supervisor at the top of a pool supervision tree, and is
responsible for starting and supervising the OddJob.Pool.Supervisor
, OddJob.Queue
,
OddJob.Async.ProxySupervisor
, and OddJob.Scheduler.Supervisor
. When you add a
OddJob.child_spec/1
to your list of supervised children, or call OddJob.start_link/1
,
you are adding an OddJob.Pool
to your application.
The OddJob.Pool.Supervisor
supervises the pool of OddJob.Pool.Worker
s.
The OddJob.Pool.Worker
is a GenServer
that performs concurrent work as one of many
members of an OddJob.Pool
.
The OddJob.Queue
is a GenServer
that manages the assignments given to the pool workers.
The OddJob
process registry.
The OddJob.Scheduler
is responsible for execution of scheduled jobs.
The OddJob.Scheduler.Supervisor
is a DynamicSupervisor
that starts and stops children
OddJob.Scheduler
processes.
Internal utilities for working with OddJob processes.