Package org.graylog.events.processor
Class EventProcessorExecutionJob
java.lang.Object
org.graylog.events.processor.EventProcessorExecutionJob
- All Implemented Interfaces:
Job
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic interface -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEventProcessorExecutionJob(JobScheduleStrategies scheduleStrategies, JobSchedulerClock clock, EventProcessorEngine eventProcessorEngine, EventsConfigurationProvider configurationProvider, JobDefinitionDto jobDefinition) -
Method Summary
Modifier and TypeMethodDescriptionCalled by the scheduler when a trigger fires to execute the job.
-
Field Details
-
TYPE_NAME
- See Also:
-
-
Constructor Details
-
EventProcessorExecutionJob
@Inject public EventProcessorExecutionJob(JobScheduleStrategies scheduleStrategies, JobSchedulerClock clock, EventProcessorEngine eventProcessorEngine, EventsConfigurationProvider configurationProvider, JobDefinitionDto jobDefinition)
-
-
Method Details
-
execute
Description copied from interface:JobCalled by the scheduler when a trigger fires to execute the job. It returns aJobTriggerUpdatethat instructs the scheduler about the next trigger execution time, trigger data and others.- Specified by:
executein interfaceJob- Parameters:
ctx- the job execution context- Returns:
- the trigger update
- Throws:
JobExecutionException- if the job execution fails
-