Package org.jctools.queues.blocking
Class ScParkTakeStrategy<E>
- java.lang.Object
-
- org.jctools.queues.blocking.ScParkTakeStrategy<E>
-
- All Implemented Interfaces:
TakeStrategy<E>
public final class ScParkTakeStrategy<E> extends Object implements TakeStrategy<E>
-
-
Field Summary
Fields Modifier and Type Field Description int
storeFence
-
Constructor Summary
Constructors Constructor Description ScParkTakeStrategy()
-
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>
-
-