public final class McParkTakeStrategy<E> extends Object implements TakeStrategy<E>
Constructor and Description |
---|
McParkTakeStrategy() |
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>
InterruptedException
public boolean supportsSpec(ConcurrentQueueSpec qs)
supportsSpec
in interface TakeStrategy<E>
Copyright © 2013–2024. All rights reserved.