Class TimerJobSchedulerImpl
- java.lang.Object
-
- org.flowable.job.service.impl.asyncexecutor.TimerJobSchedulerImpl
-
- All Implemented Interfaces:
TimerJobScheduler
public class TimerJobSchedulerImpl extends Object implements TimerJobScheduler
- Author:
- Filip Hrisafov
-
-
Field Summary
Fields Modifier and Type Field Description protected JobServiceConfigurationjobServiceConfiguration
-
Constructor Summary
Constructors Constructor Description TimerJobSchedulerImpl(JobServiceConfiguration jobServiceConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrescheduleTimerJobAfterExecution(JobEntity timerJob, org.flowable.variable.api.delegate.VariableScope variableScope)Re-schedule a timer job once it has finished with its execution.protected voidscheduleTimer(TimerJobEntity timerJob)voidscheduleTimerJob(TimerJobEntity timerJob)Schedules a timer, meaning it will be inserted in the datastore.protected voidsendTimerScheduledEvent(TimerJobEntity timerJob)
-
-
-
Field Detail
-
jobServiceConfiguration
protected final JobServiceConfiguration jobServiceConfiguration
-
-
Constructor Detail
-
TimerJobSchedulerImpl
public TimerJobSchedulerImpl(JobServiceConfiguration jobServiceConfiguration)
-
-
Method Detail
-
rescheduleTimerJobAfterExecution
public void rescheduleTimerJobAfterExecution(JobEntity timerJob, org.flowable.variable.api.delegate.VariableScope variableScope)
Description copied from interface:TimerJobSchedulerRe-schedule a timer job once it has finished with its execution.- Specified by:
rescheduleTimerJobAfterExecutionin interfaceTimerJobScheduler- Parameters:
timerJob- the job that was executedvariableScope- the variable scope in which it was executed.
-
scheduleTimerJob
public void scheduleTimerJob(TimerJobEntity timerJob)
Description copied from interface:TimerJobSchedulerSchedules a timer, meaning it will be inserted in the datastore.- Specified by:
scheduleTimerJobin interfaceTimerJobScheduler
-
scheduleTimer
protected void scheduleTimer(TimerJobEntity timerJob)
-
sendTimerScheduledEvent
protected void sendTimerScheduledEvent(TimerJobEntity timerJob)
-
-