在eclipse中利用全局搜索,搜索politeness,就找到了他的藏身之地Frontier--》AbstractFrontier
中的politenessDelayFor函数,
/**
* Update any scheduling structures with the new information in this
* CrawlURI. Chiefly means make necessary arrangements for no other URIs at
* the same host to be visited within the appropriate politeness window.
*
* @param curi
* The CrawlURI
* @return millisecond politeness delay
*/
protected long politenessDelayFor(CrawlURI curi) {
long durationToWait = 0;
..............................
return durationToWait;
}