Example usage for Java org.apache.hadoop.yarn.api.records.timeline TimelineEntity fields, constructors, methods, implement or subclass
The text is from its open source code.
void | addEvent(TimelineEvent event) Add a single event related to the entity to the existing event list |
void | addOtherInfo(String key, Object value) Add one piece of other information of the entity to the existing other info map |
void | addPrimaryFilter(String key, Object value) Add a single piece of primary filter to the existing primary filter map |
void | addRelatedEntity(String entityType, String entityId) Add an entity to the existing related entity map |
String | getDomainId() Get the ID of the domain that the entity is to be put |
String | getEntityId() Get the entity Id |
String | getEntityType() Get the entity type |
List | getEvents() Get a list of events related to the entity |
Map | getOtherInfo() Get the other information of the entity |
Map | getPrimaryFilters() Get the primary filters |
Map | getRelatedEntities() Get the related entities |
Long | getStartTime() Get the start time of the entity |
void | setDomainId(String domainId) Set the ID of the domain that the entity is to be put |
void | setEntityId(String entityId) Set the entity Id |
void | setEntityType(String entityType) Set the entity type |
void | setStartTime(Long startTime) Set the start time of the entity |