类 BackOffRetryer
java.lang.Object
com.dtflys.forest.retryer.ForestRetryer
com.dtflys.forest.retryer.BackOffRetryer
基于退避算法的重试器
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
从类继承的方法 com.dtflys.forest.retryer.ForestRetryer
getAndIncrementCurrentRetryCount, getCurrentRetryCount, getMaxRetryCount, getMaxRetryInterval, getRequest
-
字段详细资料
-
request
-
waitedTime
protected long waitedTime
-
-
构造器详细资料
-
BackOffRetryer
-
-
方法详细资料
-
canRetry
- 指定者:
canRetry在类中ForestRetryer- 抛出:
Throwable
-
nextInterval
protected long nextInterval(int currentCount) -
getWaitedTime
public long getWaitedTime()
-