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

Method getStatus

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

Gets 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

()

Source from the content-addressed store, hash-verified

269 * Gets the value of the 'status' field.
270 * 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 */
271 public java.lang.Integer getStatus() {
272 return status;
273 }
274
275 /**
276 * Sets the value of the 'status' field.

Callers 7

reduceMethod · 0.95
testRequestMethod · 0.45
testDigestRequestMethod · 0.45
reduceMethod · 0.45
mapMethod · 0.45
mapMethod · 0.45
getPageRepresentationMethod · 0.45

Calls

no outgoing calls

Tested by 2

testRequestMethod · 0.36
testDigestRequestMethod · 0.36