public class FailsafeChannelFactory extends NettyChannelFactoryDecorator
Failsafe
support for the underlying NettyChannelFactory
.Modifier | Constructor and Description |
---|---|
protected |
FailsafeChannelFactory(NettyChannelFactory channelFactory)
Constructor for FailsafeChannelFactory.
|
Modifier and Type | Method and Description |
---|---|
CompletableFuture<io.netty.channel.Channel> |
create(Object data)
create.
|
CompletableFuture<io.netty.channel.Channel> |
create(Object data,
io.netty.channel.EventLoop eventLoop)
create.
|
close, getBootstrap, getChannelInitializer, getExecutor, getOptions, getResolver, getTransportType, setChannelInitializer, setResolver
protected FailsafeChannelFactory(NettyChannelFactory channelFactory)
Constructor for FailsafeChannelFactory.
channelFactory
- a NettyChannelFactory
objectpublic CompletableFuture<io.netty.channel.Channel> create(Object data)
create.
create
in interface NettyChannelFactory
create
in class NettyChannelFactoryDecorator
data
- a Object
objectCompletableFuture
objectpublic CompletableFuture<io.netty.channel.Channel> create(Object data, io.netty.channel.EventLoop eventLoop)
create.
create
in interface NettyChannelFactory
create
in class NettyChannelFactoryDecorator
data
- a Object
objecteventLoop
- a EventLoop
objectCompletableFuture
objectCopyright © 2016–2024. All rights reserved.