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 TypeMethodDescriptionvoidput(org.apache.hadoop.yarn.api.records.timeline.TimelineDomain domain) Store domain information to the timeline store.org.apache.hadoop.yarn.api.records.timeline.TimelinePutResponseput(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- aTimelineEntitiesobject.- Returns:
- a
TimelinePutResponseobject. - Throws:
IOException
-
put
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- aTimelineDomainobject- Throws:
IOException
-