Package com.sodius.oslc.server.core.jobs
Interface JobRunner
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Executes a job.
The runner is expected to perform its own error handling by catching exceptions as appropriate.
- Since:
- 3.11.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidCalled by theJobSchedulerwhen it is time for a job to run.
-
Method Details
-
run
Called by theJobSchedulerwhen it is time for a job to run. The runner is expected to perform its own error handling by catching exceptions as appropriate.- Parameters:
job- the job to run
-