Class FullConnectivityChecker
- java.lang.Object
-
- org.eclipse.jgit.internal.transport.connectivity.FullConnectivityChecker
-
- All Implemented Interfaces:
ConnectivityChecker
public final class FullConnectivityChecker extends Object implements ConnectivityChecker
A connectivity checker that uses the entire reference database to perform reachability checks when checking the connectivity of objects. If info.isCheckObjects() is set it will also check that objects referenced by deltas are either provided or reachable as well.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.jgit.transport.ConnectivityChecker
ConnectivityChecker.ConnectivityCheckInfo
-
-
Constructor Summary
Constructors Constructor Description FullConnectivityChecker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkConnectivity(ConnectivityChecker.ConnectivityCheckInfo connectivityCheckInfo, Set<ObjectId> haves, ProgressMonitor pm)
Checks connectivity of the commit graph after pack uploading.
-
-
-
Method Detail
-
checkConnectivity
public void checkConnectivity(ConnectivityChecker.ConnectivityCheckInfo connectivityCheckInfo, Set<ObjectId> haves, ProgressMonitor pm) throws MissingObjectException, IOException
Description copied from interface:ConnectivityChecker
Checks connectivity of the commit graph after pack uploading.- Specified by:
checkConnectivity
in interfaceConnectivityChecker
- Parameters:
connectivityCheckInfo
- Input for the connectivity check.haves
- Set of references known for client.pm
- Monitor to publish progress to.- Throws:
IOException
- an error occurred during connectivity checking.MissingObjectException
-
-