You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nutch.apache.org by ot...@apache.org on 2008/04/23 07:36:31 UTC
svn commit: r650750 -
/lucene/nutch/trunk/src/java/org/apache/nutch/crawl/CrawlDatum.java
Author: otis
Date: Tue Apr 22 22:36:30 2008
New Revision: 650750
URL: http://svn.apache.org/viewvc?rev=650750&view=rev
Log:
- Added Javadoc to clarify double meaning of fetchTime
Modified:
lucene/nutch/trunk/src/java/org/apache/nutch/crawl/CrawlDatum.java
Modified: lucene/nutch/trunk/src/java/org/apache/nutch/crawl/CrawlDatum.java
URL: http://svn.apache.org/viewvc/lucene/nutch/trunk/src/java/org/apache/nutch/crawl/CrawlDatum.java?rev=650750&r1=650749&r2=650750&view=diff
==============================================================================
--- lucene/nutch/trunk/src/java/org/apache/nutch/crawl/CrawlDatum.java (original)
+++ lucene/nutch/trunk/src/java/org/apache/nutch/crawl/CrawlDatum.java Tue Apr 22 22:36:30 2008
@@ -158,7 +158,15 @@
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() {