Package org.jctools.queues.blocking
Class McParkTakeStrategy<E>
- java.lang.Object
-
- org.jctools.queues.blocking.McParkTakeStrategy<E>
-
- All Implemented Interfaces:
TakeStrategy<E>
public final class McParkTakeStrategy<E> extends Object implements TakeStrategy<E>
-
-
Constructor Summary
Constructors Constructor Description McParkTakeStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
signal()
boolean
supportsSpec(ConcurrentQueueSpec qs)
E
waitPoll(Queue<E> q)
-
-
-
Method Detail
-
signal
public void signal()
- Specified by:
signal
in interfaceTakeStrategy<E>
-
waitPoll
public E waitPoll(Queue<E> q) throws InterruptedException
- Specified by:
waitPoll
in interfaceTakeStrategy<E>
- Throws:
InterruptedException
-
supportsSpec
public boolean supportsSpec(ConcurrentQueueSpec qs)
- Specified by:
supportsSpec
in interfaceTakeStrategy<E>
-
-