public abstract class AbstractBlockingTaskQueue extends Object implements TaskQueue<Task<? extends Object>>
AbstractBlockingTaskQueueprovides a skeletal implementation of the
TaskQueueinterface. To implement an un/bounded queue of
Task, the programmer only needs to extend this class and concretely implement its abstract methods.
|Modifier and Type||Field and Description|
|Constructor and Description|
|Modifier and Type||Method and Description|
Removes an element from the tail of the queue and returns it.
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Threadis blocked until a
Taskis added to the queue and it is no longer empty.
Copyright © 2020. All rights reserved.