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

Method AddNotification

lib/icinga/usergroup.cpp:87–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87void UserGroup::AddNotification(const Notification::Ptr& notification)
88{
89 std::unique_lock<std::mutex> lock(m_UserGroupMutex);
90 m_Notifications.insert(notification);
91}
92
93void UserGroup::RemoveNotification(const Notification::Ptr& notification)
94{

Callers 1

StartMethod · 0.80

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected