类 RemoteRetryStrategies
java.lang.Object
com.aizuda.easy.retry.client.core.strategy.AbstractRetryStrategies
com.aizuda.easy.retry.client.core.strategy.RemoteRetryStrategies
- 所有已实现的接口:
RetryStrategy
执行远程重试
- 从以下版本开始:
- 1.3.0
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected CallabledoGetCallable(RetryExecutor<com.github.rholder.retry.WaitStrategy, com.github.rholder.retry.StopStrategy> retryExecutor, Object... params) doGetRetryErrorConsumer(RetryerInfo retryerInfo, Object[] params) protected voiderror(RetryerResultContext context) protected RetryExecutorParameter<com.github.rholder.retry.WaitStrategy,com.github.rholder.retry.StopStrategy> getRetryExecutorParameter(RetryerInfo retryerInfo) protected booleanpreValidator(RetryerInfo retryerInfo, RetryerResultContext resultContext) protected voidsetStage()protected voidsuccess(RetryerResultContext retryerResultContext) booleanprotected voidunexpectedError(Exception e, RetryerResultContext retryerResultContext) 从类继承的方法 com.aizuda.easy.retry.client.core.strategy.AbstractRetryStrategies
doReport, getRetrySuccessConsumer, openRetry
-
构造器详细资料
-
RemoteRetryStrategies
public RemoteRetryStrategies()
-
-
方法详细资料
-
supports
-
setStage
protected void setStage()- 指定者:
setStage在类中AbstractRetryStrategies
-
doRetrySuccessConsumer
-
error
- 指定者:
error在类中AbstractRetryStrategies
-
preValidator
- 指定者:
preValidator在类中AbstractRetryStrategies
-
unexpectedError
- 指定者:
unexpectedError在类中AbstractRetryStrategies
-
success
- 指定者:
success在类中AbstractRetryStrategies
-
doGetRetryErrorConsumer
-
doGetCallable
protected Callable doGetCallable(RetryExecutor<com.github.rholder.retry.WaitStrategy, com.github.rholder.retry.StopStrategy> retryExecutor, Object... params) - 指定者:
doGetCallable在类中AbstractRetryStrategies
-
getRetryExecutorParameter
protected RetryExecutorParameter<com.github.rholder.retry.WaitStrategy,com.github.rholder.retry.StopStrategy> getRetryExecutorParameter(RetryerInfo retryerInfo)
-