public abstract class AbstractChecker extends Configured implements Tool
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
keepClientCnxOpen |
protected boolean |
stdin |
protected int |
tcpPort |
protected java.lang.String |
usage |
| Constructor and Description |
|---|
AbstractChecker() |
| Modifier and Type | Method and Description |
|---|---|
protected ProtocolOutput |
getProtocolOutput(java.lang.String url,
CrawlDatum datum) |
protected int |
parseArgs(java.lang.String[] args,
int i) |
protected abstract int |
process(java.lang.String line,
java.lang.StringBuilder output) |
protected int |
processSingle(java.lang.String input) |
protected int |
processStdin() |
protected void |
processTCP(int tcpPort) |
protected int |
run() |
getConf, setConfclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConf, setConfprotected boolean keepClientCnxOpen
protected int tcpPort
protected boolean stdin
protected java.lang.String usage
protected abstract int process(java.lang.String line,
java.lang.StringBuilder output)
throws java.lang.Exception
java.lang.Exceptionprotected int parseArgs(java.lang.String[] args,
int i)
protected int run()
throws java.lang.Exception
java.lang.Exceptionprotected int processSingle(java.lang.String input)
throws java.lang.Exception
java.lang.Exceptionprotected int processStdin()
throws java.lang.Exception
java.lang.Exceptionprotected void processTCP(int tcpPort)
throws java.lang.Exception
java.lang.Exceptionprotected ProtocolOutput getProtocolOutput(java.lang.String url, CrawlDatum datum) throws java.lang.Exception
java.lang.ExceptionCopyright © 2019 The Apache Software Foundation