Class ComponentHealthThresholdMonitor

java.lang.Object
org.apache.hadoop.yarn.service.monitor.ComponentHealthThresholdMonitor
All Implemented Interfaces:
Runnable

public class ComponentHealthThresholdMonitor extends Object implements Runnable
Monitors the health of containers of a specific component at a regular interval. It takes necessary actions when the health of a component drops below a desired threshold.
  • Constructor Details

    • ComponentHealthThresholdMonitor

      public ComponentHealthThresholdMonitor(Component component, int healthThresholdPercent, long healthThresholdWindowSecs)
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable