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