Package org.apache.nutch.service.impl
Class JobWorker
- java.lang.Object
-
- org.apache.nutch.service.impl.JobWorker
-
-
Constructor Summary
Constructors Constructor Description JobWorker(JobConfig jobConfig, Configuration conf, NutchTool tool)To initialize JobWorker thread with the Job Configurations provided by user.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobInfogetInfo()booleankillJob()voidrun()voidsetInfo(JobInfo jobInfo)booleanstopJob()To stop the executing job
-
-
-
Constructor Detail
-
JobWorker
public JobWorker(JobConfig jobConfig, Configuration conf, NutchTool tool)
To initialize JobWorker thread with the Job Configurations provided by user.- Parameters:
jobConfig- job-specificJobConfigconf- a populatedConfigurationtool- {!NutchToolto run return JobWorker
-
-