| Modifier and Type | Field and Description |
|---|---|
protected Map<String,JobEntity> |
AcquiredJobEntities.acquiredJobs |
| Modifier and Type | Method and Description |
|---|---|
JobEntity |
JobManager.createAsyncJob(ExecutionEntity execution,
boolean exclusive)
Creates an async job for the provided
ExecutionEntity, so that
it can be continued later in a background thread. |
JobEntity |
DefaultJobManager.createAsyncJob(ExecutionEntity execution,
boolean exclusive) |
protected JobEntity |
DefaultJobManager.createExecutableJobFromOtherJob(AbstractJobEntity job) |
protected JobEntity |
DefaultJobManager.internalCreateAsyncJob(ExecutionEntity execution,
boolean exclusive) |
protected JobEntity |
DefaultJobManager.internalCreateLockedAsyncJob(ExecutionEntity execution,
boolean exclusive) |
JobEntity |
JobManager.moveDeadLetterJobToExecutableJob(DeadLetterJobEntity deadLetterJobEntity,
int retries)
Transforms a
DeadLetterJobEntity to a JobEntity, thus
making it executable again. |
JobEntity |
DefaultJobManager.moveDeadLetterJobToExecutableJob(DeadLetterJobEntity deadLetterJobEntity,
int retries) |
JobEntity |
JobManager.moveTimerJobToExecutableJob(TimerJobEntity timerJob)
Moves a
TimerJobEntity to become an async JobEntity. |
JobEntity |
DefaultJobManager.moveTimerJobToExecutableJob(TimerJobEntity timerJob) |
| Modifier and Type | Method and Description |
|---|---|
List<JobEntity> |
FindExpiredJobsCmd.execute(CommandContext commandContext) |
Collection<JobEntity> |
AcquiredJobEntities.getJobs() |
| Modifier and Type | Method and Description |
|---|---|
void |
AcquiredJobEntities.addJob(JobEntity job) |
protected void |
DefaultJobManager.executeJobHandler(JobEntity jobEntity) |
protected void |
DefaultJobManager.executeMessageJob(JobEntity jobEntity) |
protected void |
DefaultJobManager.executeTimerJob(JobEntity timerEntity) |
protected void |
DefaultJobManager.fillDefaultAsyncJobInfo(JobEntity jobEntity,
ExecutionEntity execution,
boolean exclusive) |
protected void |
DefaultJobManager.hintAsyncExecutor(JobEntity job) |
protected boolean |
DefaultJobManager.isValidTime(JobEntity timerEntity,
Date newTimerDate,
VariableScope variableScope) |
protected void |
DefaultJobManager.restoreExtraData(JobEntity timerEntity,
VariableScope variableScope) |
void |
JobManager.scheduleAsyncJob(JobEntity job)
Schedules and async job.
|
void |
DefaultJobManager.scheduleAsyncJob(JobEntity jobEntity) |
protected void |
DefaultJobManager.triggerExecutorIfNeeded(JobEntity jobEntity) |
| Modifier and Type | Method and Description |
|---|---|
JobEntity |
MoveTimerToExecutableJobCmd.execute(CommandContext commandContext) |
JobEntity |
MoveDeadLetterJobToExecutableJobCmd.execute(CommandContext commandContext) |
protected JobEntity |
DeleteJobCmd.getJobToDelete(CommandContext commandContext) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AcquireJobsCmd.lockJob(CommandContext commandContext,
JobEntity job,
int lockTimeInMillis) |
protected void |
DeleteJobCmd.sendCancelEvent(JobEntity jobToDelete) |
| Modifier and Type | Field and Description |
|---|---|
protected JobEntity |
AsyncJobAddedNotification.job |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TriggerTimerEventJobHandler.dispatchActivityTimeOut(JobEntity timerEntity,
org.activiti.bpmn.model.FlowNode flowNode,
ExecutionEntity execution,
CommandContext commandContext) |
protected void |
TriggerTimerEventJobHandler.dispatchExecutionTimeOut(JobEntity timerEntity,
ExecutionEntity execution,
List<String> processedElements,
CommandContext commandContext) |
void |
TriggerTimerEventJobHandler.execute(JobEntity job,
String configuration,
ExecutionEntity execution,
CommandContext commandContext) |
void |
TimerSuspendProcessDefinitionHandler.execute(JobEntity job,
String configuration,
ExecutionEntity execution,
CommandContext commandContext) |
void |
TimerStartEventJobHandler.execute(JobEntity job,
String configuration,
ExecutionEntity execution,
CommandContext commandContext) |
void |
TimerActivateProcessDefinitionHandler.execute(JobEntity job,
String configuration,
ExecutionEntity execution,
CommandContext commandContext) |
void |
ProcessEventJobHandler.execute(JobEntity job,
String configuration,
ExecutionEntity execution,
CommandContext commandContext) |
void |
JobHandler.execute(JobEntity job,
String configuration,
ExecutionEntity execution,
CommandContext commandContext) |
void |
AsyncContinuationJobHandler.execute(JobEntity job,
String configuration,
ExecutionEntity execution,
CommandContext commandContext) |
| Constructor and Description |
|---|
AsyncJobAddedNotification(JobEntity job,
AsyncExecutor asyncExecutor) |
| Modifier and Type | Class and Description |
|---|---|
class |
JobEntityImpl
Job entity.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<JobEntity> |
ExecutionEntityImpl.jobs |
| Modifier and Type | Method and Description |
|---|---|
List<JobEntity> |
JobEntityManagerImpl.findExpiredJobs(Page page) |
List<JobEntity> |
JobEntityManager.findExpiredJobs(Page page)
|
List<JobEntity> |
JobEntityManagerImpl.findJobsByExecutionId(String executionId) |
List<JobEntity> |
JobEntityManager.findJobsByExecutionId(String executionId)
Returns all
JobEntity instances related to on ExecutionEntity. |
List<JobEntity> |
JobEntityManagerImpl.findJobsByProcessInstanceId(String processInstanceId) |
List<JobEntity> |
JobEntityManager.findJobsByProcessInstanceId(String processInstanceId)
Returns all
JobEntity instances related to one process instance ExecutionEntity. |
List<JobEntity> |
JobEntityManagerImpl.findJobsToExecute(Page page) |
List<JobEntity> |
JobEntityManager.findJobsToExecute(Page page)
Returns
JobEntity that are eligble to be executed. |
protected DataManager<JobEntity> |
JobEntityManagerImpl.getDataManager() |
List<JobEntity> |
ExecutionEntityImpl.getJobs() |
List<JobEntity> |
ExecutionEntity.getJobs() |
| Modifier and Type | Method and Description |
|---|---|
protected Date |
TimerJobEntityManagerImpl.calculateNextTimer(JobEntity timerEntity,
VariableScope variableScope) |
protected int |
TimerJobEntityManagerImpl.calculateRepeatValue(JobEntity timerEntity) |
TimerJobEntity |
TimerJobEntityManagerImpl.createAndCalculateNextTimer(JobEntity timerEntity,
VariableScope variableScope) |
TimerJobEntity |
TimerJobEntityManager.createAndCalculateNextTimer(JobEntity timerEntity,
VariableScope variableScope)
Creates a new
TimerJobEntity, typically when a timer is used in a
repeating way. |
protected TimerJobEntity |
TimerJobEntityManagerImpl.createTimer(JobEntity te) |
void |
JobEntityManagerImpl.delete(JobEntity jobEntity) |
void |
JobEntityManagerImpl.delete(JobEntity entity,
boolean fireDeleteEvent) |
protected void |
JobEntityManagerImpl.deleteExceptionByteArrayRef(JobEntity jobEntity)
Deletes a the byte array used to store the exception information.
|
protected boolean |
JobEntityManagerImpl.doInsert(JobEntity jobEntity,
boolean fireCreateEvent) |
void |
JobEntityManagerImpl.insert(JobEntity jobEntity,
boolean fireCreateEvent) |
boolean |
JobEntityManagerImpl.insertJobEntity(JobEntity timerJobEntity) |
boolean |
JobEntityManager.insertJobEntity(JobEntity timerJobEntity)
Insert the
JobEntity, similar to #insert(JobEntity),
but returns a boolean in case the insert did not go through. |
protected boolean |
TimerJobEntityManagerImpl.isValidTime(JobEntity timerEntity,
Date newTimerDate,
VariableScope variableScope) |
protected void |
JobEntityManagerImpl.removeExecutionLink(JobEntity jobEntity)
Removes the job's execution's reference to this job, if the job has an associated execution.
|
protected void |
TimerJobEntityManagerImpl.setNewRepeat(JobEntity timerEntity,
int newRepeatValue) |
| Modifier and Type | Method and Description |
|---|---|
List<JobEntity> |
JobDataManager.findExpiredJobs(Page page) |
List<JobEntity> |
JobDataManager.findJobsByExecutionId(String executionId) |
List<JobEntity> |
JobDataManager.findJobsByProcessInstanceId(String processInstanceId) |
List<JobEntity> |
JobDataManager.findJobsToExecute(Page page) |
| Modifier and Type | Field and Description |
|---|---|
protected CachedEntityMatcher<JobEntity> |
MybatisJobDataManager.jobsByExecutionIdMatcher |
| Modifier and Type | Method and Description |
|---|---|
JobEntity |
MybatisJobDataManager.create() |
| Modifier and Type | Method and Description |
|---|---|
List<JobEntity> |
MybatisJobDataManager.findExpiredJobs(Page page) |
List<JobEntity> |
MybatisJobDataManager.findJobsByExecutionId(String executionId) |
List<JobEntity> |
MybatisJobDataManager.findJobsByProcessInstanceId(String processInstanceId) |
List<JobEntity> |
MybatisJobDataManager.findJobsToExecute(Page page) |
Class<? extends JobEntity> |
MybatisJobDataManager.getManagedEntityClass() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
JobsByExecutionIdMatcher.isRetained(JobEntity jobEntity,
Object parameter) |
Copyright © 2016 Alfresco. All rights reserved.