public class AcquireAsyncJobsDueRunnable extends Object implements Runnable
| Modifier and Type | Field and Description |
|---|---|
protected AsyncExecutor |
asyncExecutor |
protected boolean |
isInterrupted |
protected AtomicBoolean |
isWaiting |
protected JobInfoEntityManager<? extends JobInfoEntity> |
jobEntityManager |
protected Object |
MONITOR |
protected String |
name |
| Constructor and Description |
|---|
AcquireAsyncJobsDueRunnable(String name,
AsyncExecutor asyncExecutor,
JobInfoEntityManager<? extends JobInfoEntity> jobEntityManager) |
| Modifier and Type | Method and Description |
|---|---|
protected long |
acquireAndExecuteJobs(CommandExecutor commandExecutor,
int remainingCapacity) |
protected List<JobInfoEntity> |
offerJobs(AcquiredJobEntities acquiredJobs) |
void |
run() |
protected void |
sleep(long millisToWait) |
void |
stop() |
protected String name
protected final AsyncExecutor asyncExecutor
protected final JobInfoEntityManager<? extends JobInfoEntity> jobEntityManager
protected volatile boolean isInterrupted
protected final Object MONITOR
protected final AtomicBoolean isWaiting
public AcquireAsyncJobsDueRunnable(String name, AsyncExecutor asyncExecutor, JobInfoEntityManager<? extends JobInfoEntity> jobEntityManager)
protected long acquireAndExecuteJobs(CommandExecutor commandExecutor, int remainingCapacity)
protected List<JobInfoEntity> offerJobs(AcquiredJobEntities acquiredJobs)
public void stop()
protected void sleep(long millisToWait)
Copyright © 2020 Flowable. All rights reserved.