org.apache.nutch.api
Interface JobManager

All Known Implementing Classes:
RAMJobManager

public interface JobManager


Nested Class Summary
static class JobManager.JobType
           
 
Method Summary
 boolean abort(String crawlId, String id)
           
 String create(String crawlId, JobManager.JobType type, String confId, Map<String,Object> args)
           
 JobStatus get(String crawlId, String id)
           
 List<JobStatus> list(String crawlId, JobStatus.State state)
           
 boolean stop(String crawlId, String id)
           
 

Method Detail

list

List<JobStatus> list(String crawlId,
                     JobStatus.State state)
                     throws Exception
Throws:
Exception

get

JobStatus get(String crawlId,
              String id)
              throws Exception
Throws:
Exception

create

String create(String crawlId,
              JobManager.JobType type,
              String confId,
              Map<String,Object> args)
              throws Exception
Throws:
Exception

abort

boolean abort(String crawlId,
              String id)
              throws Exception
Throws:
Exception

stop

boolean stop(String crawlId,
             String id)
             throws Exception
Throws:
Exception


Copyright © 2013 The Apache Software Foundation