public abstract class NettyChannelPoolFactory extends Object
Abstract NettyChannelPoolFactory class.
| Modifier | Constructor and Description |
|---|---|
protected |
NettyChannelPoolFactory(NettyChannelFactory channelFactory)
Constructor for NettyChannelPoolFactory.
|
| Modifier and Type | Method and Description |
|---|---|
abstract NettyChannelPool |
create(InetSocketAddress localAddress,
InetSocketAddress remoteAddress)
create.
|
NettyChannelFactory |
getChannelFactory()
Getter for the field
channelFactory. |
ChannelHealthChecker |
getChannelHealthChecker()
Getter for the field
channelHealthChecker. |
io.netty.channel.pool.ChannelPoolHandler |
getChannelPoolHandler()
Getter for the field
channelPoolHandler. |
protected NettyChannelPoolFactory(NettyChannelFactory channelFactory)
Constructor for NettyChannelPoolFactory.
channelFactory - a NettyChannelFactory objectpublic abstract NettyChannelPool create(InetSocketAddress localAddress, InetSocketAddress remoteAddress)
create.
localAddress - a InetSocketAddress objectremoteAddress - a InetSocketAddress objectNettyChannelPool objectpublic final NettyChannelFactory getChannelFactory()
Getter for the field channelFactory.
NettyChannelFactory objectpublic final ChannelHealthChecker getChannelHealthChecker()
Getter for the field channelHealthChecker.
ChannelHealthChecker objectpublic final io.netty.channel.pool.ChannelPoolHandler getChannelPoolHandler()
Getter for the field channelPoolHandler.
ChannelPoolHandler objectCopyright © 2016–2024. All rights reserved.