org.apache.nutch.api.impl

## Class JobWorker

- java.lang.Object
- - org.apache.nutch.api.impl.JobWorker

- All Implemented Interfaces:
    Runnable

      public class JobWorker
      extends Object
      implements Runnable

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `JobWorker(JobConfig jobConfig, Configuration conf, NutchTool tool)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `JobInfo` | `getInfo()`
    `boolean` | `killJob()`
    `void` | `run()`
    `void` | `setInfo(JobInfo jobInfo)`
    `boolean` | `stopJob()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### JobWorker

          public JobWorker(JobConfig jobConfig,
                   Configuration conf,
                   NutchTool tool)

  - ### Method Detail

    - #### run

          public void run()

      Specified by:
        `run` in interface `Runnable`

    - #### stopJob

          public boolean stopJob()

    - #### killJob

          public boolean killJob()

    - #### getInfo

          public JobInfo getInfo()

    - #### setInfo

          public void setInfo(JobInfo jobInfo)

Copyright © 2015 The Apache Software Foundation