Interface TimelineWriter

All Known Subinterfaces:
TimelineStore
All Known Implementing Classes:
LeveldbTimelineStore, MemoryTimelineStore, RollingLevelDBTimelineStore

@Private @Unstable public interface TimelineWriter
This interface is for storing timeline information.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    put(org.apache.hadoop.yarn.api.records.timeline.TimelineDomain domain)
    Store domain information to the timeline store.
    org.apache.hadoop.yarn.api.records.timeline.TimelinePutResponse
    put(org.apache.hadoop.yarn.api.records.timeline.TimelineEntities data)
    Stores entity information to the timeline store.
  • Method Details

    • put

      org.apache.hadoop.yarn.api.records.timeline.TimelinePutResponse put(org.apache.hadoop.yarn.api.records.timeline.TimelineEntities data) throws IOException
      Stores entity information to the timeline store. Any errors occurring for individual put request objects will be reported in the response.
      Parameters:
      data - a TimelineEntities object.
      Returns:
      a TimelinePutResponse object.
      Throws:
      IOException
    • put

      void put(org.apache.hadoop.yarn.api.records.timeline.TimelineDomain domain) throws IOException
      Store domain information to the timeline store. If A domain of the same ID already exists in the timeline store, it will be COMPLETELY updated with the given domain.
      Parameters:
      domain - a TimelineDomain object
      Throws:
      IOException