David Ostrovsky
2014-03-15 282b8fd82c46ba6874fb24c8715af103645f3406
src/main/java/com/gitblit/manager/IRepositoryManager.java
@@ -30,7 +30,7 @@
import com.gitblit.models.SearchResult;
import com.gitblit.models.UserModel;
public interface IRepositoryManager {
public interface IRepositoryManager extends IManager {
   /**
    * Returns the path of the repositories folder. This method checks to see if
@@ -393,4 +393,23 @@
    */
   boolean isCollectingGarbage(String repositoryName);
   /**
    * Ensures that all cached repositories are completely closed and their resources
    * are properly released.
    */
   void closeAll();
   /**
    * Ensures that a cached repository is completely closed and it's resources
    * are properly released.
    */
   void close(String repository);
   /**
    * Returns true if the repository is idle (not being accessed).
    *
    * @param repository
    * @return true if the repository is idle
    */
   boolean isIdle(Repository repository);
}