1 #ifndef INCLUDE_ORA_TRANSACTIONCACHE_H
2 #define INCLUDE_ORA_TRANSACTIONCACHE_H
8 #include <boost/shared_ptr.hpp>
9 #include <boost/weak_ptr.hpp>
13 class DatabaseContainer;
14 class DatabaseUtilitySession;
38 const std::map<int, Handle<DatabaseContainer> >&
containers();
42 std::map<std::string,std::string>&
dbParams();
void eraseContainer(int id, const std::string &name)
Handle< DatabaseContainer > getContainer(int id)
std::map< int, Handle< DatabaseContainer > > m_containersById
void setUtility(Handle< DatabaseUtilitySession > &utility)
virtual ~TransactionCache()
void addContainer(int id, const std::string &name, Handle< DatabaseContainer > &contPtr)
Handle< DatabaseUtilitySession > utility()
std::map< std::string, int > m_containersByName
void setDbExists(bool exists)
const std::map< int, Handle< DatabaseContainer > > & containers()
std::map< std::string, boost::weak_ptr< void > > m_namedRefCache
std::map< std::string, std::string > m_dbParams
boost::shared_ptr< void > getNamedReference(const std::string &name)
Handle< DatabaseUtilitySession > m_utility
void setDropPermission(bool allowed)
std::pair< bool, bool > m_dbExists
void cleanUpNamedRefCache()
bool dropPermissionLoaded()
std::pair< bool, bool > m_dropPermission
char data[epos_bytes_allocation]
void setNamedReference(const std::string &name, boost::shared_ptr< void > &data)
std::map< std::string, std::string > & dbParams()