public class JobManager extends AbstractManager
Constructor and Description |
---|
JobManager() |
close, delete, flush, getAttachmentManager, getByteArrayManager, getDbSqlSession, getDeploymentManager, getHistoricActivityInstanceManager, getHistoricDetailManager, getHistoricProcessInstanceManager, getHistoricTaskInstanceManager, getIdentityInfoManager, getIdentityLinkManager, getProcessDefinitionManager, getProcessInstanceManager, getResourceManager, getSession, getTaskManager, getVariableInstanceManager, insert
public void send(MessageEntity message)
public void schedule(TimerEntity timer)
protected void hintJobExecutor(JobEntity job)
public void cancelTimers(ExecutionEntity execution)
public List<JobEntity> findExclusiveJobsToExecute(String processInstanceId)
public List<TimerEntity> findUnlockedTimersByDuedate(Date duedate, Page page)
public List<TimerEntity> findTimersByExecutionId(String executionId)
public List<Job> findJobsByQueryCriteria(JobQueryImpl jobQuery, Page page)
public List<Job> findJobsByConfiguration(String jobHandlerType, String jobHandlerConfiguration)
public long findJobCountByQueryCriteria(JobQueryImpl jobQuery)
public void updateJobSuspensionStateById(String jobId, SuspensionState suspensionState)
public void updateJobSuspensionStateByJobDefinitionId(String jobDefinitionId, SuspensionState suspensionState)
public void updateJobSuspensionStateByProcessInstanceId(String processInstanceId, SuspensionState suspensionState)
public void updateJobSuspensionStateByProcessDefinitionId(String processDefinitionId, SuspensionState suspensionState)
public void updateStartTimerJobSuspensionStateByProcessDefinitionId(String processDefinitionId, SuspensionState suspensionState)
public void updateJobSuspensionStateByProcessDefinitionKey(String processDefinitionKey, SuspensionState suspensionState)
public void updateStartTimerJobSuspensionStateByProcessDefinitionKey(String processDefinitionKey, SuspensionState suspensionState)
public void updateFailedJobRetriesByJobDefinitionId(String jobDefinitionId, int retries)
Copyright © 2015. All rights reserved.