Package org.knowm.xchange.client
Class ResilienceUtils.DecorateCallableApi<T>
java.lang.Object
org.knowm.xchange.client.ResilienceUtils.DecorateCallableApi<T>
- Enclosing class:
ResilienceUtils
-
Method Summary
Modifier and TypeMethodDescriptioncall()
withRateLimiter
(io.github.resilience4j.ratelimiter.RateLimiter rateLimiter) withRateLimiter
(io.github.resilience4j.ratelimiter.RateLimiter rateLimiter, int permits) withRetry
(io.github.resilience4j.retry.Retry retryContext)
-
Method Details
-
withRetry
public ResilienceUtils.DecorateCallableApi<T> withRetry(io.github.resilience4j.retry.Retry retryContext) -
withRateLimiter
public ResilienceUtils.DecorateCallableApi<T> withRateLimiter(io.github.resilience4j.ratelimiter.RateLimiter rateLimiter) -
withRateLimiter
public ResilienceUtils.DecorateCallableApi<T> withRateLimiter(io.github.resilience4j.ratelimiter.RateLimiter rateLimiter, int permits) -
call
- Throws:
IOException
-