Get and set connection pool DataSource properties
The code you write to use a ConnectionPoolDataSource object
is the same as the code you write to use a DataSource object.
Additional tuning parameters let you or your database administrator
control some aspects of connection pool management with the Connection
Pool Manager. These are more fully described in A connection pool. The following table
summarizes them.
Property | getXXX() and setXXX() method signatures |
---|---|
IFMX_CPM_ENABLE_SWITCH_HDRPOOL | public void setIfxCPMSwitchHDRPool (boolean flag) |
IFMX_CPM_INIT_POOLSIZE | public void setIfxCPMInitPoolSize (int init) |
IFMX_CPM_MAX_CONNECTIONS | public void setIfxCPMMaxConnections (int limit) |
IFMX_CPM_MIN_POOLSIZE | public void setIfxCPMMinPoolSize (int min) |
IFMX_CPM_MAX_POOLSIZE | public void setIfxCPMMaxPoolSize (int max) |
IFMX_CPM_MIN_AGELIMIT | public void setIfxCPMMinAgeLimit (long limit) |
IFMX_CPM_MAX_AGELIMIT | public void setIfxCPMMaxAgeLimit (long limit) |
IFMX_CPM_SERVICE_INTERVAL | public void setIfxCPMServiceInterval (long interval) |