Skip to content

Commit b5aaa94

Browse files
Al-assadohbus
andauthored
docs: replace more suitable translation (iluwatar#1743)
Co-authored-by: Subhrodip Mohanta <[email protected]>
1 parent 825b5a9 commit b5aaa94

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

zh/async-method-invocation/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ tags:
88
- Reactive
99
---
1010

11-
## 作用
11+
## 含义
1212

1313
异步方法是一种调用线程在等待任务结果时候不会被阻塞的模式。该模式提供了对多个任务的并行处理,并通过回调或等待,在所有任务完成后在提供结果读取。
1414

@@ -144,7 +144,7 @@ public static void main(String[] args) throws Exception {
144144

145145
![alt text](../../async-method-invocation/etc/async-method-invocation.png "Async Method Invocation")
146146

147-
## 适用性
147+
## 适用场景
148148

149149
在以下场景可以使用异步调用模式
150150

zh/balking/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ tags:
88
- Decoupling
99
---
1010

11-
## 作用
11+
## 含义
1212

1313
阻止模式用于防止一个对象在不完整或不适当的状态下执行某段代码。
1414

@@ -112,7 +112,7 @@ public interface DelayProvider {
112112

113113
![alt text](../../balking/etc/balking.png "Balking")
114114

115-
## 适用性
115+
## 适用场景
116116

117117
在以下情况下可以使用阻止模式:
118118

@@ -124,6 +124,6 @@ public interface DelayProvider {
124124
* [Guarded Suspension Pattern](https://java-design-patterns.com/patterns/guarded-suspension/)
125125
* [Double Checked Locking Pattern](https://java-design-patterns.com/patterns/double-checked-locking/)
126126

127-
## 鸣谢
127+
## 引用
128128

129129
* [Patterns in Java: A Catalog of Reusable Design Patterns Illustrated with UML, 2nd Edition, Volume 1](https://www.amazon.com/gp/product/0471227293/ref=as_li_qf_asin_il_tl?ie=UTF8&tag=javadesignpat-20&creative=9325&linkCode=as2&creativeASIN=0471227293&linkId=0e39a59ffaab93fb476036fecb637b99)

zh/business-delegate/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ tags:
88
- Decoupling
99
---
1010

11-
## 作用
11+
## 含义
1212

1313
业务委托模式(译者:国内也有翻译成业务代表模式)在表现层和业务层之间增加了一个抽象层。通过使用该模式,我们获得了各层之间的松散耦合,并封装了关于如何定位、连接和与构成应用程序的业务对象进行交互的知识。
1414

@@ -154,7 +154,7 @@ public class MobileClient {
154154

155155
* [Business Delegate Pattern at TutorialsPoint](https://www.tutorialspoint.com/design_pattern/business_delegate_pattern.htm)
156156

157-
## 鸣谢
157+
## 引用
158158

159159
* [J2EE Design Patterns](https://www.amazon.com/gp/product/0596004273/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=0596004273&linkCode=as2&tag=javadesignpat-20&linkId=48d37c67fb3d845b802fa9b619ad8f31)
160160
* [Core J2EE Patterns: Best Practices and Design Strategies](https://www.amazon.com/gp/product/0130648841/ref=as_li_qf_asin_il_tl?ie=UTF8&tag=javadesignpat-20&creative=9325&linkCode=as2&creativeASIN=0130648841&linkId=a0100de2b28c71ede8db1757fb2b5947)

0 commit comments

Comments
 (0)