Module org.eclipse.jgit
Class FullConnectivityChecker
java.lang.Object
org.eclipse.jgit.internal.transport.connectivity.FullConnectivityChecker
- All Implemented Interfaces:
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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkConnectivity
(ConnectivityChecker.ConnectivityCheckInfo connectivityCheckInfo, Set<ObjectId> haves, ProgressMonitor pm) Checks connectivity of the commit graph after pack uploading.
-
Constructor Details
-
FullConnectivityChecker
public FullConnectivityChecker()
-
-
Method Details
-
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
-