Interface ManifestFile

  • All Known Implementing Classes:
    AwsManifestFile, AzureManifestFile, LocalManifestFile

    public interface ManifestFile
    Manifest is a properties files, providing the information about the segment store (eg. the schema version number).

    The implementation doesn't need to be thread-safe.

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean exists()
      Check if the manifest already exists.
      java.util.Properties load()
      Load the properties from the manifest file.
      void save​(java.util.Properties properties)
      Store the properties to the manifest file.
    • Method Detail

      • exists

        boolean exists()
        Check if the manifest already exists.
        Returns:
        true if the manifest exists
      • load

        java.util.Properties load()
                           throws java.io.IOException
        Load the properties from the manifest file.
        Returns:
        properties describing the segmentstore
        Throws:
        java.io.IOException
      • save

        void save​(java.util.Properties properties)
           throws java.io.IOException
        Store the properties to the manifest file.
        Parameters:
        properties - describing the segmentstore
        Throws:
        java.io.IOException