Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
First I should explain that this pull request builds on the existing pull request #281 .
The request adds four new methods to the Frontier - both interface and implementation.
The methods are all accessors of various kinds and none of them are called from within Heritrix. Their purpose is to expose Frontier internals to querying and manipulation by external 3rd Party tools via the scripting console - so there should be very little risk that the changes will in themselves cause any instability.
The only non-trivial method of the four is exportPendingUris(). The idea of this method is to write all pending uris to a file-cache where a suitable tool can browse and search in them to determine which, if any, one might want to delete manually (after pausing the job).
These methods are taken directly from the NetarchiveSuite fork of Heritrix which means that the code has been tested at scale (with je 5.0.104) at both Netarkivet in Denmark and BnF.