public interface NettyCustomizer
Channelvia callback hooks.
Contrary to other driver options, the options available in this class should be considered as advanced feature and as such, they should only be modified by expert users. A misconfiguration introduced by the means of this API can have unexpected results and cause the driver to completely fail to connect.
|Modifier and Type||Method and Description|
Hook invoked each time the driver creates a new Connection and configures a new instance of Bootstrap for it.
Hook invoked each time the driver initializes the channel.
default void afterBootstrapInitialized(Bootstrap bootstrap)
SocketOptions. This is a good place to add extra
ChannelOptions to the
bootstrap- must not be null.
default void afterChannelInitialized(Channel channel)
channel- must not be null.
Copyright © 2020 lettuce.io. All rights reserved.