Java org.apache.hadoop.yarn.api.records.timeline TimelineEntity fields, constructors, methods, implement or subclass

Example usage for Java org.apache.hadoop.yarn.api.records.timeline TimelineEntity fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.hadoop.yarn.api.records.timeline TimelineEntity.

The text is from its open source code.

Constructor

Method

voidaddEvent(TimelineEvent event)
Add a single event related to the entity to the existing event list
voidaddOtherInfo(String key, Object value)
Add one piece of other information of the entity to the existing other info map
voidaddPrimaryFilter(String key, Object value)
Add a single piece of primary filter to the existing primary filter map
voidaddRelatedEntity(String entityType, String entityId)
Add an entity to the existing related entity map
StringgetDomainId()
Get the ID of the domain that the entity is to be put
StringgetEntityId()
Get the entity Id
StringgetEntityType()
Get the entity type
ListgetEvents()
Get a list of events related to the entity
MapgetOtherInfo()
Get the other information of the entity
Map>getPrimaryFilters()
Get the primary filters
Map>getRelatedEntities()
Get the related entities
LonggetStartTime()
Get the start time of the entity
voidsetDomainId(String domainId)
Set the ID of the domain that the entity is to be put
voidsetEntityId(String entityId)
Set the entity Id
voidsetEntityType(String entityType)
Set the entity type
voidsetStartTime(Long startTime)
Set the start time of the entity