number of failed pages
number of failed pages
- for this language
adds a new fail record for a wikipage which failed to extract; Optional: write fail to log file (if this has been set before)
adds a new fail record for a wikipage which failed to extract; Optional: write fail to log file (if this has been set before)
- page id
- PageNode of page
- the Throwable responsible for the fail
forward an exception summary to slack (will increase the slack-exception-threshold by factor 2 if two of these messages are fired within 2 minutes)
forward an exception summary to slack (will increase the slack-exception-threshold by factor 2 if two of these messages are fired within 2 minutes)
get successful page count after increasing it by one
get successful page count after increasing it by one
- for this language
the following methods will post messages to a Slack webhook if the Slack-Cedentials are available in the config file
A map for failed pages, which could be used for a better way to record extraction fails than just a simple console output.
A map for failed pages, which could be used for a better way to record extraction fails than just a simple console output.
the failed pages (id, title) for every Language
print a line to std out, err or the log file
print a line to std out, err or the log file
- the line in question
- langauge of current page
- enum values for printer destinations (err, out, file - null mean all of them)
- the initial label (lang: time passed) is omitted
prints a message of a RecordEntry if available and assesses a RecordEntry for the existence of a Throwable and forwards the record to the suitable method for a failed or successful extraction
prints a message of a RecordEntry if available and assesses a RecordEntry for the existence of a Throwable and forwards the record to the suitable method for a failed or successful extraction
- the RecordEntries for a WikiPage
adds a record of a successfully extracted page
adds a record of a successfully extracted page
- page id
- page title
- indicates whether the event of a successful extraction shall be included in the log file (default = false)
record (successful) quad
record (successful) quad
the current accumulated page number
the current accumulated page number
- for this language
successful page count
successful page count
- for this language
Created by Chile on 11/3/2016.