Package org.apache.cayenne.datasource

# 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 java.lang.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)