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> void
backoffOffer(java.util.Queue<E> q, E e)
void
signal()
-
Constructor Details
-
RetryPutStrategy
public RetryPutStrategy(int maxTries)
-
-
Method Details
-
backoffOffer
public <E> void backoffOffer(java.util.Queue<E> q, E e)- Specified by:
backoffOffer
in interfacePutStrategy
- Type Parameters:
E
- element type- Parameters:
q
- queuee
- element
-
signal
public void signal()- Specified by:
signal
in interfacePutStrategy
-