Class AbstractInChannel
- java.lang.Object
-
- risesoft.data.transfer.core.channel.AbstractInChannel
-
-
Field Summary
Fields Modifier and Type Field Description protected Communicationcommunicationprotected RecordOutuptStreamrecordOutuptStream
-
Constructor Summary
Constructors Constructor Description AbstractInChannel(JobContext jobContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()关闭 通常代表着上游处理任务结束voidcollectDirtyRecord(Record record, Throwable t, String errorMessage)收集脏数据脏数据推往这voidsetOutPutStream(RecordOutuptStream recordOutuptStream)设置通道的出口-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface risesoft.data.transfer.core.stream.out.RecordOutuptStream
flush, writer, writer
-
-
-
-
Field Detail
-
recordOutuptStream
protected RecordOutuptStream recordOutuptStream
-
communication
protected Communication communication
-
-
Constructor Detail
-
AbstractInChannel
public AbstractInChannel(JobContext jobContext)
-
-
Method Detail
-
setOutPutStream
public void setOutPutStream(RecordOutuptStream recordOutuptStream)
Description copied from interface:Channel设置通道的出口- Specified by:
setOutPutStreamin interfaceChannel
-
close
public void close() throws ExceptionDescription copied from interface:Closed关闭 通常代表着上游处理任务结束
-
-