public interface ChannelPool extends AutoCloseable
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the pool when it is no longer necessary.
|
BiConsumer<SignalType,Channel> |
getChannelCloseHandler()
The closing logic when the
Channel is disposed. |
Mono<? extends Channel> |
getChannelMono()
The
Channel to use for sending a flux of messages. |
Mono<? extends Channel> getChannelMono()
Channel
to use for sending a flux of messages.BiConsumer<SignalType,Channel> getChannelCloseHandler()
Channel
is disposed.void close()
close
in interface AutoCloseable