Class SimpleMemoryPipelineChannel
java.lang.Object
org.apache.shardingsphere.data.pipeline.core.ingest.channel.memory.SimpleMemoryPipelineChannel
- All Implemented Interfaces:
PipelineChannel
Simple memory pipeline channel.
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleMemoryPipelineChannel(int blockQueueSize) SimpleMemoryPipelineChannel(int blockQueueSize, AckCallback ackCallback) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclose()fetchRecords(int batchSize, int timeoutSeconds) voidpushRecord(Record dataRecord)
-
Constructor Details
-
SimpleMemoryPipelineChannel
public SimpleMemoryPipelineChannel(int blockQueueSize) -
SimpleMemoryPipelineChannel
-
-
Method Details
-
pushRecord
- Specified by:
pushRecordin interfacePipelineChannel
-
fetchRecords
- Specified by:
fetchRecordsin interfacePipelineChannel
-
ack
- Specified by:
ackin interfacePipelineChannel
-
close
public void close()- Specified by:
closein interfacePipelineChannel
-