Interface PutStrategy
- All Known Implementing Classes:
RetryPutStrategy
,SPBlockingPutStrategy
,YieldPutStrategy
public interface PutStrategy
- Since:
- 1.13
- Author:
- Christian Wulf
-
Method Summary
Modifier and Type Method Description <E> void
backoffOffer(java.util.Queue<E> queue, E element)
void
signal()
-
Method Details
-
backoffOffer
<E> void backoffOffer(java.util.Queue<E> queue, E element) throws java.lang.InterruptedException- Type Parameters:
E
- element type- Parameters:
queue
- queueelement
- element- Throws:
java.lang.InterruptedException
- on interruption of the queue- Since:
- 1.13
-
signal
void signal()- Since:
- 1.13
-