@@ -123,7 +123,7 @@ public int maxIdleConnectionPoolSize()
123
123
}
124
124
125
125
/**
126
- * Pooled sessions that have been idle in the pool for longer than this timeout
126
+ * Pooled connections that have been idle in the pool for longer than this timeout
127
127
* will be tested before they are used again, to ensure they are still live.
128
128
*
129
129
* @return idle time in milliseconds
@@ -277,16 +277,15 @@ public ConfigBuilder withSessionLivenessCheckTimeout( long timeout )
277
277
}
278
278
279
279
/**
280
- * Pooled sessions that have been idle in the pool for longer than this timeout
280
+ * Pooled connections that have been idle in the pool for longer than this timeout
281
281
* will be tested before they are used again, to ensure they are still live.
282
282
* <p>
283
283
* If this option is set too low, an additional network call will be
284
- * incurred when acquiring a session , which causes a performance hit.
284
+ * incurred when acquiring a connection , which causes a performance hit.
285
285
* <p>
286
- * If this is set high, you may receive sessions that are no longer live,
286
+ * If this is set high, you may receive sessions that are backed by no longer live connections ,
287
287
* which will lead to exceptions in your application. Assuming the
288
- * database is running, these exceptions will go away if you retry acquiring
289
- * sessions.
288
+ * database is running, these exceptions will go away if you retry acquiring sessions.
290
289
* <p>
291
290
* Hence, this parameter tunes a balance between the likelihood of your
292
291
* application seeing connection problems, and performance.
0 commit comments