10.12.2012 Views

Oracle C++ Call Interface Programmer's Guide

Oracle C++ Call Interface Programmer's Guide

Oracle C++ Call Interface Programmer's Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ConnectionPool Class<br />

getMinConnections()<br />

getOpenConnections()<br />

getPoolName()<br />

getTimeOut()<br />

setErrorOnBusy()<br />

This method returns the minimum number of connections in the connection pool.<br />

Syntax<br />

unsigned int getMinConnections() const;<br />

This method returns the number of open connections in the connection pool.<br />

Syntax<br />

unsigned int getOpenConnections() const;<br />

This method returns the name of the connection pool.<br />

Syntax<br />

string getPoolName() const;<br />

This method returns the time-out period of a connection in the connection pool.<br />

Syntax<br />

unsigned int getTimeOut() const;<br />

This method specifies that a SQLException is to be generated when all connections<br />

in the connection pool are busy and no further connections can be opened.<br />

Syntax<br />

void setErrorOnBusy();<br />

8-46 <strong>Oracle</strong> <strong>C++</strong> <strong>Call</strong> <strong>Interface</strong> Programmer’s <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!