public class HttpSelConstraintRetryStrategy extends SelfConstraintRetryStrategy
RetryStrategy.WeightAndReliableAddition
BACKOFF_MULTIPLIER, baseAttempts, DEFAULT, FAIL_FAST, initBackoff, maxBackoff
构造器和说明 |
---|
HttpSelConstraintRetryStrategy(int initBackoff,
int maxBackoff,
int baseAttempts) |
限定符和类型 | 方法和说明 |
---|---|
protected boolean |
shouldIncreaseDelay(java.lang.Exception e)
是否应该增加重试间隔
|
getNextDelay, onTaskEnd
getQCloudHttpRetryHandler, setRetryHandler, shouldRetry
public HttpSelConstraintRetryStrategy(int initBackoff, int maxBackoff, int baseAttempts)
protected boolean shouldIncreaseDelay(java.lang.Exception e)
SelfConstraintRetryStrategy
shouldIncreaseDelay
在类中 SelfConstraintRetryStrategy