public interface Job
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Job.Factory<TYPE extends Job> |
| Modifier and Type | Method and Description |
|---|---|
JobTriggerUpdate |
execute(JobExecutionContext ctx)
Called by the scheduler when a trigger fires to execute the job.
|
JobTriggerUpdate execute(JobExecutionContext ctx) throws JobExecutionException
JobTriggerUpdate that
instructs the scheduler about the next trigger execution time, trigger data and others.ctx - the job execution contextJobExecutionException - if the job execution failsCopyright © 2012–2021 Graylog, Inc.. All rights reserved.