Example usage for Java java.util.concurrent BlockingDeque fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | offer(E e, long timeout, TimeUnit unit) Inserts the specified element into the queue represented by this deque (in other words, at the tail of this deque), waiting up to the specified wait time if necessary for space to become available. |
int | size() Returns the number of elements in this deque. |