public class CandidateScoper extends Scoper
fileLogger, isRunning, loggerModule, scope
beanName, kp, recoveryCheckpoint, uriCount
Constructor and Description |
---|
CandidateScoper() |
Modifier and Type | Method and Description |
---|---|
protected void |
innerProcess(CrawlURI uri)
Actually performs the process.
|
protected ProcessResult |
innerProcessResult(CrawlURI curi) |
protected boolean |
shouldProcess(CrawlURI uri)
Determines whether the given uri should be processed by this
processor.
|
getLoggerModule, getLogToFile, getScope, isInScope, isRunning, outOfScope, setLoggerModule, setLogToFile, setScope, start, stop
doCheckpoint, finishCheckpoint, flattenVia, fromCheckpointJson, getBeanName, getEnabled, getKeyedProperties, getRecordedSize, getShouldProcessRule, getURICount, hasHttpAuthenticationCredential, innerRejectProcess, isSuccess, process, report, setBeanName, setEnabled, setRecoveryCheckpoint, setShouldProcessRule, startCheckpoint, toCheckpointJson
protected ProcessResult innerProcessResult(CrawlURI curi) throws InterruptedException
innerProcessResult
in class Processor
InterruptedException
protected boolean shouldProcess(CrawlURI uri)
Processor
shouldProcess
in class Processor
uri
- the URI to testprotected void innerProcess(CrawlURI uri) throws InterruptedException
Processor
#ENABLED
, the
#DECIDE_RULES
and the #shouldProcess(ProcessorURI)
tests.innerProcess
in class Processor
uri
- the URI to processInterruptedException
- if the thread is interruptedCopyright © 2003-2014 Internet Archive. All Rights Reserved.