@ConsumerType
public interface Job
Scheduler
service.
If the implementation of the job requires certain environment information
it can implement this interface to get additional information
through the provided JobContext
.
If no additional information is required, implementing Runnable
is
sufficient.Modifier and Type | Method and Description |
---|---|
void |
execute(JobContext context)
Execute this job.
|
void execute(JobContext context)
context
- The context of the job.Copyright © 2015 The Apache Software Foundation. All rights reserved.