Modifier and Type | Class and Description |
---|---|
static class |
EventProcessorExecutionJob.Config |
static class |
EventProcessorExecutionJob.Data |
static interface |
EventProcessorExecutionJob.Factory |
Constructor and Description |
---|
EventProcessorExecutionJob(JobScheduleStrategies scheduleStrategies,
JobSchedulerClock clock,
EventProcessorEngine eventProcessorEngine,
EventsConfigurationProvider configurationProvider,
JobDefinitionDto jobDefinition) |
Modifier and Type | Method and Description |
---|---|
JobTriggerUpdate |
execute(JobExecutionContext ctx)
Called by the scheduler when a trigger fires to execute the job.
|
public static final String TYPE_NAME
@Inject public EventProcessorExecutionJob(JobScheduleStrategies scheduleStrategies, JobSchedulerClock clock, EventProcessorEngine eventProcessorEngine, EventsConfigurationProvider configurationProvider, JobDefinitionDto jobDefinition)
public JobTriggerUpdate execute(JobExecutionContext ctx) throws JobExecutionException
Job
JobTriggerUpdate
that
instructs the scheduler about the next trigger execution time, trigger data and others.execute
in interface Job
ctx
- the job execution contextJobExecutionException
- if the job execution failsCopyright © 2012–2021 Graylog, Inc.. All rights reserved.