Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

- Added Javadoc to clarify double meaning of fetchTime

Otis Gospodneticd3d753677a53
diff --git a/src/java/org/apache/nutch/crawl/CrawlDatum.java b/src/java/org/apache/nutch/crawl/CrawlDatum.java
index 2d69aceea..e4c2782d0 100644
--- a/src/java/org/apache/nutch/crawl/CrawlDatum.java
+++ b/src/java/org/apache/nutch/crawl/CrawlDatum.java
@@ -158,7 +158,15 @@ public class CrawlDatum implements WritableComparable, Cloneable {
public void setStatus(int status) { this.status = (byte)status; }
+ /**
+ * Returns either the time of the last fetch, or the next fetch time,
+ * depending on whether Fetcher or CrawlDbReducer set the time.
+ */
public long getFetchTime() { return fetchTime; }
+ /**
+ * Sets either the time of the last fetch or the next fetch time,
+ * depending on whether Fetcher or CrawlDbReducer set the time.
+ */
public void setFetchTime(long fetchTime) { this.fetchTime = fetchTime; }
public long getModifiedTime() {