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 JobInfoprotected JobInfoEntityManager<? extends JobInfoEntity>protected final JobExecutionObservationProviderprotected JobServiceConfiguration -
Constructor Summary
ConstructorsConstructorDescriptionExecuteAsyncRunnable(JobInfo job, JobServiceConfiguration jobServiceConfiguration, JobInfoEntityManager<? extends JobInfoEntity> jobEntityManager, AsyncRunnableExecutionExceptionHandler asyncRunnableExecutionExceptionHandler, JobExecutionObservationProvider jobExecutionObservationProvider) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecuteJob(boolean unlock, JobExecutionObservation observation) protected voidhandleFailedJob(Throwable exception) protected booleanlockJob(JobExecutionObservation observation) voidrun()protected voidrunInternally(JobExecutionObservation observation) protected voidprotected 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