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.

@FunctionalInterface public interface JobRunner
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 Type
    Method
    Description
    void
    run(Job job)
    Called by the JobScheduler when it is time for a job to run.
  • Method Details

    • run

      void run(Job job)
      Called by the JobScheduler when 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