All Classes and Interfaces

Class
Description
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
A filter that is triggered each time that the state of a Job has changed (except when the Job is deleted via the Dashboard).
 
 
Provides static methods for creating fire-and-forget, delayed and recurring jobs as well as to delete existing background jobs.
 
 
Provides static methods for creating fire-and-forget, delayed and recurring jobs as well as to delete existing background jobs.
 
 
This class allows to configure the BackgroundJobServer
 
 
 
 
 
 
 
 
 
 
 
Enum representing the different types of background job server threads.
 
 
 
 
 
 
 
 
 
 
 
Documents why a class, field or method is visible
Signifies that a public API (public class, method or field) is subject to incompatible changes, or even removal, in a future release.
 
Utility class that contains many static methods for byte handling.
 
 
Utility class for everything related to Carbon-Aware Scheduling.
 
 
Internal class for JobRunr to access all CarbonAwareJobProcessingConfiguration details
Represents a period of time in which a job may be scheduled to minimize carbon emissions.
 
 
 
 
 
 
 
 
 
 
 
 
 
Class to be only used on startup to load all resources (SQL migrations and noSQL migrations) from the classpath.
 
 
 
Class responsible for resolving ConcurrentJobModificationExceptions.
 
 
 
 
 
 
 
 
 
 
Schedule class represents a parsed crontab expression.
 
 
 
 
 
 
 
 
 
 
Default implementation of ConcurrentJobModificationPolicy.
Default implementation of ConcurrentJobModificationResolver.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Serializer for Duration type.
 
A filter that is triggered each time that the state of a Job is changed (except when the Job is deleted via the Dashboard).
 
 
 
 
 
 
 
 
A Runnable that can throw checked Exceptions.
A Supplier that can throw checked Exceptions.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
This is a functional interface which represents a lambda that will be parsed by JobRunr.
This is a functional interface which allows you to schedule jobs based on a Stream and a lambda that will be parsed by JobRunr.
 
 
 
 
 
 
 
 
Allows to add a specific name to a job that will be used in the dashboard as well as extra jobFilters that will be used for the job.
Defines the job with its JobDetails, History and Job Metadata.
 
 
 
This class is used to build a Job using a job lambda or a JobRequest.
 
 
A filter that is triggered each time that a Job is about to be created (before it is saved to the StorageProvider) has been created (after it has been saved in the StorageProvider Please note: Any JobFilter should process really fast.
The JobContext class gives access to the Job id, the Job name, the state, ...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
A JobFilter allows to extend JobRunr functionality.
 
 
 
Class which represents the Id of the job.
 
This is a functional interface which represents a lambda that will be parsed by JobRunr.
This is a functional interface which allows you to schedule jobs based on a Stream and a lambda that will be parsed by JobRunr.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Classes implementing this interface can be used to enqueue a JobRunr Job and will be used as the argument for the actual JobRequestHandler.
Classes implementing this interface will handle the actual JobRequest.
Provides methods for creating fire-and-forget, delayed and recurring jobs as well as to delete existing background jobs.
This class provides the entry point for the JobRunr configuration.
 
The main class to configure JobRunr
 
 
Provides a dashboard which gives insights in your jobs and servers.
This class allows to configure the JobRunrDashboard
 
 
 
 
 
 
A wrapper around a Micrometer MeterRegistry that allows to integrate Micrometer with JobRunr.
 
 
 
 
Provides methods for creating fire-and-forget, delayed and recurring jobs as well as to delete existing background jobs.
A filter that is triggered each time that: a Job starts processing a Job has been processed a Job succeeds a Job fails a Job fails after all retries are exhausted
 
 
 
 
 
 
 
 
Class which takes JobStats and extends them with estimations on how long the work will take based on previous JobStats.
 
 
 
 
 
The JobSteward manages everything related to local jobs (e.g.
 
 
 
 
A JobZooKeeper manages 1 or more JobZooKeeper Tasks like ProcessScheduledJobsTask and DeleteSucceededJobsTask.
 
 
JsonMapper that will transform Jobs (and their JobParameters) to Json and back for both storage in the database and for use in the dashboard.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Annotation that must be used if a method is locking a job.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Allows to recurrently schedule a method from a bean defined in an IoC framework (e.g.
 
 
 
This class is used to build a RecurringJob using a job lambda or a JobRequest.
 
 
 
 
 
 
 
 
 
A JobFilter of type ElectStateFilter that will retry the job if it fails for up to 10 times with an exponential back-off policy.
 
 
 
 
Disclaimer: taken from here https://stackoverflow.com/a/40133286/285091 with some modifications
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
An exception that is thrown if a certain step inside a Job fails
 
The StorageProvider allows to store, retrieve and delete background jobs.
 
Marker interface for listeners to JobStorage changes
 
 
 
 
Deprecated.
Is not used anymore in StorageProviders and will be removed
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
A new implementation of ConcurrentJobModificationResolver that will always use the latest version of the job found in the database (SQL or NoSQL).
A new policy of ConcurrentJobModificationPolicy that will always use the latest version of the job found in the database (SQL or NoSQL) in case of a concurrent job modification exception.
 
Concrete factory for creating Unix epoch time-ordered unique identifiers (UUIDv7).
Concrete builder for creating a Unix epoch time-ordered factory.
 
 
 
 
Documents why a class, field or method is visible