public class JobServiceImpl extends ServiceImpl implements JobService
jobServiceConfiguration| Constructor and Description |
|---|
JobServiceImpl() |
JobServiceImpl(JobServiceConfiguration jobServiceConfiguration) |
getDeadLetterJobEntityManager, getEventDispatcher, getHistoryJobEntityManager, getJobEntityManager, getJobManager, getSuspendedJobEntityManager, getTimerJobEntityManagerpublic JobServiceImpl()
public JobServiceImpl(JobServiceConfiguration jobServiceConfiguration)
public void scheduleAsyncJob(JobEntity job)
scheduleAsyncJob in interface JobServicepublic JobEntity findJobById(String jobId)
findJobById in interface JobServicepublic List<JobEntity> findJobsByExecutionId(String executionId)
findJobsByExecutionId in interface JobServicepublic List<JobEntity> findJobsByProcessInstanceId(String processInstanceId)
findJobsByProcessInstanceId in interface JobServicepublic List<SuspendedJobEntity> findSuspendedJobsByProcessInstanceId(String processInstanceId)
findSuspendedJobsByProcessInstanceId in interface JobServicepublic void updateAllJobTypesTenantIdForDeployment(String deploymentId, String newTenantId)
updateAllJobTypesTenantIdForDeployment in interface JobServicepublic AbstractRuntimeJobEntity activateSuspendedJob(SuspendedJobEntity job)
activateSuspendedJob in interface JobServicepublic SuspendedJobEntity moveJobToSuspendedJob(AbstractRuntimeJobEntity job)
moveJobToSuspendedJob in interface JobServicepublic AbstractRuntimeJobEntity moveJobToDeadLetterJob(AbstractRuntimeJobEntity job)
moveJobToDeadLetterJob in interface JobServicepublic void unacquireWithDecrementRetries(JobInfo job)
unacquireWithDecrementRetries in interface JobServicepublic JobEntity createJob()
createJob in interface JobServicepublic void createAsyncJob(JobEntity job, boolean isExclusive)
createAsyncJob in interface JobServicepublic void insertJob(JobEntity job)
insertJob in interface JobServicepublic DeadLetterJobEntity createDeadLetterJob()
createDeadLetterJob in interface JobServicepublic void insertDeadLetterJob(DeadLetterJobEntity deadLetterJob)
insertDeadLetterJob in interface JobServicepublic void updateJob(JobEntity job)
updateJob in interface JobServicepublic void deleteJob(String jobId)
deleteJob in interface JobServicepublic void deleteJob(JobEntity job)
deleteJob in interface JobServicepublic void deleteJobsByExecutionId(String executionId)
deleteJobsByExecutionId in interface JobServicepublic void deleteSuspendedJobsByExecutionId(String executionId)
deleteSuspendedJobsByExecutionId in interface JobServicepublic void deleteDeadLetterJobsByExecutionId(String executionId)
deleteDeadLetterJobsByExecutionId in interface JobServiceCopyright © 2017 Flowable. All rights reserved.