public interface Retryer extends Cloneable
Client.execute(Request, feign.Request.Options)
.
Implementations may keep state to determine if retry operations should continue or not.Modifier and Type | Interface and Description |
---|---|
static class |
Retryer.Default |
Modifier and Type | Field and Description |
---|---|
static Retryer |
NEVER_RETRY
Implementation that never retries request.
|
Modifier and Type | Method and Description |
---|---|
Retryer |
clone() |
void |
continueOrPropagate(RetryableException e)
if retry is permitted, return (possibly after sleeping).
|
static final Retryer NEVER_RETRY
void continueOrPropagate(RetryableException e)
Retryer clone()
Copyright © 2012–2023 OpenFeign. All rights reserved.