measurement.saveMeasurement(usage(), numberOfSamples,
getOverloadActivationAlgorithm(),
getOverloadDeactivationAlgorithm());
OverloadEvent initialSipAction = sipInitial
.compareThreshold(getIrThreshold());
if (initialSipAction != null) {
events.add(initialSipAction);
}
OverloadEvent subsequentSipAction = sipSubsequent
.compareThreshold(getSrThreshold());
if (subsequentSipAction != null) {
events.add(subsequentSipAction);
}
OverloadEvent httpAction = http.compareThreshold(getHttpThreshold());
if (httpAction != null) {
events.add(httpAction);
}
OverloadEvent allAction = all.compareThreshold(getMmThreshold());
if (allAction != null) {
events.add(allAction);
}
return events;