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

Method RegisterNotification

lib/icinga/checkable-notification.cpp:121–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121void Checkable::RegisterNotification(const Notification::Ptr& notification)
122{
123 std::unique_lock<std::mutex> lock(m_NotificationMutex);
124 m_Notifications.insert(notification);
125}
126
127void Checkable::UnregisterNotification(const Notification::Ptr& notification)
128{

Callers 2

OnAllConfigLoadedMethod · 0.80
StartMethod · 0.80

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected