com.github.mauricio.async.db.pool.PoolConfiguration
See thePoolConfiguration companion object
case class PoolConfiguration(maxObjects: Int, maxIdle: Long, maxQueueSize: Int, validationInterval: Long)
Defines specific pieces of a pool's behavior.
Value parameters
- maxIdle
-
number of milliseconds for which the objects are going to be kept as idle (not in use by clients of the pool)
- maxObjects
-
how many objects this pool will hold
- maxQueueSize
-
when there are no more objects, the pool can queue up requests to serve later then there are objects available, this is the maximum number of enqueued requests
- validationInterval
-
pools will use this value as the timer period to validate idle objects.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article