Package com.google.gerrit.server.git
Class GarbageCollection
- java.lang.Object
-
- com.google.gerrit.server.git.GarbageCollection
-
public class GarbageCollection extends Object
Serial execution of GC on a list of repositories.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGarbageCollection.Factory
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GarbageCollectionResultrun(List<Project.NameKey> projectNames)GarbageCollectionResultrun(List<Project.NameKey> projectNames, boolean aggressive, PrintWriter writer)Runs GC on the given projects, serially.GarbageCollectionResultrun(List<Project.NameKey> projectNames, PrintWriter writer)
-
-
-
Method Detail
-
run
public GarbageCollectionResult run(List<Project.NameKey> projectNames)
-
run
public GarbageCollectionResult run(List<Project.NameKey> projectNames, PrintWriter writer)
-
run
public GarbageCollectionResult run(List<Project.NameKey> projectNames, boolean aggressive, PrintWriter writer)
Runs GC on the given projects, serially. Progress is written to writer if non-null.
-
-