public class TimelineWebServices extends Object
Constructor and Description |
---|
TimelineWebServices(TimelineDataManager timelineDataManager) |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.yarn.api.records.timeline.TimelineAbout |
about(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Return the description of the timeline web services.
|
org.apache.hadoop.yarn.api.records.timeline.TimelineDomain |
getDomain(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
String domainId)
Return a single domain of the given domain Id.
|
org.apache.hadoop.yarn.api.records.timeline.TimelineDomains |
getDomains(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
String owner)
Return a list of domains of the given owner.
|
org.apache.hadoop.yarn.api.records.timeline.TimelineEntities |
getEntities(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
String entityType,
String primaryFilter,
String secondaryFilter,
String windowStart,
String windowEnd,
String fromId,
String fromTs,
String limit,
String fields)
Return a list of entities that match the given parameters.
|
org.apache.hadoop.yarn.api.records.timeline.TimelineEntity |
getEntity(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
String entityType,
String entityId,
String fields)
Return a single entity of the given entity type and Id.
|
org.apache.hadoop.yarn.api.records.timeline.TimelineEvents |
getEvents(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
String entityType,
String entityId,
String eventType,
String windowStart,
String windowEnd,
String limit)
Return the events that match the given parameters.
|
org.apache.hadoop.yarn.api.records.timeline.TimelinePutResponse |
postEntities(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
org.apache.hadoop.yarn.api.records.timeline.TimelineEntities entities)
Store the given entities into the timeline store, and return the errors
that happen during storing.
|
org.apache.hadoop.yarn.api.records.timeline.TimelinePutResponse |
putDomain(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
org.apache.hadoop.yarn.api.records.timeline.TimelineDomain domain)
Store the given domain into the timeline store, and return the errors
that happen during storing.
|
@Inject public TimelineWebServices(TimelineDataManager timelineDataManager)
public org.apache.hadoop.yarn.api.records.timeline.TimelineAbout about(@Context javax.servlet.http.HttpServletRequest req, @Context javax.servlet.http.HttpServletResponse res)
public org.apache.hadoop.yarn.api.records.timeline.TimelineEntities getEntities(@Context javax.servlet.http.HttpServletRequest req, @Context javax.servlet.http.HttpServletResponse res, String entityType, String primaryFilter, String secondaryFilter, String windowStart, String windowEnd, String fromId, String fromTs, String limit, String fields)
public org.apache.hadoop.yarn.api.records.timeline.TimelineEntity getEntity(@Context javax.servlet.http.HttpServletRequest req, @Context javax.servlet.http.HttpServletResponse res, String entityType, String entityId, String fields)
public org.apache.hadoop.yarn.api.records.timeline.TimelineEvents getEvents(@Context javax.servlet.http.HttpServletRequest req, @Context javax.servlet.http.HttpServletResponse res, String entityType, String entityId, String eventType, String windowStart, String windowEnd, String limit)
public org.apache.hadoop.yarn.api.records.timeline.TimelinePutResponse postEntities(@Context javax.servlet.http.HttpServletRequest req, @Context javax.servlet.http.HttpServletResponse res, org.apache.hadoop.yarn.api.records.timeline.TimelineEntities entities)
public org.apache.hadoop.yarn.api.records.timeline.TimelinePutResponse putDomain(@Context javax.servlet.http.HttpServletRequest req, @Context javax.servlet.http.HttpServletResponse res, org.apache.hadoop.yarn.api.records.timeline.TimelineDomain domain)
public org.apache.hadoop.yarn.api.records.timeline.TimelineDomain getDomain(@Context javax.servlet.http.HttpServletRequest req, @Context javax.servlet.http.HttpServletResponse res, String domainId)
public org.apache.hadoop.yarn.api.records.timeline.TimelineDomains getDomains(@Context javax.servlet.http.HttpServletRequest req, @Context javax.servlet.http.HttpServletResponse res, String owner)
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.