Home
last modified time | relevance | path

Searched refs:ConnectionPool (Results 1 - 8 of 8) sorted by relevance

/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/
H A Dconnection_pool.h36 class ConnectionPool : public std::enable_shared_from_this<ConnectionPool> { class
41 static std::shared_ptr<ConnectionPool> Create(const RdbStoreConfig &config, int &errCode);
42 ~ConnectionPool();
43 static std::pair<RebuiltType, std::shared_ptr<ConnectionPool>> HandleDataCorruption
121 explicit ConnectionPool(const RdbStoreConfig &storeConfig);
H A Drdb_store_impl.h200 int SetDefaultEncryptAlgo(const ConnectionPool::SharedConn &conn, const RdbStoreConfig &config);
228 std::shared_ptr<ConnectionPool> connectionPool_ = nullptr;
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Dconnection_pool.cpp15 #define LOG_TAG "ConnectionPool"
40 using ConnPool = ConnectionPool;
75 std::pair<RebuiltType, std::shared_ptr<ConnectionPool>> ConnPool::HandleDataCorruption( in HandleDataCorruption()
78 std::pair<RebuiltType, std::shared_ptr<ConnectionPool>> result; in HandleDataCorruption()
100 ConnPool::ConnectionPool(const RdbStoreConfig &storeConfig) in ConnectionPool() function in OHOS::NativeRdb::ConnPool
147 ConnPool::~ConnectionPool() in ~ConnectionPool()
452 int32_t ConnectionPool::Dump(bool isWriter, const char *header) in Dump()
701 int32_t ConnectionPool::Container::Drop(std::shared_ptr<ConnNode> node) in Drop()
711 int32_t ConnectionPool::Container::RelDetails(std::shared_ptr<ConnNode> node) in RelDetails()
724 bool ConnectionPool
[all...]
H A Drdb_store_impl.cpp887 connectionPool_ = ConnectionPool::Create(config_, errCode); in RdbStoreImpl()
900 std::tie(rebuild_, connectionPool_) = ConnectionPool::HandleDataCorruption(config_, errCode); in RdbStoreImpl()
1586 int RdbStoreImpl::SetDefaultEncryptAlgo(const ConnectionPool::SharedConn &conn, const RdbStoreConfig &config) in SetDefaultEncryptAlgo()
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/mock/include/
H A Drdb_store_impl.h109 int SetDefaultEncryptAlgo(const ConnectionPool::SharedConn &conn, const RdbStoreConfig &config);
135 std::shared_ptr<ConnectionPool> connectionPool_ = nullptr;
/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/
H A Drdb_store_impl_test.cpp428 auto connectionPool = ConnectionPool::Create(config, errCode); in HWTEST_F()
454 auto connectionPool = ConnectionPool::Create(config, errCode); in HWTEST_F()
494 auto connectionPool = ConnectionPool::Create(config, errCode); in HWTEST_F()
H A Drdb_trans_db_test.cpp42 static std::shared_ptr<ConnectionPool> connPool_;
48 std::shared_ptr<ConnectionPool> RdbTransDBTest::connPool_ = nullptr;
72 connPool_ = ConnectionPool::Create(config_, errCode); in SetUpTestCase()
/foundation/distributeddatamgr/relational_store/test/native/relational_store_test/unittest/
H A Drdb_store_test.cpp428 auto connectionPool = ConnectionPool::Create(config, errCode); in HWTEST_F()
454 auto connectionPool = ConnectionPool::Create(config, errCode); in HWTEST_F()
494 auto connectionPool = ConnectionPool::Create(config, errCode); in HWTEST_F()

Completed in 15 milliseconds