public abstract class LatchJob extends Job
| Modifier | Constructor and Description |
|---|---|
protected |
LatchJob() |
| Modifier and Type | Method and Description |
|---|---|
void |
acquire() |
boolean |
acquire(long timeout) |
void |
release() |
boolean |
tryAcquire() |
equals, execute, getExecutingThread, getGroup, getName, getProcessor, getStartedAt, isEqualTo, queue, queue, registerJobFinishedHandler, registerJobStartingHandler, setProcessor, toString, wasQueuedpublic void release()
public boolean tryAcquire()
public void acquire()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic boolean acquire(long timeout)
throws java.lang.InterruptedException
java.lang.InterruptedException