public class RetryPolicy extends Object
| Modifier and Type | Field and Description |
|---|---|
static RetryPolicy |
INSTANCE |
| Constructor and Description |
|---|
RetryPolicy() |
RetryPolicy(int maxAttempts,
long sleepMillis) |
RetryPolicy(int maxAttempts,
long sleepMillis,
Predicate<ResponseSpec> respPredicate) |
RetryPolicy(Predicate<ResponseSpec> respPredicate) |
public static final RetryPolicy INSTANCE
public RetryPolicy()
public RetryPolicy(int maxAttempts,
long sleepMillis)
public RetryPolicy(@Nullable Predicate<ResponseSpec> respPredicate)
public RetryPolicy(int maxAttempts,
long sleepMillis,
@Nullable
Predicate<ResponseSpec> respPredicate)
Copyright © 2023. All rights reserved.