MCPcopy Create free account
hub / github.com/Icinga/icinga2 / CanProcessEvent

Method CanProcessEvent

lib/remote/eventqueue.cpp:23–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21{ }
22
23bool EventQueue::CanProcessEvent(const String& type) const
24{
25 std::unique_lock<std::mutex> lock(m_Mutex);
26
27 return m_Types.find(type) != m_Types.end();
28}
29
30void EventQueue::ProcessEvent(const Dictionary::Ptr& event)
31{

Callers 1

GetQueuesForTypeMethod · 0.80

Calls 2

findMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected