Class LoadMonitor

java.lang.Object
convex.core.util.LoadMonitor

public class LoadMonitor extends Object
lightweight load monitor class. Load is measured on a per-thread basis.
  • Constructor Details

    • LoadMonitor

      public LoadMonitor()
  • Method Details

    • getLoad

      public static double getLoad(Thread t)
    • up

      public static void up()
      Signals start of load for current Thread
    • down

      public static void down()
      Signals end of load for current Thread
    • get

      public static convex.core.util.LoadMonitor.LoadMetrics get(Thread t)