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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
Set<TimelineMetric> |
TimelineEntity.getMetrics() |
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.
|
Modifier and Type | Method and Description |
---|---|
void |
TimelineEntity.addMetrics(Set<TimelineMetric> entityMetrics) |
void |
TimelineEntity.setMetrics(Set<TimelineMetric> entityMetrics) |
Copyright © 2023 Apache Software Foundation. All rights reserved.