Interface NettyHook

  • All Known Implementing Classes:
    DefaultNettyHook

    public interface NettyHook
    This interface allows to create hooks applied after Netty Bootstrap and Channel object initialization.
    Author:
    Nikita Koksharov
    • Method Detail

      • afterBoostrapInitialization

        void afterBoostrapInitialization​(io.netty.bootstrap.Bootstrap bootstrap)
        Invoked when Redis client created and initialized Netty Bootstrap object.
        Parameters:
        bootstrap - - Netty Bootstrap object
      • afterChannelInitialization

        void afterChannelInitialization​(io.netty.channel.Channel channel)
        Invoked when Netty Channel object was created and initialized.
        Parameters:
        channel - - Netty Channel object