public final class YieldTakeStrategy<E> extends Object implements TakeStrategy<E>
| Constructor and Description |
|---|
YieldTakeStrategy() |
| Modifier and Type | Method and Description |
|---|---|
void |
signal() |
boolean |
supportsSpec(ConcurrentQueueSpec qs) |
E |
waitPoll(Queue<E> q) |
public void signal()
signal in interface TakeStrategy<E>public E waitPoll(Queue<E> q) throws InterruptedException
waitPoll in interface TakeStrategy<E>InterruptedExceptionpublic boolean supportsSpec(ConcurrentQueueSpec qs)
supportsSpec in interface TakeStrategy<E>Copyright © 2013–2023. All rights reserved.