org.inria.myriads.snoozenode.localcontroller.monitoring.threshold
Class ThresholdCrossingDetector

java.lang.Object
  extended by org.inria.myriads.snoozenode.localcontroller.monitoring.threshold.ThresholdCrossingDetector

public final class ThresholdCrossingDetector
extends Object

Processes the received monitoring data.

Author:
Eugen Feller

Constructor Summary
ThresholdCrossingDetector(MonitoringThresholds monitoringThresholds, List<Double> totalCapacity)
          Constructor.
 
Method Summary
 boolean detectThresholdCrossing(LocalControllerDataTransporter monitoringData)
          Detects possible threshold crossings.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThresholdCrossingDetector

public ThresholdCrossingDetector(MonitoringThresholds monitoringThresholds,
                                 List<Double> totalCapacity)
Constructor.

Parameters:
monitoringThresholds - The monitoring thresholds
totalCapacity - The total local controller capacity
Method Detail

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.