Class HandleInChannel
- java.lang.Object
-
- risesoft.data.transfer.core.channel.HandleInChannel
-
-
Constructor Summary
Constructors Constructor Description HandleInChannel(InChannel inChannel, HandleManager handleManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()关闭 通常代表着上游处理任务结束voidcollectDirtyRecord(Record record, Throwable t, String errorMessage)收集脏数据脏数据推往这voidflush()voidsetOutPutStream(RecordOutuptStream recordOutuptStream)设置通道的出口voidwriter(List<Record> record)批量输出数据voidwriter(Record record)输出一条record
-
-
-
Constructor Detail
-
HandleInChannel
public HandleInChannel(InChannel inChannel, HandleManager handleManager)
-
-
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
-
close
public void close() throws ExceptionDescription copied from interface:Closed关闭 通常代表着上游处理任务结束
-
writer
public void writer(List<Record> record)
Description copied from interface:RecordOutuptStream批量输出数据- Specified by:
writerin interfaceRecordOutuptStream
-
flush
public void flush()
- Specified by:
flushin interfaceRecordOutuptStream
-
-