Class ApplicationEntity
java.lang.Object
org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity
org.apache.hadoop.yarn.api.records.timelineservice.HierarchicalTimelineEntity
org.apache.hadoop.yarn.api.records.timelineservice.ApplicationEntity
- All Implemented Interfaces:
Comparable<TimelineEntity>
This entity represents an application.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity
org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity.Identifier -
Field Summary
FieldsFields inherited from class org.apache.hadoop.yarn.api.records.timelineservice.HierarchicalTimelineEntity
CHILDREN_INFO_KEY, PARENT_INFO_KEYFields inherited from class org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity
DEFAULT_ENTITY_PREFIX, SYSTEM_INFO_KEY_PREFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TimelineEventgetApplicationEvent(TimelineEntity te, String eventId) getQueue()static booleanChecks if the input TimelineEntity object is an ApplicationEntity.voidMethods inherited from class org.apache.hadoop.yarn.api.records.timelineservice.HierarchicalTimelineEntity
addChild, addChild, addChildren, getChildren, getParent, setChildren, setParent, setParentMethods inherited from class org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity
addConfig, addConfigs, addEvent, addEvents, addInfo, addInfo, addIsRelatedToEntities, addIsRelatedToEntity, addMetric, addMetrics, addRelatesToEntities, addRelatesToEntity, compareTo, equals, getConfigs, getConfigsJAXB, getCreatedTime, getEvents, getId, getIdentifier, getIdPrefix, getInfo, getInfoJAXB, getIsRelatedToEntities, getIsRelatedToEntitiesJAXB, getMetrics, getReal, getRelatesToEntities, getRelatesToEntitiesJAXB, getType, hashCode, isValid, setConfigs, setCreatedTime, setEvents, setId, setIdentifier, setIdPrefix, setInfo, setIsRelatedToEntities, setMetrics, setRelatesToEntities, setType, setUID, toString
-
Field Details
-
QUEUE_INFO_KEY
- See Also:
-
-
Constructor Details
-
ApplicationEntity
public ApplicationEntity() -
ApplicationEntity
-
-
Method Details
-
getQueue
-
setQueue
-
isApplicationEntity
Checks if the input TimelineEntity object is an ApplicationEntity.- Parameters:
te- TimelineEntity object.- Returns:
- true if input is an ApplicationEntity, false otherwise
-
getApplicationEvent
- Parameters:
te- TimelineEntity object.eventId- event with this id needs to be fetched- Returns:
- TimelineEvent if TimelineEntity contains the desired event.
-