Class ManagedJobExecutor

java.lang.Object
org.camunda.bpm.engine.impl.jobexecutor.JobExecutor
org.camunda.bpm.quarkus.engine.extension.impl.ManagedJobExecutor

public class ManagedJobExecutor extends org.camunda.bpm.engine.impl.jobexecutor.JobExecutor
A JobExecutor implementation that utilises a separate thread pool to acquire and execute jobs.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.eclipse.microprofile.context.ManagedExecutor
     

    Fields inherited from class org.camunda.bpm.engine.impl.jobexecutor.JobExecutor

    acquireJobsCmdFactory, acquireJobsRunnable, backoffDecreaseThreshold, backoffTimeInMillis, isActive, isAutoActivate, jobAcquisitionThread, lockOwner, lockTimeInMillis, maxBackoff, maxJobsPerAcquisition, maxWait, name, processEngines, rejectedJobsHandler, waitIncreaseFactor, waitTimeInMillis
  • Constructor Summary

    Constructors
    Constructor
    Description
    ManagedJobExecutor(org.eclipse.microprofile.context.ManagedExecutor taskExecutor)
    Constructs a new QuarkusJobExecutor with the provided ManagedExecutor instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    executeJobs(List<String> jobIds, org.camunda.bpm.engine.impl.ProcessEngineImpl processEngine)
     
    protected void
     
    protected void
     

    Methods inherited from class org.camunda.bpm.engine.impl.jobexecutor.JobExecutor

    calculateTotalQueueCapacity, engineIterator, ensureCleanup, ensureInitialization, executeJobs, getAcquireJobsCmd, getAcquireJobsCmdFactory, getAcquireJobsRunnable, getBackoffDecreaseThreshold, getBackoffTimeInMillis, getCommandExecutor, getExecuteJobsRunnable, getLockOwner, getLockTimeInMillis, getMaxBackoff, getMaxJobsPerAcquisition, getMaxWait, getName, getProcessEngines, getRejectedJobsHandler, getWaitIncreaseFactor, getWaitTimeInMillis, hasRegisteredEngine, isActive, isAutoActivate, jobWasAdded, logAcquiredJobs, logAcquisitionAttempt, logAcquisitionFailureJobs, logJobExecutionInfo, logRejectedExecution, registerProcessEngine, setAcquireJobsCmdFactory, setAutoActivate, setBackoffDecreaseThreshold, setBackoffTimeInMillis, setCommandExecutor, setLockOwner, setLockTimeInMillis, setMaxBackoff, setMaxJobsPerAcquisition, setMaxWait, setProcessEngines, setRejectedJobsHandler, setWaitIncreaseFactor, setWaitTimeInMillis, shutdown, start, startJobAcquisitionThread, stopJobAcquisitionThread, unregisterProcessEngine

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • taskExecutor

      protected org.eclipse.microprofile.context.ManagedExecutor taskExecutor
  • Constructor Details

    • ManagedJobExecutor

      public ManagedJobExecutor(org.eclipse.microprofile.context.ManagedExecutor taskExecutor)
      Constructs a new QuarkusJobExecutor with the provided ManagedExecutor instance.
  • Method Details

    • startExecutingJobs

      protected void startExecutingJobs()
      Specified by:
      startExecutingJobs in class org.camunda.bpm.engine.impl.jobexecutor.JobExecutor
    • stopExecutingJobs

      protected void stopExecutingJobs()
      Specified by:
      stopExecutingJobs in class org.camunda.bpm.engine.impl.jobexecutor.JobExecutor
    • executeJobs

      public void executeJobs(List<String> jobIds, org.camunda.bpm.engine.impl.ProcessEngineImpl processEngine)
      Specified by:
      executeJobs in class org.camunda.bpm.engine.impl.jobexecutor.JobExecutor