|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.cloudera.sqoop.util.AsyncSink
com.cloudera.sqoop.util.NullAsyncSink
public class NullAsyncSink
An AsyncSink that takes the contents of a stream and ignores it.
Field Summary | |
---|---|
static org.apache.commons.logging.Log |
LOG
|
Constructor Summary | |
---|---|
NullAsyncSink()
|
Method Summary | |
---|---|
int |
join()
Wait until the stream has been processed. |
void |
processStream(java.io.InputStream is)
Create and run a thread to handle input from the provided InputStream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final org.apache.commons.logging.Log LOG
Constructor Detail |
---|
public NullAsyncSink()
Method Detail |
---|
public void processStream(java.io.InputStream is)
AsyncSink
processStream
in class AsyncSink
public int join() throws java.lang.InterruptedException
AsyncSink
join
in class AsyncSink
java.lang.InterruptedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |