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, setConf
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConf, setConf
protected 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.Exception
protected int parseArgs(java.lang.String[] args, int i)
protected int run() throws java.lang.Exception
java.lang.Exception
protected int processSingle(java.lang.String input) throws java.lang.Exception
java.lang.Exception
protected int processStdin() throws java.lang.Exception
java.lang.Exception
protected void processTCP(int tcpPort) throws java.lang.Exception
java.lang.Exception
protected ProtocolOutput getProtocolOutput(java.lang.String url, CrawlDatum datum) throws java.lang.Exception
java.lang.Exception
Copyright © 2019 The Apache Software Foundation