Package com.infilos.retry.backoff
Class NoWaitBackoffStrategy
- java.lang.Object
-
- com.infilos.retry.backoff.NoWaitBackoffStrategy
-
- All Implemented Interfaces:
BackoffStrategy
public class NoWaitBackoffStrategy extends Object implements BackoffStrategy
-
-
Constructor Summary
Constructors Constructor Description NoWaitBackoffStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Duration
nextDelayToWait(int failedAttempts, Duration delayDuration)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.infilos.retry.BackoffStrategy
checkConfig, nextDelayToWait
-
-
-
-
Method Detail
-
nextDelayToWait
public Duration nextDelayToWait(int failedAttempts, Duration delayDuration)
- Specified by:
nextDelayToWait
in interfaceBackoffStrategy
-
-