Enum Class EngineProfiler

java.lang.Object
java.lang.Enum<EngineProfiler>
io.higson.runtime.profiler.engine.EngineProfiler
All Implemented Interfaces:
Serializable, Comparable<EngineProfiler>, Constable

public enum EngineProfiler extends Enum<EngineProfiler>
Author:
przemek hertel
  • Enum Constant Details

  • Method Details

    • values

      public static EngineProfiler[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static EngineProfiler valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • addLoadMeasure

      public void addLoadMeasure(String paramName, long t1, long t2)
    • addGetMeasure

      public void addGetMeasure(String uid, long t1, long t2)
    • getInvokeProfiler

      public CommonProfiler getInvokeProfiler()
    • getLoadProfiler

      public CommonProfiler getLoadProfiler()
    • getLoadStats

      public List<ProfilerStat> getLoadStats()
    • getInvokeStats

      public List<ProfilerStat> getInvokeStats()
      Returns gross statistic
      Returns:
      gross statistic
    • getInvokeStat

      public ProfilerStat getInvokeStat(String code)
    • getLoadStat

      public ProfilerStat getLoadStat(String code)