|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.metasyntactic.thread.concurrent.QueuedSemaphore.WaitQueue | +--org.metasyntactic.thread.concurrent.FirstInFirstOutSemaphore.FirstInFirstOutWaitQueue
Simple linked list queue used in FirstInFirstOutSemaphore. Methods are not synchronized; they depend on synch of callers
Nested Class Summary |
Nested classes inherited from class org.metasyntactic.thread.concurrent.QueuedSemaphore.WaitQueue |
QueuedSemaphore.WaitQueue.WaitNode |
Constructor Summary | |
protected |
FirstInFirstOutSemaphore.FirstInFirstOutWaitQueue()
|
Method Summary | |
protected QueuedSemaphore.WaitQueue.WaitNode |
extract()
|
protected void |
insert(QueuedSemaphore.WaitQueue.WaitNode w)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected FirstInFirstOutSemaphore.FirstInFirstOutWaitQueue()
Method Detail |
protected void insert(QueuedSemaphore.WaitQueue.WaitNode w)
insert
in class QueuedSemaphore.WaitQueue
protected QueuedSemaphore.WaitQueue.WaitNode extract()
extract
in class QueuedSemaphore.WaitQueue
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |