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 Summary
Fields Modifier and Type Field Description protected boolean
isInterrupted
protected boolean
isJobAdded
protected AtomicBoolean
isWaiting
protected JobExecutor
jobExecutor
protected Object
MONITOR
-
Constructor Summary
Constructors Constructor Description AcquireJobsRunnable(JobExecutor jobExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clearJobAddedNotification()
boolean
isJobAdded()
void
jobWasAdded()
void
stop()
protected void
suspendAcquisition(long millis)
-
-
-
Field Detail
-
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 Detail
-
AcquireJobsRunnable
public AcquireJobsRunnable(JobExecutor jobExecutor)
-
-