26 #ifndef __TERRALIB_DATAACCESS_INTERNAL_CONNECTIONPOOLMANAGER_H 
   27 #define __TERRALIB_DATAACCESS_INTERNAL_CONNECTIONPOOLMANAGER_H 
   30 #include "../../common/Singleton.h" 
   31 #include "../Config.h" 
   37 #include <boost/thread.hpp> 
   38 #include <boost/thread/mutex.hpp> 
   44     class AbstractConnectionPool;
 
   84         bool isInitialized() 
const;
 
  114 #endif  // __TERRALIB_DATAACCESS_INTERNAL_CONNECTIONPOOLMANAGER_H 
bool m_initialized
A flag that indicates if the manager is monitoring the pools. 
 
boost::thread m_thread
The monitoring thread. 
 
std::vector< AbstractConnectionPool * > m_pools
The list of monitored pools. 
 
A singleton for managing the connection pools available in the system. 
 
boost::mutex m_mtx
A mutex to lock the manager access. 
 
This class defines the basic interface for a connection pool. 
 
#define TEDATAACCESSEXPORT
You can use this macro in order to export/import classes and functions from this module. 
 
Template support for singleton pattern.