public abstract class AcquireJobsRunnable extends Object implements Runnable
Modifier and Type | Field and Description |
---|---|
protected boolean |
isInterrupted |
protected boolean |
isJobAdded |
protected AtomicBoolean |
isWaiting |
protected JobExecutor |
jobExecutor |
protected Object |
MONITOR |
Constructor and Description |
---|
AcquireJobsRunnable(JobExecutor jobExecutor) |
Modifier and Type | Method and Description |
---|---|
protected void |
clearJobAddedNotification() |
boolean |
isJobAdded() |
void |
jobWasAdded() |
void |
stop() |
protected void |
suspendAcquisition(long millis) |
protected final JobExecutor jobExecutor
protected volatile boolean isInterrupted
protected volatile boolean isJobAdded
protected final Object MONITOR
protected final AtomicBoolean isWaiting
public AcquireJobsRunnable(JobExecutor jobExecutor)
Copyright © 2021. All rights reserved.