public final class StatusCodeCondition extends Object implements RetryCondition
| 限定符和类型 | 方法和说明 |
|---|---|
static StatusCodeCondition |
create(Integer... statusCodesToRetryOn) |
static StatusCodeCondition |
create(Set<Integer> statusCodesToRetryOn) |
boolean |
shouldRetry(RetryPolicyContext context) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdefaultRetryCondition, none, requestSucceeded, requestWillNotBeRetriedpublic boolean shouldRetry(RetryPolicyContext context)
shouldRetry 在接口中 RetryConditionpublic static StatusCodeCondition create(Set<Integer> statusCodesToRetryOn)
public static StatusCodeCondition create(Integer... statusCodesToRetryOn)
Copyright © 2023. All rights reserved.