Class AlertThresholds

java.lang.Object
org.jppf.admin.web.health.AlertThresholds

public class AlertThresholds extends Object
Author:
Laurent Cohen
  • 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.