public class SimpleBufferedConnector<S,T> extends Object implements Connector<S,T>, BufferedConnector
| Constructor and Description |
|---|
SimpleBufferedConnector() |
| Modifier and Type | Method and Description |
|---|---|
void |
connectAndStream(RealTimeLineReader<T> parser,
RealTimeWriter<T> writer)
Synchronous call to connect to the source , parse and write it.
|
int |
getWriteBufferSize() |
void |
setBufferSize(int writeBufferSize)
Read Buffer size number of records before committing to DataStore/Out
|
public int getWriteBufferSize()
public void setBufferSize(int writeBufferSize)
BufferedConnectorsetBufferSize in interface BufferedConnectorpublic void connectAndStream(RealTimeLineReader<T> parser, RealTimeWriter<T> writer) throws Exception
ConnectorconnectAndStream in interface Connector<S,T>ExceptionCopyright © 2018. All rights reserved.