Skip to main content

PoolConfiguration

Extends ConnectionConfiguration

KeyTypeDefaultDescription
acquireMaxRetriesnumber0Maximum number that Pool will try to create a connection before returning the error
acquireRetryWaitnumber2000Time in millis that Pool will wait after each tries
acquireTimeoutMillisnumber0Time in millis an acquire call will wait for a connection before timing out
fifobooleantrueSpecifies if resources will be allocated first-in-first-out order
idleTimeoutMillisnumber30000The minimum amount of time in millis that a connection may sit idle in the Pool
houseKeepIntervalnumber1000Time period in millis that Pool will make a cleanup
minnumber0Minimum number of connections that Pool will keep
minIdlenumber0Minimum number of connections that Pool will keep in idle state
maxnumber10Maximum number of connections that Pool will create
maxQueuenumber1000Maximum number of request that Pool will accept
validationbooleanfalseIf true Pool test connection on acquire