Class RetryPutStrategy
java.lang.Object
kieker.monitoring.queue.putstrategy.RetryPutStrategy
- All Implemented Interfaces:
PutStrategy
public class RetryPutStrategy extends java.lang.Object implements PutStrategy
- Since:
- 1.13
- Author:
- "Christian Wulf"
-
Constructor Summary
Constructors Constructor Description RetryPutStrategy(int maxTries) -
Method Summary
Modifier and Type Method Description <E> voidbackoffOffer(java.util.Queue<E> q, E e)voidsignal()
-
Constructor Details
-
RetryPutStrategy
public RetryPutStrategy(int maxTries)
-
-
Method Details
-
backoffOffer
public <E> void backoffOffer(java.util.Queue<E> q, E e)- Specified by:
backoffOfferin interfacePutStrategy- Type Parameters:
E- element type- Parameters:
q- queuee- element
-
signal
public void signal()- Specified by:
signalin interfacePutStrategy
-