Class AcquireJobsRunnable

java.lang.Object
org.camunda.bpm.engine.impl.jobexecutor.AcquireJobsRunnable
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
SequentialJobAcquisitionRunnable

public abstract class AcquireJobsRunnable extends Object implements Runnable
Author:
Thorben Lindhauer
  • Field Details

    • jobExecutor

      protected final JobExecutor jobExecutor
    • isInterrupted

      protected volatile boolean isInterrupted
    • isJobAdded

      protected volatile boolean isJobAdded
    • MONITOR

      protected final Object MONITOR
    • isWaiting

      protected final AtomicBoolean isWaiting
  • Constructor Details

    • AcquireJobsRunnable

      public AcquireJobsRunnable(JobExecutor jobExecutor)
  • Method Details

    • suspendAcquisition

      protected void suspendAcquisition(long millis)
    • stop

      public void stop()
    • jobWasAdded

      public void jobWasAdded()
    • clearJobAddedNotification

      protected void clearJobAddedNotification()
    • isJobAdded

      public boolean isJobAdded()