Class YieldTakeStrategy
java.lang.Object
kieker.monitoring.queue.takestrategy.YieldTakeStrategy
- All Implemented Interfaces:
TakeStrategy
public class YieldTakeStrategy extends java.lang.Object implements TakeStrategy
- Since:
- 1.13
- Author:
- Christian Wulf
-
Constructor Summary
Constructors Constructor Description YieldTakeStrategy()
-
Method Summary
-
Constructor Details
-
YieldTakeStrategy
public YieldTakeStrategy()
-
-
Method Details
-
waitPoll
public <E> E waitPoll(java.util.Queue<E> q) throws java.lang.InterruptedException- Specified by:
waitPoll
in interfaceTakeStrategy
- Throws:
java.lang.InterruptedException
-
signal
public void signal()- Specified by:
signal
in interfaceTakeStrategy
-