| Constructor and Description |
|---|
TransferringWorkQueue() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
offer(E e,
long timeout,
TimeUnit unit) |
E |
poll(long timeout,
TimeUnit unit) |
public boolean offer(E e, long timeout, TimeUnit unit) throws InterruptedException
offer in interface WorkQueue<E>InterruptedExceptionpublic E poll(long timeout, TimeUnit unit) throws InterruptedException
poll in interface WorkQueue<E>InterruptedExceptionCopyright © 2020. All rights reserved.