public class WorkManagerImpl.WorkCompletionSynchronizer extends Object
Modifier and Type | Field and Description |
---|---|
protected Condition |
completion |
protected ReentrantLock |
completionLock |
protected org.apache.commons.logging.Log |
log |
protected String |
queueid |
protected AtomicInteger |
scheduledOrRunning |
Modifier | Constructor and Description |
---|---|
protected |
WorkCompletionSynchronizer(String id) |
Modifier and Type | Method and Description |
---|---|
protected long |
await(long timeout) |
protected void |
logScheduleAndRunning(String event,
int value) |
protected void |
signalCompletion() |
protected void |
signalSchedule() |
protected final AtomicInteger scheduledOrRunning
protected final ReentrantLock completionLock
protected final Condition completion
protected final org.apache.commons.logging.Log log
protected WorkCompletionSynchronizer(String id)
protected long await(long timeout) throws InterruptedException
InterruptedException
protected void signalSchedule()
protected void signalCompletion()
protected void logScheduleAndRunning(String event, int value)
Copyright © 2015 Nuxeo SA. All rights reserved.