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

Method GetLastCheck

lib/icinga/checkable-check.cpp:90–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90double Checkable::GetLastCheck() const
91{
92 CheckResult::Ptr cr = GetLastCheckResult();
93 double schedule_end = -1;
94
95 if (cr)
96 schedule_end = cr->GetScheduleEnd();
97
98 return schedule_end;
99}
100
101Checkable::ProcessingResult Checkable::ProcessCheckResult(const CheckResult::Ptr& cr, const WaitGroup::Ptr& producer, const MessageOrigin::Ptr& origin)
102{

Callers 7

SerializeStateMethod · 0.80
GetStatusFieldsMethod · 0.80
GetStatusFieldsMethod · 0.80
LastCheckAccessorMethod · 0.80
StalenessAccessorMethod · 0.80
LastCheckAccessorMethod · 0.80
StalenessAccessorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected