PoolConfiguration

case
class PoolConfiguration(maxObjects: Int, maxIdle: Long, maxQueueSize: Int, validationInterval: Long)

Defines specific pieces of a pool's behavior.

Value Params
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.

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product