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