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