- <init>
- cancelAll
Removes and cancels all known tasks, ignoring any exceptions.
- growArray
Initializes or doubles the capacity of array. Call either by owner or with lock
held -- it is OK for
- interruptOwner
If this owned and is not already interrupted, try to interrupt and/or unpark,
ignoring exceptions.
- isApparentlyUnblocked
Returns true if owned and not known to be blocked.
- isEmpty
Provides a more accurate estimate of whether this queue has any tasks than does
queueSize, by checki
- nextLocalTask
Takes next task, if one exists, in order specified by mode.
- peek
Returns next task, if one exists, in order specified by mode.
- poll
Takes next task, if one exists, in FIFO order.
- pollAndExecAll
Polls and runs tasks until empty.
- pollAt
Takes a task in FIFO order if b is base of queue and a task can be claimed
without contention. Speci
- pollFor
Polls the given task only if it is at the current base.