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 TypeMethodDescriptionvoid
The worker finished processing this job.void
The worker finished processing all jobs.void
The worker started processing this job.
-
Method Details
-
startJob
The worker started processing this job.- Parameters:
job
- - The job started to be processed
-
endJob
The worker finished processing this job.- Parameters:
job
- - The job finished
-
finishedWork
void finishedWork()The worker finished processing all jobs.
-