Enum Class AttributeEngineProfiler

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

public enum AttributeEngineProfiler extends Enum<AttributeEngineProfiler>
Author:
Maciej Główka on 04.12.2018
  • Enum Constant Details

  • Method Details

    • values

      public static AttributeEngineProfiler[] 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 AttributeEngineProfiler 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(AttributeKey key, long t1, long t2)
    • addInvokeMeasure

      public void addInvokeMeasure(AttributeKey key, long t1, long t2)
    • getInvokeProfiler

      public AttributeProfiler getInvokeProfiler()
    • getLoadProfiler

      public AttributeProfiler getLoadProfiler()
    • getLoadStats

      public List<AttributeStat> getLoadStats()
    • getInvokeStats

      public List<AttributeStat> getInvokeStats()
      Returns gross statistics
      Returns:
      returns gross statistics
    • getInvokeStat

      public AttributeStat getInvokeStat(AttributeKey key)
    • getLoadStat

      public AttributeStat getLoadStat(AttributeKey key)