Class OutChannelExchange
- java.lang.Object
-
- risesoft.data.transfer.core.exchange.OutChannelExchange
-
- All Implemented Interfaces:
Closed,Exchange,RecordOutuptStream
public abstract class OutChannelExchange extends Object implements Exchange
- Author:
- lb
- Date:
- 2023年12月11日
-
-
Field Summary
Fields Modifier and Type Field Description protected OutChannelchannelprotected booleanisShutdown是否关闭
-
Constructor Summary
Constructors Constructor Description OutChannelExchange()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()关闭 通常代表着上游处理任务结束OutChannelgetOutChannel()获取输出通道voidsetOutChannel(OutChannel channel)设置这个交换机的输出通道voidshutdown()关闭-
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
-
channel
protected OutChannel channel
-
isShutdown
protected volatile boolean isShutdown
是否关闭
-
-
Method Detail
-
close
public void close() throws ExceptionDescription copied from interface:Closed关闭 通常代表着上游处理任务结束
-
setOutChannel
public void setOutChannel(OutChannel channel)
Description copied from interface:Exchange设置这个交换机的输出通道- Specified by:
setOutChannelin interfaceExchange
-
getOutChannel
public OutChannel getOutChannel()
Description copied from interface:Exchange获取输出通道- Specified by:
getOutChannelin interfaceExchange- Returns:
-
-