Package com.styra.opa.openapi.utils
Class RetryConfig
- java.lang.Object
-
- com.styra.opa.openapi.utils.RetryConfig
-
public class RetryConfig extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RetryConfig.Builder
static class
RetryConfig.Strategy
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<BackoffStrategy>
backoff()
static RetryConfig.Builder
builder()
static RetryConfig
noRetries()
RetryConfig.Strategy
strategy()
-
-
-
Method Detail
-
noRetries
public static RetryConfig noRetries()
-
strategy
public RetryConfig.Strategy strategy()
-
backoff
public java.util.Optional<BackoffStrategy> backoff()
-
builder
public static final RetryConfig.Builder builder()
-
-