-
Notifications
You must be signed in to change notification settings - Fork 1
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.
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.