de.is24.util.monitoring.measurement
Class AboveThresholdHistorizableHandler

java.lang.Object
  extended by de.is24.util.monitoring.measurement.AboveThresholdHistorizableHandler
All Implemented Interfaces:
MeasurementHandler

public class AboveThresholdHistorizableHandler
extends Object
implements MeasurementHandler


Field Summary
private  long threshold
           
private  String thresholdName
           
 
Constructor Summary
AboveThresholdHistorizableHandler(String thresholdName, long threshold)
           
 
Method Summary
 void handle(String monitorName, long measurement)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

thresholdName

private String thresholdName

threshold

private long threshold
Constructor Detail

AboveThresholdHistorizableHandler

public AboveThresholdHistorizableHandler(String thresholdName,
                                         long threshold)
Method Detail

handle

public void handle(String monitorName,
                   long measurement)
Specified by:
handle in interface MeasurementHandler


Copyright © 2013 Immobilien Scout GmbH. All Rights Reserved.