Skip to content

Commit a2a11ac

Browse files
author
varkockova
committed
Time unit as a part of javadoc
I wanted to know the time unit being used for idle and I had to look into the iplementation to be sure. I think it might be useful to have this in the javadoc directly.
1 parent c94b0ad commit a2a11ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

db-async-common/src/main/scala/com/github/mauricio/async/db/pool/PoolConfiguration.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ object PoolConfiguration {
2525
* Defines specific pieces of a pool's behavior.
2626
*
2727
* @param maxObjects how many objects this pool will hold
28-
* @param maxIdle how long are objects going to be kept as idle (not in use by clients of the pool)
28+
* @param maxIdle number of milliseconds for which the objects are going to be kept as idle (not in use by clients of the pool)
2929
* @param maxQueueSize when there are no more objects, the pool can queue up requests to serve later then there
3030
* are objects available, this is the maximum number of enqueued requests
3131
* @param validationInterval pools will use this value as the timer period to validate idle objects.

0 commit comments

Comments
 (0)