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 and Description
    `PoolingDataSourceParameters()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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 Detail

    - #### PoolingDataSourceParameters

          public PoolingDataSourceParameters()

  - ### Method Detail

    - #### 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)

Copyright © 2001–2018 Apache Cayenne. All rights reserved.