Interface ApplicationHistoryWriter
- All Known Subinterfaces:
ApplicationHistoryStore
- All Known Implementing Classes:
FileSystemApplicationHistoryStore,MemoryApplicationHistoryStore,NullApplicationHistoryStore
@Private
@Unstable
public interface ApplicationHistoryWriter
It is the interface of writing the application history, exposing the methods
of writing
ApplicationStartData, ApplicationFinishData
ApplicationAttemptStartData, ApplicationAttemptFinishData,
ContainerStartData and ContainerFinishData.-
Method Summary
Modifier and TypeMethodDescriptionvoidapplicationAttemptFinished(ApplicationAttemptFinishData appAttemptFinish) This method writes the information ofRMAppAttemptthat is available when it finishes.voidapplicationAttemptStarted(ApplicationAttemptStartData appAttemptStart) This method writes the information ofRMAppAttemptthat is available when it starts.voidapplicationFinished(ApplicationFinishData appFinish) This method writes the information ofRMAppthat is available when it finishes.voidapplicationStarted(ApplicationStartData appStart) This method writes the information ofRMAppthat is available when it starts.voidcontainerFinished(ContainerFinishData containerFinish) This method writes the information ofRMContainerthat is available when it finishes.voidcontainerStarted(ContainerStartData containerStart) This method writes the information ofRMContainerthat is available when it starts.
-
Method Details
-
applicationStarted
This method writes the information ofRMAppthat is available when it starts.- Parameters:
appStart- the record of the information ofRMAppthat is available when it starts- Throws:
IOException
-
applicationFinished
This method writes the information ofRMAppthat is available when it finishes.- Parameters:
appFinish- the record of the information ofRMAppthat is available when it finishes- Throws:
IOException
-
applicationAttemptStarted
This method writes the information ofRMAppAttemptthat is available when it starts.- Parameters:
appAttemptStart- the record of the information ofRMAppAttemptthat is available when it starts- Throws:
IOException
-
applicationAttemptFinished
This method writes the information ofRMAppAttemptthat is available when it finishes.- Parameters:
appAttemptFinish- the record of the information ofRMAppAttemptthat is available when it finishes- Throws:
IOException
-
containerStarted
This method writes the information ofRMContainerthat is available when it starts.- Parameters:
containerStart- the record of the information ofRMContainerthat is available when it starts- Throws:
IOException
-
containerFinished
This method writes the information ofRMContainerthat is available when it finishes.- Parameters:
containerFinish- the record of the information ofRMContainerthat is available when it finishes- Throws:
IOException
-