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 Details

    • applicationStarted

      void applicationStarted(ApplicationStartData appStart) throws IOException
      This method writes the information of RMApp that is available when it starts.
      Parameters:
      appStart - the record of the information of RMApp that is available when it starts
      Throws:
      IOException
    • applicationFinished

      void applicationFinished(ApplicationFinishData appFinish) throws IOException
      This method writes the information of RMApp that is available when it finishes.
      Parameters:
      appFinish - the record of the information of RMApp that is available when it finishes
      Throws:
      IOException
    • applicationAttemptStarted

      void applicationAttemptStarted(ApplicationAttemptStartData appAttemptStart) throws IOException
      This method writes the information of RMAppAttempt that is available when it starts.
      Parameters:
      appAttemptStart - the record of the information of RMAppAttempt that is available when it starts
      Throws:
      IOException
    • applicationAttemptFinished

      void applicationAttemptFinished(ApplicationAttemptFinishData appAttemptFinish) throws IOException
      This method writes the information of RMAppAttempt that is available when it finishes.
      Parameters:
      appAttemptFinish - the record of the information of RMAppAttempt that is available when it finishes
      Throws:
      IOException
    • containerStarted

      void containerStarted(ContainerStartData containerStart) throws IOException
      This method writes the information of RMContainer that is available when it starts.
      Parameters:
      containerStart - the record of the information of RMContainer that is available when it starts
      Throws:
      IOException
    • containerFinished

      void containerFinished(ContainerFinishData containerFinish) throws IOException
      This method writes the information of RMContainer that is available when it finishes.
      Parameters:
      containerFinish - the record of the information of RMContainer that is available when it finishes
      Throws:
      IOException