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