@InterfaceAudience.Private @InterfaceStability.Unstable public abstract class TimelineWriter extends Object implements Flushable
Constructor and Description |
---|
TimelineWriter(org.apache.hadoop.security.UserGroupInformation authUgi,
com.sun.jersey.api.client.Client client,
URI resURI) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
com.sun.jersey.api.client.ClientResponse |
doPostingObject(Object object,
String path) |
void |
flush() |
abstract void |
putDomain(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId,
org.apache.hadoop.yarn.api.records.timeline.TimelineDomain domain) |
void |
putDomain(org.apache.hadoop.yarn.api.records.timeline.TimelineDomain domain) |
abstract org.apache.hadoop.yarn.api.records.timeline.TimelinePutResponse |
putEntities(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId,
org.apache.hadoop.yarn.api.records.timeline.TimelineEntityGroupId groupId,
org.apache.hadoop.yarn.api.records.timeline.TimelineEntity... entities) |
org.apache.hadoop.yarn.api.records.timeline.TimelinePutResponse |
putEntities(org.apache.hadoop.yarn.api.records.timeline.TimelineEntity... entities) |
String |
toString() |
public TimelineWriter(org.apache.hadoop.security.UserGroupInformation authUgi, com.sun.jersey.api.client.Client client, URI resURI)
public void flush() throws IOException
flush
in interface Flushable
IOException
public org.apache.hadoop.yarn.api.records.timeline.TimelinePutResponse putEntities(org.apache.hadoop.yarn.api.records.timeline.TimelineEntity... entities) throws IOException, org.apache.hadoop.yarn.exceptions.YarnException
IOException
org.apache.hadoop.yarn.exceptions.YarnException
public void putDomain(org.apache.hadoop.yarn.api.records.timeline.TimelineDomain domain) throws IOException, org.apache.hadoop.yarn.exceptions.YarnException
IOException
org.apache.hadoop.yarn.exceptions.YarnException
public abstract org.apache.hadoop.yarn.api.records.timeline.TimelinePutResponse putEntities(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId, org.apache.hadoop.yarn.api.records.timeline.TimelineEntityGroupId groupId, org.apache.hadoop.yarn.api.records.timeline.TimelineEntity... entities) throws IOException, org.apache.hadoop.yarn.exceptions.YarnException
IOException
org.apache.hadoop.yarn.exceptions.YarnException
public abstract void putDomain(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId, org.apache.hadoop.yarn.api.records.timeline.TimelineDomain domain) throws IOException, org.apache.hadoop.yarn.exceptions.YarnException
IOException
org.apache.hadoop.yarn.exceptions.YarnException
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.