Interface Performance


  • public interface Performance
    • Method Summary

      Modifier and Type Method Description
      void disable()
      Disable collecting and reporting metrics.
      void enable()
      Enable collecting and reporting metrics.
      java.util.List<Metric> getMetrics()
      Retrieve current values of run-time metrics.
      void setTimeDomain​(TimeDomain timeDomain)
      Sets time domain to use for collecting and reporting duration metrics.
    • Method Detail

      • disable

        void disable()
        Disable collecting and reporting metrics.
      • enable

        void enable()
        Enable collecting and reporting metrics.
      • setTimeDomain

        void setTimeDomain​(TimeDomain timeDomain)
        Sets time domain to use for collecting and reporting duration metrics. Note that this must be called before enabling metrics collection. Calling this method while metrics collection is enabled returns an error.
        Parameters:
        timeDomain - Time domain
      • getMetrics

        java.util.List<Metric> getMetrics()
        Retrieve current values of run-time metrics.
        Returns:
        Current values for run-time metrics.