public static interface Metric.Builder extends SdkPojo, CopyableBuilder<Metric.Builder,Metric>
| Modifier and Type | Method and Description |
|---|---|
Metric.Builder |
frameName(String frameName)
The name of the method that appears as a frame in any stack in a profile.
|
Metric.Builder |
threadStates(Collection<String> threadStates)
The list of application runtime thread states that is used to calculate the metric value for the frame.
|
Metric.Builder |
threadStates(String... threadStates)
The list of application runtime thread states that is used to calculate the metric value for the frame.
|
Metric.Builder |
type(MetricType type)
A type that specifies how a metric for a frame is analyzed.
|
Metric.Builder |
type(String type)
A type that specifies how a metric for a frame is analyzed.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildMetric.Builder frameName(String frameName)
The name of the method that appears as a frame in any stack in a profile.
frameName - The name of the method that appears as a frame in any stack in a profile.Metric.Builder threadStates(Collection<String> threadStates)
The list of application runtime thread states that is used to calculate the metric value for the frame.
threadStates - The list of application runtime thread states that is used to calculate the metric value for the
frame.Metric.Builder threadStates(String... threadStates)
The list of application runtime thread states that is used to calculate the metric value for the frame.
threadStates - The list of application runtime thread states that is used to calculate the metric value for the
frame.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.
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.MetricType,
MetricTypeMetric.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.
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.MetricType,
MetricTypeCopyright © 2023. All rights reserved.