Interface Metric.Builder

    • Method Detail

      • frameName

        Metric.Builder frameName​(String frameName)

        The name of the method that appears as a frame in any stack in a profile.

        Parameters:
        frameName - The name of the method that appears as a frame in any stack in a profile.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • threadStates

        Metric.Builder threadStates​(Collection<String> threadStates)

        The list of application runtime thread states that is used to calculate the metric value for the frame.

        Parameters:
        threadStates - The list of application runtime thread states that is used to calculate the metric value for the frame.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • threadStates

        Metric.Builder threadStates​(String... threadStates)

        The list of application runtime thread states that is used to calculate the metric value for the frame.

        Parameters:
        threadStates - The list of application runtime thread states that is used to calculate the metric value for the frame.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        Metric.Builder type​(String type)

        A type that specifies how a metric for a frame is analyzed. The supported value AggregatedRelativeTotalTime is an aggregation of the metric value for one frame that is calculated across the occurences of all frames in a profile.

        Parameters:
        type - A type that specifies how a metric for a frame is analyzed. The supported value AggregatedRelativeTotalTime is an aggregation of the metric value for one frame that is calculated across the occurences of all frames in a profile.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        MetricType, MetricType
      • type

        Metric.Builder type​(MetricType type)

        A type that specifies how a metric for a frame is analyzed. The supported value AggregatedRelativeTotalTime is an aggregation of the metric value for one frame that is calculated across the occurences of all frames in a profile.

        Parameters:
        type - A type that specifies how a metric for a frame is analyzed. The supported value AggregatedRelativeTotalTime is an aggregation of the metric value for one frame that is calculated across the occurences of all frames in a profile.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        MetricType, MetricType