Home
last modified time | relevance | path

Searched refs:ConnectionPool (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/
H A Dconnection_pool.h36 class ConnectionPool : public std::enable_shared_from_this<ConnectionPool> {
41 static std::shared_ptr<ConnectionPool> Create(const RdbStoreConfig &config, int &errCode);
42 ~ConnectionPool();
43 static std::pair<RebuiltType, std::shared_ptr<ConnectionPool>> HandleDataCorruption
119 explicit ConnectionPool(const RdbStoreConfig &storeConfig);
H A Drdb_store_impl.h214 int SetDefaultEncryptAlgo(const ConnectionPool::SharedConn &conn, const RdbStoreConfig &config);
242 std::shared_ptr<ConnectionPool> connectionPool_ = nullptr;
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Dconnection_pool.cpp39 using ConnPool = ConnectionPool;
74 std::pair<RebuiltType, std::shared_ptr<ConnectionPool>> ConnPool::HandleDataCorruption in HandleDataCorruption()
77 std::pair<RebuiltType, std::shared_ptr<ConnectionPool>> result; in HandleDataCorruption()
104 ConnPool::ConnectionPool(const RdbStoreConfig &storeConfig) in ConnectionPool() function in OHOS::NativeRdb::ConnPool
151 ConnPool::~ConnectionPool() in ~ConnectionPool()
477 int32_t ConnectionPool::Dump(bool isWriter, const char *header) in Dump()
724 int32_t ConnectionPool::Container::Drop(std::shared_ptr<ConnNode> node) in Drop()
734 int32_t ConnectionPool::Container::RelDetails(std::shared_ptr<ConnNode> node) in RelDetails()
747 bool ConnectionPool::CheckIntegrity(const std::string &dbPath) in CheckIntegrity()
H A Drdb_store_impl.cpp889 connectionPool_ = ConnectionPool::Create(config_, errCode); in RdbStoreImpl()
909 … std::tie(rebuild_, connectionPool_) = ConnectionPool::HandleDataCorruption(config_, errCode); in RdbStoreImpl()
1605 int RdbStoreImpl::SetDefaultEncryptAlgo(const ConnectionPool::SharedConn &conn, const RdbStoreConfi… in SetDefaultEncryptAlgo()
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/mock/include/
H A Drdb_store_impl.h121 int SetDefaultEncryptAlgo(const ConnectionPool::SharedConn &conn, const RdbStoreConfig &config);
147 std::shared_ptr<ConnectionPool> connectionPool_ = nullptr;
/ohos5.0/commonlibrary/rust/ylong_http/
H A DREADME_zh.md42 - `ConnectionPool`:主要负责大量连接管理,管理所有 `Dispatcher` 的生命周期,包括启动、运行、停止。HTTP 协议是基于连接的通信协议,涉及连接复用、连接管理等功能。
H A DREADME.md46 - `ConnectionPool`: Mainly responsible for a large number of connection management, managing the li…
/ohos5.0/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/
H A Drdb_store_impl_test.cpp450 auto connectionPool = ConnectionPool::Create(config, errCode);
476 auto connectionPool = ConnectionPool::Create(config, errCode);
516 auto connectionPool = ConnectionPool::Create(config, errCode);
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()