## Uses of Class
org.apache.hadoop.yarn.api.records.timelineservice.TimelineMetric

- Packages that use TimelineMetric
  Package | Description
  --- | ---
  org.apache.hadoop.yarn.api.records.timelineservice | Package org.apache.hadoop.yarn.api.records.timelineservice contains classes which define the data model for ATSv2.

- - ### Uses of TimelineMetric in org.apache.hadoop.yarn.api.records.timelineservice

    Methods in org.apache.hadoop.yarn.api.records.timelineservice that return TimelineMetric
    Modifier and Type | Method and Description
    --- | ---
    `static TimelineMetric` | TimelineMetric.`aggregateTo(TimelineMetric incomingMetric, TimelineMetric baseAggregatedMetric)` Aggregate an incoming metric to the base aggregated metric with the given operation state in a stateless fashion.
    `static TimelineMetric` | TimelineMetric.`aggregateTo(TimelineMetric incomingMetric, TimelineMetric baseAggregatedMetric, Map<Object,Object> state)` Aggregate an incoming metric to the base aggregated metric with the given operation state.
    `static TimelineMetric` | TimelineMetric.`getLatestSingleValueMetric(TimelineMetric metric)` Get the latest timeline metric as single value type.

    Methods in org.apache.hadoop.yarn.api.records.timelineservice that return types with arguments of type TimelineMetric
    Modifier and Type | Method and Description
    --- | ---
    `Set<TimelineMetric>` | TimelineEntity.`getMetrics()`

    Methods in org.apache.hadoop.yarn.api.records.timelineservice with parameters of type TimelineMetric
    Modifier and Type | Method and Description
    --- | ---
    `void` | TimelineEntity.`addMetric(TimelineMetric metric)`
    `static TimelineMetric` | TimelineMetric.`aggregateTo(TimelineMetric incomingMetric, TimelineMetric baseAggregatedMetric)` Aggregate an incoming metric to the base aggregated metric with the given operation state in a stateless fashion.
    `static TimelineMetric` | TimelineMetric.`aggregateTo(TimelineMetric incomingMetric, TimelineMetric baseAggregatedMetric, Map<Object,Object> state)` Aggregate an incoming metric to the base aggregated metric with the given operation state.
    `static TimelineMetric` | TimelineMetric.`getLatestSingleValueMetric(TimelineMetric metric)` Get the latest timeline metric as single value type.

    Method parameters in org.apache.hadoop.yarn.api.records.timelineservice with type arguments of type TimelineMetric
    Modifier and Type | Method and Description
    --- | ---
    `void` | TimelineEntity.`addMetrics(Set<TimelineMetric> entityMetrics)`
    `void` | TimelineEntity.`setMetrics(Set<TimelineMetric> entityMetrics)`

Copyright © 2022 Apache Software Foundation. All rights reserved.