Package org.jppf.admin.web.health
Class AlertThresholds
java.lang.Object
org.jppf.admin.web.health.AlertThresholds
- Author:
- Laurent Cohen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubledoublevoidsetCritical(double critical) Set the critical threshold value.voidsetWarning(double warning) Set the warning threshold value.
-
Constructor Details
-
AlertThresholds
public AlertThresholds(double warning, double critical) - Parameters:
warning- the warning level value.critical- the critical level value.
-
-
Method Details
-
getWarning
public double getWarning()- Returns:
- the warning threshold value.
-
setWarning
public void setWarning(double warning) Set the warning threshold value.- Parameters:
warning- the value to set.
-
getCritical
public double getCritical()- Returns:
- the critical threshold value.
-
setCritical
public void setCritical(double critical) Set the critical threshold value.- Parameters:
critical- the value to set.
-