Class RepositoryState


  • public class RepositoryState
    extends java.lang.Object
    A class that maintains a thread-safe ready indicator on the current bootstrap state of the repository.
    Author:
    Andy
    • Constructor Summary

      Constructors 
      Constructor Description
      RepositoryState()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isBootstrapping()
      Determine if the repository is ready to use.
      void setBootstrapping​(boolean bootstrapping)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RepositoryState

        public RepositoryState()
    • Method Detail

      • isBootstrapping

        public boolean isBootstrapping()
        Determine if the repository is ready to use.
        Returns:
        true if the repository bootstrap process is still going, or false if the repository is ready to use
      • setBootstrapping

        public void setBootstrapping​(boolean bootstrapping)