|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdk.netarkivet.harvester.harvesting.controller.AbstractJMXHeritrixController
public abstract class AbstractJMXHeritrixController
Abstract base class for JMX-based Heritrix controllers.
Constructor Summary | |
---|---|
AbstractJMXHeritrixController(HeritrixFiles files)
Create a BnfHeritrixController object. |
Method Summary | |
---|---|
HeritrixFiles |
getFiles()
|
protected int |
getGuiPort()
|
protected HeritrixFiles |
getHeritrixFiles()
|
protected java.lang.String |
getHostName()
|
protected int |
getJmxPort()
|
protected java.lang.String |
getJobDescription()
Return a human-readable description of the job. |
protected boolean |
processHasExited()
Return true if the Heritrix process has exited, logging the exit value if so. |
java.lang.String |
toString()
Get a string that describes the current controller in terms of job ID, harvest ID, and crawldir. |
protected void |
waitForHeritrixProcessExit()
Waits for the Heritrix process to exit. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface dk.netarkivet.harvester.harvesting.controller.HeritrixController |
---|
atFinish, beginCrawlStop, cleanup, crawlIsEnded, getActiveToeCount, getCurrentProcessedKBPerSec, getHarvestInformation, getProgressStats, getQueuedUriCount, initialize, isPaused, requestCrawlStart, requestCrawlStop |
Constructor Detail |
---|
public AbstractJMXHeritrixController(HeritrixFiles files)
files
- Files that are used to set up Heritrix.Method Detail |
---|
protected int getJmxPort()
protected int getGuiPort()
protected HeritrixFiles getHeritrixFiles()
protected java.lang.String getHostName()
public java.lang.String toString()
toString
in class java.lang.Object
protected boolean processHasExited()
protected void waitForHeritrixProcessExit()
protected java.lang.String getJobDescription()
public HeritrixFiles getFiles()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |