MCPcopy Create free account
hub / github.com/apache/nutch / setStatus

Method setStatus

src/java/org/apache/nutch/storage/WebPage.java:279–282  ·  view source on GitHub ↗

Sets the value of the 'status' field. A crawl status associated with the WebPage, can be of value STATUS_UNFETCHED - WebPage was not fetched yet, STATUS_FETCHED - WebPage was successfully fetched, STATUS_GONE - WebPage no longer exists, STATUS_REDIR_TEMP - WebPage temporarily redirects to other page

(java.lang.Integer value)

Source from the content-addressed store, hash-verified

277 * A crawl status associated with the WebPage, can be of value STATUS_UNFETCHED - WebPage was not fetched yet, STATUS_FETCHED - WebPage was successfully fetched, STATUS_GONE - WebPage no longer exists, STATUS_REDIR_TEMP - WebPage temporarily redirects to other page, STATUS_REDIR_PERM - WebPage permanently redirects to other page, STATUS_RETRY - Fetching unsuccessful, needs to be retried e.g. transient errors and STATUS_NOTMODIFIED - fetching successful - page is not modified * @param value the value to set.
278 */
279 public void setStatus(java.lang.Integer value) {
280 this.status = value;
281 setDirty(1);
282 }
283
284 /**
285 * Checks the dirty status of the 'status' field. A field is dirty if it represents a change that has not yet been written to the database.

Callers 9

testOutlinksMaxLengthMethod · 0.95
createURLWebPageMethod · 0.95
prepareWebpageMethod · 0.95
runMethod · 0.95
reduceMethod · 0.95
getRecordReaderMethod · 0.45
outputMethod · 0.45
reportAndLogStatusMethod · 0.45
forceRefetchMethod · 0.45

Calls

no outgoing calls

Tested by 3

testOutlinksMaxLengthMethod · 0.76
createURLWebPageMethod · 0.76
prepareWebpageMethod · 0.76