Class ExecuteAsyncRunnable
java.lang.Object
org.flowable.job.service.impl.asyncexecutor.ExecuteAsyncRunnable
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
TenantAwareExecuteAsyncRunnable
- Author:
- Joram Barrez, Tijs Rademakers
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<AsyncRunnableExecutionExceptionHandler>
protected final JobInfo
protected JobInfoEntityManager<? extends JobInfoEntity>
protected final JobExecutionObservationProvider
protected JobServiceConfiguration
-
Constructor Summary
ConstructorsConstructorDescriptionExecuteAsyncRunnable
(JobInfo job, JobServiceConfiguration jobServiceConfiguration, JobInfoEntityManager<? extends JobInfoEntity> jobEntityManager, AsyncRunnableExecutionExceptionHandler asyncRunnableExecutionExceptionHandler, JobExecutionObservationProvider jobExecutionObservationProvider) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
executeJob
(boolean unlock, JobExecutionObservation observation) protected void
handleFailedJob
(Throwable exception) protected boolean
lockJob
(JobExecutionObservation observation) void
run()
protected void
runInternally
(JobExecutionObservation observation) protected void
protected void
-
Field Details
-
job
-
jobExecutionObservationProvider
-
jobServiceConfiguration
-
jobEntityManager
-
asyncRunnableExecutionExceptionHandlers
-
-
Constructor Details
-
ExecuteAsyncRunnable
public ExecuteAsyncRunnable(JobInfo job, JobServiceConfiguration jobServiceConfiguration, JobInfoEntityManager<? extends JobInfoEntity> jobEntityManager, AsyncRunnableExecutionExceptionHandler asyncRunnableExecutionExceptionHandler, JobExecutionObservationProvider jobExecutionObservationProvider)
-
-
Method Details