Skip to content

Commit

Permalink
文档单词拼写错误
Browse files Browse the repository at this point in the history
  • Loading branch information
mek1986 authored and wenshao committed Apr 1, 2024
1 parent cc4b50c commit bb6077d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions doc/druid-pool.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
| |
--------------------------> | |
--------------------------> | | 销毁多余连接的线程
--------------------------> | | (highWater.awati, idleTimeout.await)
--------------------------> | | (highWater.await, idleTimeout.await)
close | | -------------------------------------->
(highWater.signal) | |
(maxActive.signal) | |
Expand All @@ -26,4 +26,4 @@
| |
|---------------------------|

五个Condition:notEmpty、maxActive、lowWater、hightWater, idleTime
五个Condition:notEmpty、maxActive、lowWater、highWater, idleTime
6 changes: 3 additions & 3 deletions doc/ha-datasource.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ HA DataSource提供了如下特性:

### 2.1 根据名称路由节点

在Spring配置文件中加入如下DataSoruce配置
在Spring配置文件中加入如下DataSource配置

```xml
<bean id="dataSource" class="com.alibaba.druid.pool.ha.HighAvailableDataSource"
Expand Down Expand Up @@ -66,7 +66,7 @@ hb.db1.password=password

此处的`ha`是用于过滤配置项的,在一个配置文件中如存在多个不同前缀,可以通过前缀进行区分。

在Spring配置文件中加入如下DataSoruce配置
在Spring配置文件中加入如下DataSource配置

```xml
<bean id="dataSource" class="com.alibaba.druid.pool.ha.HighAvailableDataSource"
Expand All @@ -92,7 +92,7 @@ hb.db1.password=password

HA DataSource默认基于文件创建随机节点列表,只需提供其他NodeListener的实现类,就可以监听不同的配置源,例如ZookeeperNodeListener就是基于ZooKeeper的。

在Spring配置文件中加入如下DataSoruce配置
在Spring配置文件中加入如下DataSource配置

```xml
<bean id="dataSource" class="com.alibaba.druid.pool.ha.HighAvailableDataSource"
Expand Down

0 comments on commit bb6077d

Please sign in to comment.