public class IterativeConnectivityChecker extends Object implements ConnectivityChecker
ConnectivityChecker.ConnectivityCheckInfo
Constructor and Description |
---|
IterativeConnectivityChecker(ConnectivityChecker delegate) |
Modifier and Type | Method and Description |
---|---|
void |
checkConnectivity(ConnectivityChecker.ConnectivityCheckInfo connectivityCheckInfo,
Set<ObjectId> advertisedHaves,
ProgressMonitor pm)
Checks connectivity of the commit graph after pack uploading.
|
void |
setForcedHaves(Set<ObjectId> forcedHaves)
Sets additional haves that client can depend on (e.g.
|
public IterativeConnectivityChecker(ConnectivityChecker delegate)
delegate
- Delegate checker which will be called for actual checks.public void checkConnectivity(ConnectivityChecker.ConnectivityCheckInfo connectivityCheckInfo, Set<ObjectId> advertisedHaves, ProgressMonitor pm) throws MissingObjectException, IOException
ConnectivityChecker
checkConnectivity
in interface ConnectivityChecker
connectivityCheckInfo
- Input for the connectivity check.advertisedHaves
- Set of references known for client.pm
- Monitor to publish progress to.IOException
- an error occurred during connectivity checking.MissingObjectException
Copyright © 2021 Eclipse JGit Project. All rights reserved.