|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectEDU.oswego.cs.dl.util.concurrent.QueuedSemaphore.WaitQueue
EDU.oswego.cs.dl.util.concurrent.PrioritySemaphore.PriorityWaitQueue
protected static class PrioritySemaphore.PriorityWaitQueue
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class EDU.oswego.cs.dl.util.concurrent.QueuedSemaphore.WaitQueue |
|---|
QueuedSemaphore.WaitQueue.WaitNode |
| Field Summary | |
|---|---|
protected FIFOSemaphore.FIFOWaitQueue[] |
cells_
An array of wait queues, one per priority |
protected int |
maxIndex_
The index of the highest priority cell that may need to be signalled, or -1 if none. |
| Constructor Summary | |
|---|---|
protected |
PrioritySemaphore.PriorityWaitQueue()
|
| 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 |
| Field Detail |
|---|
protected final FIFOSemaphore.FIFOWaitQueue[] cells_
protected int maxIndex_
| Constructor Detail |
|---|
protected PrioritySemaphore.PriorityWaitQueue()
| Method Detail |
|---|
protected void insert(QueuedSemaphore.WaitQueue.WaitNode w)
insert in class QueuedSemaphore.WaitQueueprotected 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 | |||||||