Create and store a new job. If enqueueImmediately is true, the job will be in
the Status#QUEUED stat
Gets the current running job
Gets a receipt by its ID, or null if not found
Count the number of jobs that match the specified parameters.
Finds all host registrations, including offline hosts and those in maintenance
Returns the maximum load that can be handled by a given node. Note that this
load is *not* 1-to-1 eq
Gets the load value for the current host (ie, the host this service registry
Finds the service registrations for this kind of job, ordered by load (lightest
Return a facility to record job incidents.
Sets the current running job
Update the job in the database
Count the number of jobs in this Status on this host