Package org.apache.nutch.crawl
Class FetchScheduleFactory
- java.lang.Object
-
- org.apache.nutch.crawl.FetchScheduleFactory
-
public class FetchScheduleFactory extends Object
Creates and caches aFetchSchedule
implementation.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FetchSchedule
getFetchSchedule(Configuration conf)
Return the FetchSchedule implementation specified within the givenConfiguration
, orDefaultFetchSchedule
by default.
-
-
-
Method Detail
-
getFetchSchedule
public static FetchSchedule getFetchSchedule(Configuration conf)
Return the FetchSchedule implementation specified within the givenConfiguration
, orDefaultFetchSchedule
by default.- Parameters:
conf
- a populatedConfiguration
object- Returns:
- a synchronized, static
FetchSchedule
-
-