Skip to content

Commit

Permalink
Update isolation-executor.md
Browse files Browse the repository at this point in the history
ApplicationConfig adds String executor-management-mode parameter, the configuration values are default and isolation, and the default is isolation.
  • Loading branch information
manzhizhen committed Dec 20, 2023
1 parent 7cad508 commit 3423744
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -26,7 +26,7 @@ weight: 4
目前可以以 API、XML、Annotation 的方式进行配置

**配置参数**
- `ApplicationConfig` 新增 `String executor-management-mode` 参数,配置值为 `default``isolation` ,默认为 `default`
- `ApplicationConfig` 新增 `String executor-management-mode` 参数,配置值为 `default``isolation` ,默认为 `isolation`
- `executor-management-mode = default` 使用原有 **以协议端口为粒度、服务间共享** 的线程池管理方式
- `executor-management-mode = isolation` 使用新增的 **以服务三元组为粒度、服务间隔离** 的线程池管理方式
- `ServiceConfig` 新增 `Executor executor` 参数,**用以服务间隔离的线程池**,可以由用户配置化、提供自己想要的线程池,若没有指定,则会根据协议配置(`ProtocolConfig`)信息构建默认的线程池用以服务隔离。
Expand Down Expand Up @@ -237,4 +237,4 @@ public class HelloServiceImplV3 implements HelloService {
return "server hello";
}
}
```
```

0 comments on commit 3423744

Please sign in to comment.