@Private
@Unstable
public class TimelineCollectorWebService
extends java.lang.Object
| Modifier and Type | Class | Description |
|---|---|---|
static class |
TimelineCollectorWebService.AboutInfo |
Gives information about timeline collector.
|
| Constructor | Description |
|---|---|
TimelineCollectorWebService() |
| Modifier and Type | Method | 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 |
putDomain(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String appId,
org.apache.hadoop.yarn.api.records.timelineservice.TimelineDomain domain) |
|
javax.ws.rs.core.Response |
putEntities(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String async,
java.lang.String isSubAppEntities,
java.lang.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,
java.lang.String async,
java.lang.String isSubAppEntities,
java.lang.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.public javax.ws.rs.core.Response putDomain(@Context
javax.servlet.http.HttpServletRequest req,
@Context
javax.servlet.http.HttpServletResponse res,
java.lang.String appId,
org.apache.hadoop.yarn.api.records.timelineservice.TimelineDomain domain)
req - Servlet request.res - Servlet response.domain - timeline domain to be put.appId - Application Id to which the domain to be put belong to. If
appId is not there or it cannot be parsed, HTTP 400 will be sent back.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.