Class HealthThresholds

java.lang.Object
top.magstar.framework.events.models.monitors.HealthThresholds

public class HealthThresholds extends Object
  • Constructor Details

    • HealthThresholds

      public HealthThresholds()
  • Method Details

    • defaultThresholds

      public static HealthThresholds defaultThresholds()
    • getMaxEventsPerSecond

      public double getMaxEventsPerSecond()
    • setMaxEventsPerSecond

      public void setMaxEventsPerSecond(double maxEventsPerSecond)
    • getMaxHandlerExecutionTimeMs

      public int getMaxHandlerExecutionTimeMs()
    • setMaxHandlerExecutionTimeMs

      public void setMaxHandlerExecutionTimeMs(int maxHandlerExecutionTimeMs)
    • getWarningErrorRate

      public double getWarningErrorRate()
    • setWarningErrorRate

      public void setWarningErrorRate(double warningErrorRate)
    • getCriticalErrorRate

      public double getCriticalErrorRate()
    • setCriticalErrorRate

      public void setCriticalErrorRate(double criticalErrorRate)
    • getMaxRecentErrors

      public int getMaxRecentErrors()
    • setMaxRecentErrors

      public void setMaxRecentErrors(int maxRecentErrors)
    • getMinInvocationsForHealthCheck

      public int getMinInvocationsForHealthCheck()
    • setMinInvocationsForHealthCheck

      public void setMinInvocationsForHealthCheck(int minInvocationsForHealthCheck)
    • getMinHandlerSuccessRate

      public double getMinHandlerSuccessRate()
    • setMinHandlerSuccessRate

      public void setMinHandlerSuccessRate(double minHandlerSuccessRate)
    • getMaxMemoryUsagePercent

      public double getMaxMemoryUsagePercent()
    • setMaxMemoryUsagePercent

      public void setMaxMemoryUsagePercent(double maxMemoryUsagePercent)
    • getMaxActiveThreads

      public int getMaxActiveThreads()
    • setMaxActiveThreads

      public void setMaxActiveThreads(int maxActiveThreads)
    • getMaxEventLatencyMs

      public int getMaxEventLatencyMs()
    • setMaxEventLatencyMs

      public void setMaxEventLatencyMs(int maxEventLatencyMs)