| TerraLib 4.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Types | Public Member Functions
oracle::occi::StatelessConnectionPool Class Reference

`#include <occiControl.h>`

List of all members.

## Public Types

enum | PoolType { HETEROGENEOUS = OCI_DEFAULT, HOMOGENEOUS = OCI_SPC_HOMOGENEOUS }
enum | BusyOption { WAIT = OCI_SPOOL_ATTRVAL_WAIT, NOWAIT = OCI_SPOOL_ATTRVAL_NOWAIT, FORCEGET = OCI_SPOOL_ATTRVAL_FORCEGET }
enum | DestroyMode { DEFAULT = OCI_DEFAULT, SPD_FORCE = OCI_SPD_FORCE }

## Public Member Functions

virtual | ~StatelessConnectionPool ()
virtual unsigned int | getBusyConnections () const =0
virtual unsigned int | getOpenConnections () const =0
virtual unsigned int | getMinConnections () const =0
virtual unsigned int | getMaxConnections () const =0
virtual unsigned int | getIncrConnections () const =0
virtual OCCI_STD_NAMESPACE::string | getPoolName () const =0
virtual unsigned int | getTimeOut () const =0
virtual void | setBusyOption (BusyOption busyOption)=0
virtual BusyOption | getBusyOption () const =0
virtual void | setTimeOut (unsigned int connTimeOut=0)=0
virtual void | setPoolSize (unsigned int maxConn=1, unsigned int minConn=0, unsigned int incrConn=1)=0
virtual Connection * | getConnection (const OCCI_STD_NAMESPACE::string &tag="")=0
virtual Connection * | getConnection (const OCCI_STD_NAMESPACE::string &userName, const OCCI_STD_NAMESPACE::string &password, const OCCI_STD_NAMESPACE::string &tag="")=0
virtual Connection * | getAnyTaggedConnection (const OCCI_STD_NAMESPACE::string &tag="")=0
virtual Connection * | getAnyTaggedConnection (const OCCI_STD_NAMESPACE::string &userName, const OCCI_STD_NAMESPACE::string &Password, const OCCI_STD_NAMESPACE::string &tag="")=0
virtual Connection * | getProxyConnection (const OCCI_STD_NAMESPACE::string &name, OCCI_STD_NAMESPACE::string roles[], unsigned int numRoles, const OCCI_STD_NAMESPACE::string &tag="", Connection::ProxyType proxyType=Connection::PROXY_DEFAULT)=0
virtual Connection * | getProxyConnection (const OCCI_STD_NAMESPACE::string &name, const OCCI_STD_NAMESPACE::string &tag="", Connection::ProxyType proxyType=Connection::PROXY_DEFAULT)=0
virtual Connection * | getAnyTaggedProxyConnection (const OCCI_STD_NAMESPACE::string &name, OCCI_STD_NAMESPACE::string roles[], unsigned int numRoles, const OCCI_STD_NAMESPACE::string &tag="", Connection::ProxyType proxyType=Connection::PROXY_DEFAULT)=0
virtual Connection * | getAnyTaggedProxyConnection (const OCCI_STD_NAMESPACE::string &name, const OCCI_STD_NAMESPACE::string &tag="", Connection::ProxyType proxyType=Connection::PROXY_DEFAULT)=0
virtual void | releaseConnection (Connection *connection, const OCCI_STD_NAMESPACE::string &tag="")=0
virtual void | terminateConnection (Connection *connection)=0
virtual void | setStmtCacheSize (unsigned int cacheSize)=0
virtual unsigned int | getStmtCacheSize () const =0
virtual Connection * | getConnection (const UString &tag)=0
virtual Connection * | getConnection (const UString &userName, const UString &password, const UString &tag)=0
virtual Connection * | getAnyTaggedConnection (const UString &tag)=0
virtual Connection * | getAnyTaggedConnection (const UString &userName, const UString &Password, const UString &tag)=0
virtual Connection * | getProxyConnection (const UString &name, OCCI_STD_NAMESPACE::string roles[], unsigned int numRoles, const UString &tag, Connection::ProxyType proxyType=Connection::PROXY_DEFAULT)=0
virtual Connection * | getProxyConnection (const UString &name, const UString &tag, Connection::ProxyType proxyType=Connection::PROXY_DEFAULT)=0
virtual Connection * | getAnyTaggedProxyConnection (const UString &name, OCCI_STD_NAMESPACE::string roles[], unsigned int numRoles, const UString &tag, Connection::ProxyType proxyType=Connection::PROXY_DEFAULT)=0
virtual Connection * | getAnyTaggedProxyConnection (const UString &name, const UString &tag, Connection::ProxyType proxyType=Connection::PROXY_DEFAULT)=0
virtual void | releaseConnection (Connection *connection, const UString &tag)=0

## Member Enumeration Documentation

enum oracle::occi::StatelessConnectionPool::BusyOption

Enumerator:

  WAIT |
  NOWAIT |
  FORCEGET |

enum oracle::occi::StatelessConnectionPool::DestroyMode

Enumerator:

  DEFAULT |
  SPD_FORCE |

enum oracle::occi::StatelessConnectionPool::PoolType

Enumerator:

  HETEROGENEOUS |
  HOMOGENEOUS |

## Constructor & Destructor Documentation

virtual oracle::occi::StatelessConnectionPool::~StatelessConnectionPool | ( |  | ) | `[inline, virtual]`

## Member Function Documentation

virtual Connection* oracle::occi::StatelessConnectionPool::getAnyTaggedConnection | ( | const OCCI_STD_NAMESPACE::string & | tag = `""` | ) | `[pure virtual]`

virtual Connection* oracle::occi::StatelessConnectionPool::getAnyTaggedConnection | ( | const OCCI_STD_NAMESPACE::string & | userName,
|  | const OCCI_STD_NAMESPACE::string & | Password,
|  | const OCCI_STD_NAMESPACE::string & | tag = `""`
| ) |  | `[pure virtual]`

virtual Connection* oracle::occi::StatelessConnectionPool::getAnyTaggedConnection | ( | const UString & | tag | ) | `[pure virtual]`

virtual Connection* oracle::occi::StatelessConnectionPool::getAnyTaggedConnection | ( | const UString & | userName,
|  | const UString & | Password,
|  | const UString & | tag
| ) |  | `[pure virtual]`

virtual Connection* oracle::occi::StatelessConnectionPool::getAnyTaggedProxyConnection | ( | const OCCI_STD_NAMESPACE::string & | name,
|  | OCCI_STD_NAMESPACE::string | roles[],
|  | unsigned int | numRoles,
|  | const OCCI_STD_NAMESPACE::string & | tag = `""`,
|  | Connection::ProxyType | proxyType = `Connection::PROXY_DEFAULT`
| ) |  | `[pure virtual]`

virtual Connection* oracle::occi::StatelessConnectionPool::getAnyTaggedProxyConnection | ( | const OCCI_STD_NAMESPACE::string & | name,
|  | const OCCI_STD_NAMESPACE::string & | tag = `""`,
|  | Connection::ProxyType | proxyType = `Connection::PROXY_DEFAULT`
| ) |  | `[pure virtual]`

virtual Connection* oracle::occi::StatelessConnectionPool::getAnyTaggedProxyConnection | ( | const UString & | name,
|  | OCCI_STD_NAMESPACE::string | roles[],
|  | unsigned int | numRoles,
|  | const UString & | tag,
|  | Connection::ProxyType | proxyType = `Connection::PROXY_DEFAULT`
| ) |  | `[pure virtual]`

virtual Connection* oracle::occi::StatelessConnectionPool::getAnyTaggedProxyConnection | ( | const UString & | name,
|  | const UString & | tag,
|  | Connection::ProxyType | proxyType = `Connection::PROXY_DEFAULT`
| ) |  | `[pure virtual]`

virtual unsigned int oracle::occi::StatelessConnectionPool::getBusyConnections | ( |  | ) | const`[pure virtual]`

virtual BusyOption oracle::occi::StatelessConnectionPool::getBusyOption | ( |  | ) | const`[pure virtual]`

virtual Connection* oracle::occi::StatelessConnectionPool::getConnection | ( | const UString & | tag | ) | `[pure virtual]`

virtual Connection* oracle::occi::StatelessConnectionPool::getConnection | ( | const UString & | userName,
|  | const UString & | password,
|  | const UString & | tag
| ) |  | `[pure virtual]`

virtual Connection* oracle::occi::StatelessConnectionPool::getConnection | ( | const OCCI_STD_NAMESPACE::string & | userName,
|  | const OCCI_STD_NAMESPACE::string & | password,
|  | const OCCI_STD_NAMESPACE::string & | tag = `""`
| ) |  | `[pure virtual]`

virtual Connection* oracle::occi::StatelessConnectionPool::getConnection | ( | const OCCI_STD_NAMESPACE::string & | tag = `""` | ) | `[pure virtual]`

virtual unsigned int oracle::occi::StatelessConnectionPool::getIncrConnections | ( |  | ) | const`[pure virtual]`

virtual unsigned int oracle::occi::StatelessConnectionPool::getMaxConnections | ( |  | ) | const`[pure virtual]`

virtual unsigned int oracle::occi::StatelessConnectionPool::getMinConnections | ( |  | ) | const`[pure virtual]`

virtual unsigned int oracle::occi::StatelessConnectionPool::getOpenConnections | ( |  | ) | const`[pure virtual]`

virtual OCCI_STD_NAMESPACE::string oracle::occi::StatelessConnectionPool::getPoolName | ( |  | ) | const`[pure virtual]`

virtual Connection* oracle::occi::StatelessConnectionPool::getProxyConnection | ( | const OCCI_STD_NAMESPACE::string & | name,
|  | OCCI_STD_NAMESPACE::string | roles[],
|  | unsigned int | numRoles,
|  | const OCCI_STD_NAMESPACE::string & | tag = `""`,
|  | Connection::ProxyType | proxyType = `Connection::PROXY_DEFAULT`
| ) |  | `[pure virtual]`

virtual Connection* oracle::occi::StatelessConnectionPool::getProxyConnection | ( | const UString & | name,
|  | const UString & | tag,
|  | Connection::ProxyType | proxyType = `Connection::PROXY_DEFAULT`
| ) |  | `[pure virtual]`

virtual Connection* oracle::occi::StatelessConnectionPool::getProxyConnection | ( | const OCCI_STD_NAMESPACE::string & | name,
|  | const OCCI_STD_NAMESPACE::string & | tag = `""`,
|  | Connection::ProxyType | proxyType = `Connection::PROXY_DEFAULT`
| ) |  | `[pure virtual]`

virtual Connection* oracle::occi::StatelessConnectionPool::getProxyConnection | ( | const UString & | name,
|  | OCCI_STD_NAMESPACE::string | roles[],
|  | unsigned int | numRoles,
|  | const UString & | tag,
|  | Connection::ProxyType | proxyType = `Connection::PROXY_DEFAULT`
| ) |  | `[pure virtual]`

virtual unsigned int oracle::occi::StatelessConnectionPool::getStmtCacheSize | ( |  | ) | const`[pure virtual]`

virtual unsigned int oracle::occi::StatelessConnectionPool::getTimeOut | ( |  | ) | const`[pure virtual]`

virtual void oracle::occi::StatelessConnectionPool::releaseConnection | ( | Connection * | connection,
|  | const UString & | tag
| ) |  | `[pure virtual]`

virtual void oracle::occi::StatelessConnectionPool::releaseConnection | ( | Connection * | connection,
|  | const OCCI_STD_NAMESPACE::string & | tag = `""`
| ) |  | `[pure virtual]`

virtual void oracle::occi::StatelessConnectionPool::setBusyOption | ( | BusyOption | busyOption | ) | `[pure virtual]`

virtual void oracle::occi::StatelessConnectionPool::setPoolSize | ( | unsigned int | maxConn = `1`,
|  | unsigned int | minConn = `0`,
|  | unsigned int | incrConn = `1`
| ) |  | `[pure virtual]`

virtual void oracle::occi::StatelessConnectionPool::setStmtCacheSize | ( | unsigned int | cacheSize | ) | `[pure virtual]`

virtual void oracle::occi::StatelessConnectionPool::setTimeOut | ( | unsigned int | connTimeOut = `0` | ) | `[pure virtual]`

virtual void oracle::occi::StatelessConnectionPool::terminateConnection | ( | Connection * | connection | ) | `[pure virtual]`

The documentation for this class was generated from the following file:

- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/drivers/Oracle/OCI/include/occiControl.h

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines