This is an automated email from the ASF dual-hosted git repository.
albumenj pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git
The following commit(s) were added to refs/heads/master by this push:
new b58342f Update dubbo-method.md (#796)
b58342f is described below
commit b58342f1d9fe1add5196ae904bc0cc8a045a33c1
Author: zzweichao <[email protected]>
AuthorDate: Tue May 11 10:21:30 2021 +0800
Update dubbo-method.md (#796)
删除dubbo:method模块 sticky描述中多余错别字
---
content/zh/docs/v2.7/user/references/xml/dubbo-method.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/content/zh/docs/v2.7/user/references/xml/dubbo-method.md
b/content/zh/docs/v2.7/user/references/xml/dubbo-method.md
index 18aced1..b041d32 100644
--- a/content/zh/docs/v2.7/user/references/xml/dubbo-method.md
+++ b/content/zh/docs/v2.7/user/references/xml/dubbo-method.md
@@ -19,7 +19,7 @@ description: "dubbo:method 配置"
| actives | <methodName>.actives | int | 可选 | 0 | 性能调优 | 每服务消费者最大并发调用限制
| 2.0.5以上版本 |
| executes | <methodName>.executes | int | 可选 | 0 | 性能调优 |
每服务每方法最大使用线程数限制-
-,此属性只在<dubbo:method>作为<dubbo:service>子标签时有效 | 2.0.5以上版本 |
| deprecated | <methodName>.deprecated | boolean | 可选 | false | 服务治理 |
服务方法是否过时,此属性只在<dubbo:method>作为<dubbo:service>子标签时有效 | 2.0.5以上版本 |
-| sticky | <methodName>.sticky | boolean | 可选 | false | 服务治理 | 设置true
该接口上的所有方法使用同一个provider.如果需要更复杂的规则,请使用用路由 | 2.0.6以上版本 |
+| sticky | <methodName>.sticky | boolean | 可选 | false | 服务治理 | 设置true
该接口上的所有方法使用同一个provider.如果需要更复杂的规则,请使用路由 | 2.0.6以上版本 |
| return | <methodName>.return | boolean | 可选 | true | 性能调优 |
方法调用是否需要返回值,async设置为true时才生效,如果设置为true,则返回future,或回调onreturn等方法,如果设置为false,则请求发送成功后直接返回Null
| 2.0.6以上版本 |
| oninvoke | attribute属性,不在URL中体现 | String | 可选 | | 性能调优 | 方法执行前拦截 | 2.0.6以上版本
|
| onreturn | attribute属性,不在URL中体现 | String | 可选 | | 性能调优 | 方法执行返回后拦截 |
2.0.6以上版本 |