|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.cloudera.sqoop.util.AsyncSink
public abstract class AsyncSink
An interface describing a factory class for a Thread class that handles input from some sort of stream. When the stream is closed, the thread should terminate.
Constructor Summary | |
---|---|
AsyncSink()
|
Method Summary | |
---|---|
abstract int |
join()
Wait until the stream has been processed. |
abstract 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 |
Constructor Detail |
---|
public AsyncSink()
Method Detail |
---|
public abstract void processStream(java.io.InputStream is)
public abstract int join() throws java.lang.InterruptedException
java.lang.InterruptedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |