James Moger
2014-04-07 521cb6022a9ee30bf3115a8dcb991aa5c7e420e3
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);
}