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)
BufferedConnector
setBufferSize
in interface BufferedConnector
public void connectAndStream(RealTimeLineReader<T> parser, RealTimeWriter<T> writer) throws Exception
Connector
connectAndStream
in interface Connector<S,T>
Exception
Copyright © 2018. All rights reserved.