public class TimelineWebServices
extends java.lang.Object
| Constructor | Description |
|---|---|
TimelineWebServices(TimelineDataManager timelineDataManager) |
| Modifier and Type | Method | 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,
java.lang.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,
java.lang.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,
java.lang.String entityType,
java.lang.String primaryFilter,
java.lang.String secondaryFilter,
java.lang.String windowStart,
java.lang.String windowEnd,
java.lang.String fromId,
java.lang.String fromTs,
java.lang.String limit,
java.lang.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,
java.lang.String entityType,
java.lang.String entityId,
java.lang.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,
java.lang.String entityType,
java.lang.String entityId,
java.lang.String eventType,
java.lang.String windowStart,
java.lang.String windowEnd,
java.lang.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,
java.lang.String entityType,
java.lang.String primaryFilter,
java.lang.String secondaryFilter,
java.lang.String windowStart,
java.lang.String windowEnd,
java.lang.String fromId,
java.lang.String fromTs,
java.lang.String limit,
java.lang.String fields)
public org.apache.hadoop.yarn.api.records.timeline.TimelineEntity getEntity(@Context
javax.servlet.http.HttpServletRequest req,
@Context
javax.servlet.http.HttpServletResponse res,
java.lang.String entityType,
java.lang.String entityId,
java.lang.String fields)
public org.apache.hadoop.yarn.api.records.timeline.TimelineEvents getEvents(@Context
javax.servlet.http.HttpServletRequest req,
@Context
javax.servlet.http.HttpServletResponse res,
java.lang.String entityType,
java.lang.String entityId,
java.lang.String eventType,
java.lang.String windowStart,
java.lang.String windowEnd,
java.lang.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,
java.lang.String domainId)
public org.apache.hadoop.yarn.api.records.timeline.TimelineDomains getDomains(@Context
javax.servlet.http.HttpServletRequest req,
@Context
javax.servlet.http.HttpServletResponse res,
java.lang.String owner)
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.