public abstract class AbstractMessageBasedJobManager extends DefaultJobManager
CYCLE_TYPE, jobServiceConfiguration| Constructor and Description |
|---|
AbstractMessageBasedJobManager() |
AbstractMessageBasedJobManager(JobServiceConfiguration jobServiceConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
prepareAndSendMessage(JobInfo job) |
protected abstract void |
sendMessage(JobInfo job)
Subclasses need to implement this method: it should contain the actual sending of the message
using the job data provided in the parameter.
|
protected void |
triggerAsyncHistoryExecutorIfNeeded(HistoryJobEntity jobEntity) |
protected void |
triggerExecutorIfNeeded(JobEntity jobEntity) |
void |
unacquire(JobInfo job)
Unacquires a job, meaning that this job was previously locked, and it is now freed to be acquired by other executor nodes.
|
void |
unacquireWithDecrementRetries(JobInfo job)
Unacquires a job, meaning that this job was previously locked, and it is now freed to be acquired by other executor nodes.
|
activateSuspendedJob, callHistoryJobProcessors, callJobProcessors, copyHistoryJobInfo, copyJobInfo, createAsyncHistoryHintListeners, createAsyncJob, createDeadLetterJobFromOtherJob, createExecutableJobFromOtherJob, createHintListeners, createSuspendedJobFromOtherJob, createTimerJobFromOtherJob, execute, executeHistoryJob, executeHistoryJobHandler, executeJobHandler, executeMessageJob, executeTimerJob, fillDefaultAsyncJobInfo, getAsyncExecutor, getAsyncHistoryExecutor, getBusinessCalendarName, getBusinessCalendarName, getCommandContext, getJobServiceConfiguration, hintAsyncExecutor, hintAsyncHistoryExecutor, internalCreateAsyncJob, internalCreateLockedAsyncJob, isAsyncExecutorActive, isAsyncHistoryExecutorActive, isExecutorActive, isValidTime, moveDeadLetterJobToExecutableJob, moveJobToDeadLetterJob, moveJobToSuspendedJob, moveJobToTimerJob, moveTimerJobToExecutableJob, scheduleAsyncJob, scheduleHistoryJob, scheduleTimerJob, setJobServiceConfiguration, setLockTimeAndOwnerpublic AbstractMessageBasedJobManager()
public AbstractMessageBasedJobManager(JobServiceConfiguration jobServiceConfiguration)
protected void triggerExecutorIfNeeded(JobEntity jobEntity)
triggerExecutorIfNeeded in class DefaultJobManagerprotected void triggerAsyncHistoryExecutorIfNeeded(HistoryJobEntity jobEntity)
triggerAsyncHistoryExecutorIfNeeded in class DefaultJobManagerpublic void unacquire(JobInfo job)
JobManagerunacquire in interface JobManagerunacquire in class DefaultJobManagerpublic void unacquireWithDecrementRetries(JobInfo job)
JobManagerunacquireWithDecrementRetries in interface JobManagerunacquireWithDecrementRetries in class DefaultJobManagerprotected void prepareAndSendMessage(JobInfo job)
protected abstract void sendMessage(JobInfo job)
Copyright © 2020 Flowable. All rights reserved.