org.apache.nutch.service.impl

## Class JobManagerImpl

- java.lang.Object
- - org.apache.nutch.service.impl.JobManagerImpl

- All Implemented Interfaces:
    JobManager

      public class JobManagerImpl
      extends java.lang.Object
      implements JobManager

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface org.apache.nutch.service.JobManager

      `JobManager.JobType`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `JobManagerImpl(JobFactory jobFactory, ConfManager configManager, NutchServerPoolExecutor executor)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `abort(java.lang.String crawlId, java.lang.String id)`
    `JobInfo` | `create(JobConfig jobConfig)` Creates specified job
    `JobInfo` | `get(java.lang.String crawlId, java.lang.String jobId)`
    `java.util.Collection<JobInfo>` | `list(java.lang.String crawlId, JobInfo.State state)`
    `boolean` | `stop(java.lang.String crawlId, java.lang.String id)`

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

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

- - ### Constructor Detail

    - #### JobManagerImpl

          public JobManagerImpl(JobFactory jobFactory,
                                ConfManager configManager,
                                NutchServerPoolExecutor executor)

  - ### Method Detail

    - #### create

          public JobInfo create(JobConfig jobConfig)

      Description copied from interface: `JobManager`
      Creates specified job
      Specified by:
        `create` in interface `JobManager`
      Returns:
        JobInfo

    - #### list

          public java.util.Collection<JobInfo> list(java.lang.String crawlId,
                                                    JobInfo.State state)

      Specified by:
        `list` in interface `JobManager`

    - #### get

          public JobInfo get(java.lang.String crawlId,
                             java.lang.String jobId)

      Specified by:
        `get` in interface `JobManager`

    - #### abort

          public boolean abort(java.lang.String crawlId,
                               java.lang.String id)

      Specified by:
        `abort` in interface `JobManager`

    - #### stop

          public boolean stop(java.lang.String crawlId,
                              java.lang.String id)

      Specified by:
        `stop` in interface `JobManager`

Copyright © 2019 The Apache Software Foundation