@InterfaceAudience.Public @InterfaceStability.Unstable public abstract class HierarchicalTimelineEntity extends TimelineEntity
Modifier and Type | Field and Description |
---|---|
static String |
CHILDREN_INFO_KEY |
static String |
PARENT_INFO_KEY |
DEFAULT_ENTITY_PREFIX, SYSTEM_INFO_KEY_PREFIX
Modifier and Type | Method and Description |
---|---|
void |
addChild(String type,
String id) |
void |
addChild(org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity.Identifier child) |
void |
addChildren(Set<org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity.Identifier> children) |
Set<org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity.Identifier> |
getChildren() |
org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity.Identifier |
getParent() |
void |
setChildren(Set<org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity.Identifier> children) |
void |
setParent(String type,
String id) |
void |
setParent(org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity.Identifier parent) |
addConfig, addConfigs, addEvent, addEvents, addInfo, addInfo, addIsRelatedToEntities, addIsRelatedToEntity, addMetric, addMetrics, addRelatesToEntities, addRelatesToEntity, compareTo, equals, getConfigs, getCreatedTime, getEvents, getId, getIdentifier, getIdPrefix, getInfo, getIsRelatedToEntities, getMetrics, getReal, getRelatesToEntities, getType, hashCode, isValid, setConfigs, setCreatedTime, setEvents, setId, setIdentifier, setIdPrefix, setInfo, setIsRelatedToEntities, setMetrics, setRelatesToEntities, setType, setUID, toString
public static final String PARENT_INFO_KEY
public static final String CHILDREN_INFO_KEY
public org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity.Identifier getParent()
public void setParent(org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity.Identifier parent)
public Set<org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity.Identifier> getChildren()
public void setChildren(Set<org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity.Identifier> children)
public void addChildren(Set<org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity.Identifier> children)
public void addChild(org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity.Identifier child)
Copyright © 2024 Apache Software Foundation. All rights reserved.