From 56f70dce6cf5d33b292e9bc638bcf66e21d649e3 Mon Sep 17 00:00:00 2001 From: byteblogs168 <598092184@qq.com> Date: Thu, 12 Jan 2023 09:05:38 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0markdown?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 80176834f..83d2b2487 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ https://www.byteblogs.com/chat com.x.retry x-retry-client-starter - 0.0.4.0 + 最新版本 ``` @@ -57,6 +57,7 @@ public class ExampleApplication { return "这是一个简单的异常方法"; } ``` + ## Retryable 详解 |属性|类型|必须指定|默认值|描述| |-|-|-|-|-| @@ -66,6 +67,8 @@ public class ExampleApplication { | retryStrategy|RetryType|是|LOCAL_REMOTE|重试策略| | retryMethod|RetryMethod|是|RetryAnnotationMethod|重试处理入口| | bizId | BizIdGenerate |是| SimpleBizIdGenerate |自定义业务id,默认为hash(param),传入成员列表,全部拼接取hash| +| retryCompleteCallback | RetryCompleteCallback |否| SimpleRetryCompleteCallback |服务端重试完成(重试成功、重试到达最大次数)回调客户端| +| isThrowException|boolean|否|true| 本地重试完成后是否抛出异 | | bizNo |String|否|无| bizNo spel表达式| | localTimes |int|是|3| 本地重试次数 次数必须大于等于1| | localInterval |int|是|2| 本地重试间隔时间(s)|