Class JoinOutExecutorChannel
- java.lang.Object
-
- risesoft.data.transfer.core.channel.JoinOutExecutorChannel
-
- All Implemented Interfaces:
Channel,OutChannel,Closed,RecordOutuptStream
public class JoinOutExecutorChannel extends Object implements OutChannel
连接输出器的通道- Author:
- lb
- Date:
- 2023年12月8日
-
-
Constructor Summary
Constructors Constructor Description JoinOutExecutorChannel(ExecutorTaskQueue outExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()关闭 通常代表着上游处理任务结束voidflush()voidsetOutPutStream(RecordOutuptStream recordOutuptStream)设置通道的出口voidwriter(List<Record> record)批量输出数据voidwriter(Record record)输出一条record
-
-
-
Constructor Detail
-
JoinOutExecutorChannel
public JoinOutExecutorChannel(ExecutorTaskQueue outExecutor)
-
-
Method Detail
-
setOutPutStream
public void setOutPutStream(RecordOutuptStream recordOutuptStream)
Description copied from interface:Channel设置通道的出口- Specified by:
setOutPutStreamin interfaceChannel
-
writer
public void writer(Record record)
Description copied from interface:RecordOutuptStream输出一条record- Specified by:
writerin interfaceRecordOutuptStream
-
writer
public void writer(List<Record> record)
Description copied from interface:RecordOutuptStream批量输出数据- Specified by:
writerin interfaceRecordOutuptStream
-
close
public void close()
Description copied from interface:Closed关闭 通常代表着上游处理任务结束
-
flush
public void flush()
- Specified by:
flushin interfaceRecordOutuptStream
-
-