Home | Previous Page | Next Page   Appendix B. DataSource Extensions >

Getting and Setting 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 Using a Connection Pool. The following table summarizes them.

Property getXXX() and setXXX() Method Signatures
IFMX_CPM_ENABLE_SWITCH_
HDRPOOL
public void setIfxCPMSwitchHDRPool (boolean flag)
public int getIfxCPMSwitchHDRPool()
IFMX_CPM_INIT_POOLSIZE public void setIfxCPMInitPoolSize (int init)
public int getIfxCPMInitPoolSize()
IFMX_CPM_MAX_CONNECTIONS public void setIfxCPMMaxConnections (int limit)
public int getIfxCPMMaxConnections()
IFMX_CPM_MIN_POOLSIZE public void setIfxCPMMinPoolSize (int min)
public int getIfxCPMMinPoolSize()
IFMX_CPM_MAX_POOLSIZE public void setIfxCPMMaxPoolSize (int max)
public int getIfxCPMMaxPoolSize()
IFMX_CPM_MIN_AGELIMIT public void setIfxCPMMinAgeLimit (long limit)
public long getIfxCPMMinAgeLimit()
IFMX_CPM_MAX_AGELIMIT public void setIfxCPMMaxAgeLimit (long limit)
public long getIfxCPMMaxAgeLimit()
IFMX_CPM_SERVICE_INTERVAL public void setIfxCPMServiceInterval (long interval)
public long getIfxCPMServiceInterval()

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]