@InterfaceAudience.Private @InterfaceStability.Unstable public class TimelineCollectorWebService extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TimelineCollectorWebService.AboutInfo
Gives information about timeline collector.
|
Constructor and Description |
---|
TimelineCollectorWebService() |
Modifier and Type | Method and Description |
---|---|
TimelineCollectorWebService.AboutInfo |
about(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Return the description of the timeline web services.
|
javax.ws.rs.core.Response |
putEntities(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
String async,
String isSubAppEntities,
String appId,
org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntities entities)
Accepts writes to the collector, and returns a response.
|
public TimelineCollectorWebService.AboutInfo about(@Context javax.servlet.http.HttpServletRequest req, @Context javax.servlet.http.HttpServletResponse res)
req
- Servlet request.res
- Servlet response.public javax.ws.rs.core.Response putEntities(@Context javax.servlet.http.HttpServletRequest req, @Context javax.servlet.http.HttpServletResponse res, String async, String isSubAppEntities, String appId, org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntities entities)
req
- Servlet request.res
- Servlet response.async
- flag indicating whether its an async put or not. "true"
indicates, its an async call. If null, its considered false.appId
- Application Id to which the entities to be put belong to. If
appId is not there or it cannot be parsed, HTTP 400 will be sent back.entities
- timeline entities to be put.Copyright © 2020 Apache Software Foundation. All rights reserved.