Package org.kiwiproject.retry
Class BlockStrategies
- java.lang.Object
-
- org.kiwiproject.retry.BlockStrategies
-
public final class BlockStrategies extends Object
Factory class forBlockStrategy
instances.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BlockStrategy
threadSleepStrategy()
Returns a block strategy that puts the current thread to sleep between retries.
-
-
-
Method Detail
-
threadSleepStrategy
public static BlockStrategy threadSleepStrategy()
Returns a block strategy that puts the current thread to sleep between retries.- Returns:
- a block strategy that puts the current thread to sleep between retries
-
-