Interface Job
-
@ConsumerType public interface Job
A job is executed by theScheduler
service. If the implementation of the job requires certain environment information it can implement this interface to get additional information through the providedJobContext
. If no additional information is required, implementingRunnable
is sufficient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
execute(JobContext context)
Execute this job.
-
-
-
Method Detail
-
execute
void execute(JobContext context)
Execute this job.- Parameters:
context
- The context of the job.
-
-