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