Home
last modified time | relevance | path

Searched refs:DbQueryStatus (Results 1 – 4 of 4) sorted by relevance

/base/hiviewdfx/hiview/base/event_store/test/unittest/common/
Dsys_event_dao_test.cpp378 EventStore::DbQueryStatus queryStatus = EventStore::DbQueryStatus::SUCCEED;
386 [&queryStatus] (EventStore::DbQueryStatus status) { in __anon39470c6d0202()
387 if (status != EventStore::DbQueryStatus::SUCCEED) { in __anon39470c6d0202()
395 ASSERT_TRUE(queryStatus == EventStore::DbQueryStatus::CONCURRENT ||
396 queryStatus == EventStore::DbQueryStatus::TOO_FREQENTLY);
410 EventStore::DbQueryStatus queryStatus = EventStore::DbQueryStatus::SUCCEED;
413 [&queryStatus] (EventStore::DbQueryStatus status) { in __anon39470c6d0402()
414 if (status != EventStore::DbQueryStatus::SUCCEED) { in __anon39470c6d0402()
418 ASSERT_TRUE(queryStatus == EventStore::DbQueryStatus::OVER_LIMIT);
432 EventStore::DbQueryStatus queryStatus = EventStore::DbQueryStatus::SUCCEED;
[all …]
/base/hiviewdfx/hiview/base/event_store/
Dsys_event_query_wrapper.cpp125 queryCallback(DbQueryStatus::SUCCEED); in Execute()
147 callback(DbQueryStatus::OVER_LIMIT); in IsQueryCntLimitValid()
164 callback(DbQueryStatus::OVER_TIME); in IsQueryCostTimeValid()
182 callback(DbQueryStatus::CONCURRENT); in IsConcurrentQueryCntValid()
217 callback(DbQueryStatus::TOO_FREQENTLY); in IsQueryFrequenceValid()
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/
Devent_query_wrapper_builder.cpp241 [&queryResult] (EventStore::DbQueryStatus status) { in Query()
242 std::unordered_map<EventStore::DbQueryStatus, int32_t> statusToCode { in Query()
243 { EventStore::DbQueryStatus::CONCURRENT, ERR_TOO_MANY_CONCURRENT_QUERIES }, in Query()
244 { EventStore::DbQueryStatus::OVER_TIME, ERR_QUERY_OVER_TIME }, in Query()
245 { EventStore::DbQueryStatus::OVER_LIMIT, ERR_QUERY_OVER_LIMIT }, in Query()
246 { EventStore::DbQueryStatus::TOO_FREQENTLY, ERR_QUERY_TOO_FREQUENTLY }, in Query()
/base/hiviewdfx/hiview/base/event_store/include/
Dsys_event_query.h35 enum DbQueryStatus { SUCCEED = 0, CONCURRENT, OVER_TIME, OVER_LIMIT, TOO_FREQENTLY }; enum
40 using DbQueryCallback = std::function<void(DbQueryStatus)>;