Skip to content

Core Layer

to11mtm edited this page Nov 24, 2018 · 1 revision

The core concept of OddJob revolves around providing two Pieces of functionality, and contracts for additional functionality:

  • Creating a job.

  • Executing a job.

  • Contracts for How a job is structured (Retry Options, Queue names, etc.)

Every other layer (Serialization, Storage, Execution Engine) depends on one or both of these components.

Creating a Job:

While in many implementations this will be abstracted away, a job may be created via the JobCreator.Create<T>(Expression<Action<T>> jobExpr) method. This is a static, thread safe method that will return an in-process-safe definition of a job.

Clone this wiki locally