Class AggregatedMetricsResponseBody
- java.lang.Object
-
- org.apache.flink.runtime.rest.messages.job.metrics.AggregatedMetricsResponseBody
-
- All Implemented Interfaces:
ResponseBody
public class AggregatedMetricsResponseBody extends Object implements ResponseBody
Response type for a collection of aggregated metrics.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"}]
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AggregatedMetricsResponseBody.Deserializer
JSON deserializer forAggregatedMetricsResponseBody
.static class
AggregatedMetricsResponseBody.Serializer
JSON serializer forAggregatedMetricsResponseBody
.
-
Constructor Summary
Constructors Constructor Description AggregatedMetricsResponseBody(Collection<AggregatedMetric> metrics)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<AggregatedMetric>
getMetrics()
-
-
-
Constructor Detail
-
AggregatedMetricsResponseBody
public AggregatedMetricsResponseBody(Collection<AggregatedMetric> metrics)
-
-
Method Detail
-
getMetrics
public Collection<AggregatedMetric> getMetrics()
-
-