public class AggregatedMetricsResponseBody extends Object implements ResponseBody
As JSON this type will be represented as an array of metrics, i.e., the field metrics
will not show up. For example, a collection with a single metric will be represented as
follows:
[{"id": "metricName", "min": "1"}]
| 限定符和类型 | 类和说明 |
|---|---|
static class |
AggregatedMetricsResponseBody.Deserializer
JSON deserializer for
AggregatedMetricsResponseBody. |
static class |
AggregatedMetricsResponseBody.Serializer
JSON serializer for
AggregatedMetricsResponseBody. |
| 构造器和说明 |
|---|
AggregatedMetricsResponseBody(Collection<AggregatedMetric> metrics) |
public AggregatedMetricsResponseBody(Collection<AggregatedMetric> metrics)
public Collection<AggregatedMetric> getMetrics()
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.