public class NoOpTimelineWriterImpl extends org.apache.hadoop.service.AbstractService implements TimelineWriter
| Constructor and Description | 
|---|
| NoOpTimelineWriterImpl() | 
| Modifier and Type | Method and Description | 
|---|---|
| org.apache.hadoop.yarn.api.records.timelineservice.TimelineWriteResponse | aggregate(org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity data,
         TimelineAggregationTrack track)Aggregates the entity information to the timeline store based on which
 track this entity is to be rolled up to The tracks along which aggregations
 are to be done are given by  TimelineAggregationTrackAny errors occurring for individual write request objects will be reported
 in the response. | 
| void | flush()Flushes the data to the backend storage. | 
| org.apache.hadoop.yarn.api.records.timelineservice.TimelineWriteResponse | write(TimelineCollectorContext context,
     org.apache.hadoop.yarn.api.records.timelineservice.TimelineDomain domain)Stores  TimelineDomainobject to the timeline
 store. | 
| org.apache.hadoop.yarn.api.records.timelineservice.TimelineWriteResponse | write(TimelineCollectorContext context,
     org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntities data,
     org.apache.hadoop.security.UserGroupInformation callerUgi)Stores the entire information in  TimelineEntitiesto the timeline
 store. | 
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, serviceInit, serviceStart, serviceStop, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStoppublic org.apache.hadoop.yarn.api.records.timelineservice.TimelineWriteResponse write(TimelineCollectorContext context, org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntities data, org.apache.hadoop.security.UserGroupInformation callerUgi) throws IOException
TimelineWriterTimelineEntities to the timeline
 store. Any errors occurring for individual write request objects will be
 reported in the response.write in interface TimelineWritercontext - a TimelineCollectorContextdata - a TimelineEntities object.callerUgi - UserGroupInformation.TimelineWriteResponse object.IOException - if there is any exception encountered while storing or
           writing entities to the back end storage.public org.apache.hadoop.yarn.api.records.timelineservice.TimelineWriteResponse write(TimelineCollectorContext context, org.apache.hadoop.yarn.api.records.timelineservice.TimelineDomain domain) throws IOException
TimelineWriterTimelineDomain object to the timeline
 store. Any errors occurring for individual write request objects will be
 reported in the response.write in interface TimelineWritercontext - a TimelineCollectorContextdomain - a TimelineDomain object.TimelineWriteResponse object.IOException - if there is any exception encountered while storing or
           writing entities to the back end storage.public org.apache.hadoop.yarn.api.records.timelineservice.TimelineWriteResponse aggregate(org.apache.hadoop.yarn.api.records.timelineservice.TimelineEntity data,
                                                                                          TimelineAggregationTrack track)
                                                                                   throws IOException
TimelineWriterTimelineAggregationTrack
 Any errors occurring for individual write request objects will be reported
 in the response.aggregate in interface TimelineWriterdata - a TimelineEntity object
          a TimelineAggregationTrack enum
          value.track - Specifies the track or dimension along which aggregation would
     occur. Includes USER, FLOW, QUEUE, etc.TimelineWriteResponse object.IOException - if there is any exception encountered while aggregating
     entities to the backend storage.public void flush()
           throws IOException
TimelineWriterflush in interface TimelineWriterIOException - if there is any exception encountered while flushing
     entities to the backend storage.Copyright © 2008–2023 Apache Software Foundation. All rights reserved.