|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.service.AbstractService
org.apache.hadoop.yarn.client.api.TimelineClient
org.apache.hadoop.yarn.client.api.impl.TimelineClientImpl
@InterfaceAudience.Private @InterfaceStability.Unstable public class TimelineClientImpl
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.apache.hadoop.service.Service |
|---|
org.apache.hadoop.service.Service.STATE |
| Constructor Summary | |
|---|---|
TimelineClientImpl()
|
|
| Method Summary | |
|---|---|
com.sun.jersey.api.client.ClientResponse |
doPostingEntities(org.apache.hadoop.yarn.api.records.timeline.TimelineEntities entities)
|
org.apache.hadoop.yarn.api.records.timeline.TimelinePutResponse |
putEntities(org.apache.hadoop.yarn.api.records.timeline.TimelineEntity... entities)
Send the information of a number of conceptual entities to the timeline server. |
protected void |
serviceInit(org.apache.hadoop.conf.Configuration conf)
|
| Methods inherited from class org.apache.hadoop.yarn.client.api.TimelineClient |
|---|
createTimelineClient |
| Methods inherited from class org.apache.hadoop.service.AbstractService |
|---|
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, serviceStart, serviceStop, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TimelineClientImpl()
| Method Detail |
|---|
protected void serviceInit(org.apache.hadoop.conf.Configuration conf)
throws Exception
serviceInit in class org.apache.hadoop.service.AbstractServiceException
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
TimelineClientSend the information of a number of conceptual entities to the timeline server. It is a blocking API. The method will not return until it gets the response from the timeline server.
putEntities in class TimelineCliententities - the collection of TimelineEntity
IOException
org.apache.hadoop.yarn.exceptions.YarnException@InterfaceAudience.Private public com.sun.jersey.api.client.ClientResponse doPostingEntities(org.apache.hadoop.yarn.api.records.timeline.TimelineEntities entities)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||