Searched refs:DbQueryStatus (Results 1 – 4 of 4) sorted by relevance
/base/hiviewdfx/hiview/base/event_store/test/unittest/common/ |
D | sys_event_dao_test.cpp | 378 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/ |
D | sys_event_query_wrapper.cpp | 125 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/ |
D | event_query_wrapper_builder.cpp | 241 [&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/ |
D | sys_event_query.h | 35 enum DbQueryStatus { SUCCEED = 0, CONCURRENT, OVER_TIME, OVER_LIMIT, TOO_FREQENTLY }; enum 40 using DbQueryCallback = std::function<void(DbQueryStatus)>;
|