org.inria.myriads.snoozenode.localcontroller.monitoring.threshold
Class ThresholdCrossingDetector
java.lang.Object
org.inria.myriads.snoozenode.localcontroller.monitoring.threshold.ThresholdCrossingDetector
public final class ThresholdCrossingDetector
- extends Object
Processes the received monitoring data.
- Author:
- Eugen Feller
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThresholdCrossingDetector
public ThresholdCrossingDetector(MonitoringThresholds monitoringThresholds,
List<Double> totalCapacity)
- Constructor.
- Parameters:
monitoringThresholds
- The monitoring thresholdstotalCapacity
- The total local controller capacity
detectThresholdCrossing
public boolean detectThresholdCrossing(LocalControllerDataTransporter monitoringData)
- Detects possible threshold crossings.
- Parameters:
monitoringData
- The monitoring data
- Returns:
- true if crossing detected, false otherwise
Copyright © 2012. All Rights Reserved.