类 ExponentialRetryPolicy
java.lang.Object
com.tencent.polaris.configuration.client.internal.ExponentialRetryPolicy
- 所有已实现的接口:
RetryPolicy
public class ExponentialRetryPolicy extends java.lang.Object implements RetryPolicy
- 作者:
- lepdou 2022-03-04
-
构造器概要
构造器 构造器 说明 ExponentialRetryPolicy(long delayMinTime, long delayMaxTime) -
方法概要
修饰符和类型 方法 说明 voidexecuteDelay()voidfail()longgetCurrentDelayTime()voidsuccess()从类继承的方法 java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
构造器详细资料
-
ExponentialRetryPolicy
public ExponentialRetryPolicy(long delayMinTime, long delayMaxTime)
-
-
方法详细资料
-
success
public void success()- 指定者:
success在接口中RetryPolicy
-
fail
public void fail()- 指定者:
fail在接口中RetryPolicy
-
getCurrentDelayTime
public long getCurrentDelayTime()- 指定者:
getCurrentDelayTime在接口中RetryPolicy
-
executeDelay
public void executeDelay()- 指定者:
executeDelay在接口中RetryPolicy
-