26 #ifndef __TERRALIB_POSTGIS_INTERNAL_CONNECTIONPOOL_H
27 #define __TERRALIB_POSTGIS_INTERNAL_CONNECTIONPOOL_H
30 #include "../dataaccess/datasource/AbstractConnectionPool.h"
60 bool isInitialized()
const;
64 std::size_t getPoolSize()
const;
66 std::size_t getInitialPoolSize()
const;
68 void setInitialPoolSize(std::size_t size);
70 std::size_t getMinPoolSize()
const;
72 void setMinPoolSize(std::size_t size);
74 std::size_t getMaxPoolSize()
const;
76 void setMaxPoolSize(std::size_t size);
111 unsigned int getMaxIdleTime()
const;
126 void setMaxIdleTime(
unsigned int t);
157 #endif // __TERRALIB_POSTGIS_INTERNAL_CONNECTIONPOOL_H
Configuration flags for the PostGIS Driver Implementation of TerraLib.
This class implements a connection pool for the PostGIS driver.
A class that implements a connection to a PostgreSQL database.
#define TEPGISEXPORT
You can use this macro in order to export/import classes and functions from this module.
This class defines the basic interface for a connection pool.
ConnectionPoolImpl * m_pImpl
A pointer to the pool implementation.