List of usage examples for org.apache.hadoop.yarn.api.records.timeline TimelineEntity setDomainId
public void setDomainId(String domainId)
From source file:org.apache.tez.dag.history.ats.acls.ATSHistoryACLPolicyManager.java
License:Apache License
@Override public void updateTimelineEntityDomain(Object timelineEntity, String domainId) { if (!(timelineEntity instanceof TimelineEntity)) { throw new UnsupportedOperationException( "Invalid object provided of type" + timelineEntity.getClass().getName()); }//w ww .j a va 2s. c o m TimelineEntity entity = (TimelineEntity) timelineEntity; entity.setDomainId(domainId); }