Interface RunDataStore

  • All Known Implementing Classes:
    MockRunDataStore

    public interface RunDataStore
    Author:
    jonmv
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void delete​(com.yahoo.config.provision.ApplicationId id)
      Deletes all data associated with the given application.
      void delete​(RunId id)
      Deletes the run logs for the given deployment job.
      java.util.Optional<byte[]> get​(RunId id)
      Returns the run logs of the given deployment job, if existent.
      void put​(RunId id, byte[] log)
      Stores the given log for the given deployment job.
    • Method Detail

      • get

        java.util.Optional<byte[]> get​(RunId id)
        Returns the run logs of the given deployment job, if existent.
      • put

        void put​(RunId id,
                 byte[] log)
        Stores the given log for the given deployment job.
      • delete

        void delete​(RunId id)
        Deletes the run logs for the given deployment job.
      • delete

        void delete​(com.yahoo.config.provision.ApplicationId id)
        Deletes all data associated with the given application.