Module video

Interface JobListener


public interface JobListener
This JobListener defines methods, which are called by the Worker when a job is started, ended and the worker finished processing all jobs.
Author:
Dominick Leppich
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    endJob(Job job)
    The worker finished processing this job.
    void
    The worker finished processing all jobs.
    void
    The worker started processing this job.
  • Method Details

    • startJob

      void startJob(Job job)
      The worker started processing this job.
      Parameters:
      job - - The job started to be processed
    • endJob

      void endJob(Job job)
      The worker finished processing this job.
      Parameters:
      job - - The job finished
    • finishedWork

      void finishedWork()
      The worker finished processing all jobs.