|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compass.core.util.backport.java.util.concurrent.SynchronousQueue.WaitQueue
abstract static class SynchronousQueue.WaitQueue
Queue to hold waiting puts/takes; specialized to Fifo/Lifo below. These queues have all transient fields, but are serializable in order to recover fairness settings when deserialized.
| Constructor Summary | |
|---|---|
SynchronousQueue.WaitQueue()
|
|
| Method Summary | |
|---|---|
(package private) abstract SynchronousQueue.Node |
deq()
Removes and returns node, or null if empty. |
(package private) abstract SynchronousQueue.Node |
enq(Object x)
Creates, adds, and returns node for x. |
(package private) abstract boolean |
shouldUnlink(SynchronousQueue.Node node)
Returns true if a cancelled node might be on queue. |
(package private) abstract void |
unlink(SynchronousQueue.Node node)
Removes a cancelled node to avoid garbage retention. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
SynchronousQueue.WaitQueue()
| Method Detail |
|---|
abstract SynchronousQueue.Node enq(Object x)
abstract SynchronousQueue.Node deq()
abstract void unlink(SynchronousQueue.Node node)
abstract boolean shouldUnlink(SynchronousQueue.Node node)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||