Searched refs:EventStoreConfig (Results 1 – 5 of 5) sorted by relevance
40 EventStoreConfig::EventStoreConfig() in EventStoreConfig() function in OHOS::HiviewDFX::EventStore::EventStoreConfig45 void EventStoreConfig::Init() in Init()74 bool EventStoreConfig::Contain(int eventType) in Contain()79 uint32_t EventStoreConfig::GetStoreDay(int eventType) in GetStoreDay()84 uint32_t EventStoreConfig::GetMaxSize(int eventType) in GetMaxSize()89 uint32_t EventStoreConfig::GetMaxFileNum(int eventType) in GetMaxFileNum()94 uint32_t EventStoreConfig::GetPageSize(int eventType) in GetPageSize()99 uint32_t EventStoreConfig::GetMaxFileSize(int eventType) in GetMaxFileSize()
27 class EventStoreConfig : public OHOS::DelayedRefSingleton<EventStoreConfig> {29 EventStoreConfig();30 ~EventStoreConfig() {} in ~EventStoreConfig()
264 auto maxSize = EventStoreConfig::GetInstance().GetMaxSize(eventType) * NUM_OF_BYTES_IN_MB; in InitQuotaMap()265 auto maxFileNum = EventStoreConfig::GetInstance().GetMaxFileNum(eventType); in InitQuotaMap()
163 return EventStoreConfig::GetInstance().GetMaxFileSize(type_) * NUM_OF_BYTES_IN_KB; in GetMaxFileSize()
145 uint32_t pageSize = EventStoreConfig::GetInstance().GetPageSize(sysEvent->eventType_); in WriteHeader()