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