Package com.simplj.flows.core
Class RetryContext.RetryContextBuilder
- java.lang.Object
-
- com.simplj.flows.core.RetryContext.RetryContextBuilder
-
- Enclosing class:
- RetryContext
public static class RetryContext.RetryContextBuilder extends Object
-
-
Method Summary
Modifier and Type Method Description RetryContext
build()
<T extends Throwable>
RetryContext.RetryContextBuilderexceptions(Set<Class<T>> exceptions, boolean isInclusive)
RetryContext.RetryContextBuilder
logger(Consumer<String> logger)
RetryContext.RetryContextBuilder
maxDelay(long maxDelay)
-
-
-
Method Detail
-
maxDelay
public RetryContext.RetryContextBuilder maxDelay(long maxDelay)
-
exceptions
public <T extends Throwable> RetryContext.RetryContextBuilder exceptions(Set<Class<T>> exceptions, boolean isInclusive)
-
logger
public RetryContext.RetryContextBuilder logger(Consumer<String> logger)
-
build
public RetryContext build()
-
-