Package com.google.gerrit.server.git
Class GarbageCollection
java.lang.Object
com.google.gerrit.server.git.GarbageCollection
Serial execution of GC on a list of repositories.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionrun
(List<Project.NameKey> projectNames) run
(List<Project.NameKey> projectNames, boolean aggressive, PrintWriter writer) Runs GC on the given projects, serially.run
(List<Project.NameKey> projectNames, PrintWriter writer)
-
Method Details
-
run
-
run
@CanIgnoreReturnValue public GarbageCollectionResult run(List<Project.NameKey> projectNames, PrintWriter writer) -
run
@CanIgnoreReturnValue 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.
-