Skip to content

Commit 4d389fb

Browse files
committed
update configuration for new properties in PooledDataSource for another languages
1 parent 2323648 commit 4d389fb

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

src/site/es/xdoc/configuration.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1650,6 +1650,14 @@ SqlSessionFactory factory = new SqlSessionFactoryBuilder().build(reader,properti
16501650
</li>
16511651
<li><code>poolTimeToWait</code> – Este es un parámetro de bajo nivel que permite escribir un log y reintentar la adquisición de una conexión en caso de que no se haya conseguido la conexión transcurrido un tiempo razonable (esto evita que se produzcan fallos constantes y silenciosos si el pool está mal configurado). Por defecto: 20000ms (20 segundos)
16521652
</li>
1653+
<li><code>poolMaximumLocalBadConnectionTolerance</code> – This is a low level setting about
1654+
tolerance of bad connections got for any thread. If a thread got a bad connection, it may
1655+
still have another chance to re-attempt to get another connection which is valid. But the
1656+
retrying times should not more than the sum of <code>poolMaximumIdleConnections</code>
1657+
and <code>poolMaximumLocalBadConnectionTolerance</code>.
1658+
Default:
1659+
3
1660+
</li>
16531661
<li><code>poolPingQuery</code> – La query de ping (sondeo) que se envía a la base de datos para verificar que la conexión funciona correctamente y que está lista para aceptar nuevas peticiones de conexión. El valor por defecto es "NO PING QUERY SET", que hará que la mayoría de los drivers de base de datos devuelvan un error con un mensaje de error decente.
16541662
</li>
16551663
<li><code>poolPingEnabled</code> – Habilita o inhabilita la query de ping. Si está habilitada deberías informar también la propiedad poolPingQuery con una sentencia SQL (preferentemente una rápida). Por defecto: false.

src/site/ja/xdoc/configuration.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1752,6 +1752,14 @@ SqlSessionFactory factory = new SqlSessionFactoryBuilder().build(reader,properti
17521752
<li>poolTimeToWait – 接続の取得に長時間を要した場合にログを出力し、接続の再取得を試みる機会を与えるための低レベルの設定です(プールが誤って設定された場合、無限に待機状態となってしまうのを防ぐため)。
17531753
デフォルト: 20000ms (20秒)
17541754
</li>
1755+
<li><code>poolMaximumLocalBadConnectionTolerance</code> – This is a low level setting about
1756+
tolerance of bad connections got for any thread. If a thread got a bad connection, it may
1757+
still have another chance to re-attempt to get another connection which is valid. But the
1758+
retrying times should not more than the sum of <code>poolMaximumIdleConnections</code>
1759+
and <code>poolMaximumLocalBadConnectionTolerance</code>.
1760+
Default:
1761+
3
1762+
</li>
17551763
<li>poolPingQuery – プールされた接続が正常で、リクエストを受け付けられる状態にあるかどうか確認するためにデータベースに送信される ping クエリを設定します。
17561764
デフォルトは "NO PING QUERY SET" で、一般的なドライバーであれば問い合わせは失敗し、適切なエラーメッセージが出力されるはずです。
17571765
</li>

src/site/ko/xdoc/configuration.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1614,6 +1614,14 @@ SqlSessionFactory factory = new SqlSessionFactoryBuilder().build(reader,properti
16141614
디폴트는 20000ms(20 초)</li>
16151615
<li><code>poolTimeToWait</code> - 풀이 로그 상태를 출력하고 비정상적으로 긴 경우 커넥션을 다시 얻을려고 시도하는 로우 레벨 설정.
16161616
디폴트는 20000ms(20 초)</li>
1617+
<li><code>poolMaximumLocalBadConnectionTolerance</code> – This is a low level setting about
1618+
tolerance of bad connections got for any thread. If a thread got a bad connection, it may
1619+
still have another chance to re-attempt to get another connection which is valid. But the
1620+
retrying times should not more than the sum of <code>poolMaximumIdleConnections</code>
1621+
and <code>poolMaximumLocalBadConnectionTolerance</code>.
1622+
Default:
1623+
3
1624+
</li>
16171625
<li><code>poolPingQuery</code> - 커넥션이 작업하기 좋은 상태이고 요청을 받아서 처리할 준비가 되었는지 체크하기 위해 데이터베이스에 던지는 핑쿼리(Ping Query).
16181626
디폴트는 “핑 쿼리가 없음” 이다.
16191627
이 설정은 대부분의 데이터베이스로 하여금 에러메시지를 보게 할수도 있다.</li>

0 commit comments

Comments
 (0)