PoolingDataSourceParameters (cayenne-doc: Cayenne Documentation 5.0-M2 API)
Description: declaration: package: org.apache.cayenne.datasource, class: PoolingDataSourceParameters

# Class PoolingDataSourceParameters

java.lang.Object
org.apache.cayenne.datasource.PoolingDataSourceParameters

public class PoolingDataSourceParameters extends Object
A collection of pooling parameters used by `UnmanagedPoolingDataSource`.

Since:
  4.0

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PoolingDataSourceParameters()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `getMaxConnections()`
  `long`
  `getMaxQueueWaitTime()`
  `int`
  `getMinConnections()`
  `String`
  `getValidationQuery()`
  `void`
  `setMaxConnections(int maxConnections)`
  `void`
  `setMaxQueueWaitTime(long maxQueueWaitTime)`
  `void`
  `setMinConnections(int minConnections)`
  `void`
  `setValidationQuery(String validationQuery)`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### PoolingDataSourceParameters

    public PoolingDataSourceParameters()

- ## Method Details

  - ### getMinConnections

    public int getMinConnections()

  - ### setMinConnections

    public void setMinConnections(int minConnections)

  - ### getMaxConnections

    public int getMaxConnections()

  - ### setMaxConnections

    public void setMaxConnections(int maxConnections)

  - ### getMaxQueueWaitTime

    public long getMaxQueueWaitTime()

  - ### setMaxQueueWaitTime

    public void setMaxQueueWaitTime(long maxQueueWaitTime)

  - ### getValidationQuery

    public String getValidationQuery()

  - ### setValidationQuery

    public void setValidationQuery(String validationQuery)