Modifier and Type | Method and Description |
---|---|
static <T> dev.failsafe.CircuitBreakerBuilder<T> |
buildCircuitBreaker(Class<? extends Options> context,
Options options)
buildCircuitBreaker.
|
static <T> dev.failsafe.RateLimiterBuilder<T> |
buildRateLimiter(Class<? extends Options> context,
Options options)
buildRateLimiter.
|
static <T> dev.failsafe.RetryPolicyBuilder<T> |
buildRetryPolicy(Class<? extends Options> context,
Options options)
buildRetryPolicy.
|
public static <T> dev.failsafe.RateLimiterBuilder<T> buildRateLimiter(Class<? extends Options> context, Options options)
buildRateLimiter.
T
- a T classoptions
- a Options
objectRateLimiterBuilder
objectpublic static <T> dev.failsafe.RetryPolicyBuilder<T> buildRetryPolicy(Class<? extends Options> context, Options options)
buildRetryPolicy.
T
- a T classoptions
- a Options
objectRetryPolicyBuilder
objectCopyright © 2016–2024. All rights reserved.