public interface RetryStrategy
限定符和类型 | 方法和说明 |
---|---|
RetryStrategy |
clone()
返回一个同类型且尚未重试的RetryStrategy对象。
|
int |
getRetries()
返回当前重试的次数
|
long |
nextPause(String action,
Exception ex)
得到发起第retries次重试前延迟的时间。
|
RetryStrategy clone()
int getRetries()
Copyright © 2018. All Rights Reserved.