Class GerritIndexStatus


  • public class GerritIndexStatus
    extends Object
    Status to decide if a specific index version (e.g. change v55) is initialized and ready for use. An index version is ready for use after documents for all entities were created.
    • Constructor Detail

      • GerritIndexStatus

        public GerritIndexStatus​(SitePaths sitePaths)
                          throws org.eclipse.jgit.errors.ConfigInvalidException,
                                 IOException
        Throws:
        org.eclipse.jgit.errors.ConfigInvalidException
        IOException
    • Method Detail

      • setReady

        public void setReady​(String indexName,
                             int version,
                             boolean ready)
      • getReady

        public boolean getReady​(String indexName,
                                int version)
      • exists

        public boolean exists​(String indexName)