Class CPUMonitor

java.lang.Object
java.lang.Thread
com.nt.udc.util.CPUMonitor
All Implemented Interfaces:
Runnable

public class CPUMonitor extends Thread
  • Field Details

  • Constructor Details

    • CPUMonitor

      public CPUMonitor(int poll)
    • CPUMonitor

      public CPUMonitor(String osaHome, int sample, int freq, com.nt.udc.nodemgr.OSANodeMgr nm, Logger log, PerformanceLogger cpuml)
  • Method Details

    • setRedThreshold

      public void setRedThreshold(int red)
    • getRedThreshold

      public int getRedThreshold()
    • setYellowThreshold

      public void setYellowThreshold(int yel)
    • getYellowThreshold

      public int getYellowThreshold()
    • setPollTime

      public void setPollTime(int sample, int freq)
    • getPollTime

      public int getPollTime()
    • run

      public void run()
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread
    • shutdown

      public void shutdown()
    • main

      public static void main(String[] args)