|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Crawler
An interface representing an instance of a Crawler.
Method Summary | |
---|---|
java.lang.String |
addJob(JobOrder order)
Adds a job to the pending job queue. |
boolean |
deleteCompletedCrawlJob(CompletedCrawlJob job)
Deletes a job from the completed list. |
boolean |
deletePendingCrawlJob(PendingCrawlJob job)
Deletes a job from the pending queue. |
void |
destroy()
Destroys the crawler instance and all dependent objects. |
java.lang.String |
getVersion()
Returns the Heritrix version. |
boolean |
isCrawling()
Returns true if the crawler has a currently running job. |
boolean |
isPendingJobQueueRunning()
Returns true if the pending job queue is running. |
java.util.Collection<CompletedCrawlJob> |
listCompletedCrawlJobs()
Returns a list of completed jobs. |
java.util.Collection<PendingCrawlJob> |
listPendingCrawlJobs()
Returns a list of pending jobs. |
void |
startPendingJobQueue()
Starts the pending job queue. |
void |
stopPendingJobQueue()
Stops the pending job queue. |
void |
terminateCurrentJob()
Terminates the currently running job. |
Methods inherited from interface org.archive.hcc.client.Proxy |
---|
getName |
Method Detail |
---|
void startPendingJobQueue()
void stopPendingJobQueue()
boolean isPendingJobQueueRunning()
java.lang.String addJob(JobOrder order)
order
-
void terminateCurrentJob()
boolean isCrawling()
java.lang.String getVersion()
void destroy()
boolean deletePendingCrawlJob(PendingCrawlJob job)
job
-
boolean deleteCompletedCrawlJob(CompletedCrawlJob job) throws ClusterException
job
-
ClusterException
java.util.Collection<PendingCrawlJob> listPendingCrawlJobs()
java.util.Collection<CompletedCrawlJob> listCompletedCrawlJobs()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |