@InterfaceAudience.Private
@InterfaceStability.Unstable
public interface HistoryEvent
Modifier and Type | Method and Description |
---|---|
Object |
getDatum()
Return the Avro datum wrapped by this.
|
EventType |
getEventType()
Return this event's type.
|
Set<org.apache.hadoop.yarn.api.records.timelineservice.TimelineMetric> |
getTimelineMetrics()
Counters or Metrics if any else return null.
|
void |
setDatum(Object datum)
Set the Avro datum wrapped by this.
|
org.apache.hadoop.yarn.api.records.timelineservice.TimelineEvent |
toTimelineEvent()
Map HistoryEvent to TimelineEvent.
|
EventType getEventType()
Object getDatum()
void setDatum(Object datum)
org.apache.hadoop.yarn.api.records.timelineservice.TimelineEvent toTimelineEvent()
Set<org.apache.hadoop.yarn.api.records.timelineservice.TimelineMetric> getTimelineMetrics()
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.