org.apache.nutch.api.impl
Class RAMJobManager
java.lang.Object
org.apache.nutch.api.impl.RAMJobManager
- All Implemented Interfaces:
- JobManager
public class RAMJobManager
- extends Object
- implements JobManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RAMJobManager
public RAMJobManager()
list
public List<JobStatus> list(String crawlId,
JobStatus.State state)
throws Exception
- Specified by:
list
in interface JobManager
- Throws:
Exception
get
public JobStatus get(String crawlId,
String jobId)
throws Exception
- Specified by:
get
in interface JobManager
- Throws:
Exception
create
public String create(String crawlId,
JobManager.JobType type,
String confId,
Map<String,Object> args)
throws Exception
- Specified by:
create
in interface JobManager
- Throws:
Exception
abort
public boolean abort(String crawlId,
String id)
throws Exception
- Specified by:
abort
in interface JobManager
- Throws:
Exception
stop
public boolean stop(String crawlId,
String id)
throws Exception
- Specified by:
stop
in interface JobManager
- Throws:
Exception
Copyright © 2012 The Apache Software Foundation