| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.ObjectEDU.oswego.cs.dl.util.concurrent.SemaphoreEDU.oswego.cs.dl.util.concurrent.QueuedSemaphorepublic abstract class QueuedSemaphoreextends SemaphoreNested Class Summary | |
protected static class |
|
Field Summary | |
protected QueuedSemaphore.WaitQueue | |
Fields inherited from interface EDU.oswego.cs.dl.util.concurrent.Sync | |
ONE_CENTURY, ONE_DAY, ONE_HOUR, ONE_MINUTE, ONE_SECOND, ONE_WEEK, ONE_YEAR | |
Method Summary | |
void |
|
boolean |
|
protected QueuedSemaphore.WaitQueue.WaitNode | |
protected boolean |
|
protected boolean | |
void |
|
void |
|
Methods inherited from class EDU.oswego.cs.dl.util.concurrent.Semaphore | |
acquire, attempt, permits, release, release | |
public void acquire()
throws InterruptedExceptionWait until a permit is available, and take one *
public boolean attempt(long msecs)
throws InterruptedExceptionWait at most msecs millisconds for a permit. *
protected boolean precheck()
public void release()
Release a permit *