- addBack
Inserts the specified element at the end of this queue.
- addFront
Inserts the specified element at the front of this queue.
- clear
Clear current state of scheduler such that it is equivalent to newly created
scheduler. Used for tes
- size
Returns the number of elements in this queue.
- completionCleanup
The procedure in execution completed. This can be implemented to perform
cleanups.
- poll
Fetch one Procedure from the queue
- signalAll
In case the class is blocking on poll() waiting for items to be added, this
method should awake poll
- start
Start the scheduler
- yield
The procedure can't run at the moment. add it back to the queue, giving priority
to someone else.