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

Method GetComments

lib/icinga/checkable-comment.cpp:46–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46std::set<Comment::Ptr> Checkable::GetComments() const
47{
48 std::unique_lock<std::mutex> lock(m_CommentMutex);
49 return m_Comments;
50}
51
52Comment::Ptr Checkable::GetLastComment() const
53{

Callers 9

SerializeStateMethod · 0.80
AddCommentsMethod · 0.80
CommentsAccessorMethod · 0.80
CommentsAccessorMethod · 0.80
RemoveCommentMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected