Interface FrameMetric.Builder

    • Method Detail

      • frameName

        FrameMetric.Builder frameName​(String frameName)

        Name of the method common across the multiple occurrences of a frame in an application profile.

        Parameters:
        frameName - Name of the method common across the multiple occurrences of a frame in an application profile.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • threadStates

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

        List of application runtime thread states used to get the counts for a frame a derive a metric value.

        Parameters:
        threadStates - List of application runtime thread states used to get the counts for a frame a derive a metric value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • threadStates

        FrameMetric.Builder threadStates​(String... threadStates)

        List of application runtime thread states used to get the counts for a frame a derive a metric value.

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

        FrameMetric.Builder type​(String type)

        A type of aggregation 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 occurrences of all frames in a profile.

        Parameters:
        type - A type of aggregation 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 occurrences 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

        FrameMetric.Builder type​(MetricType type)

        A type of aggregation 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 occurrences of all frames in a profile.

        Parameters:
        type - A type of aggregation 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 occurrences 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