Package org.redisson.client
Class DefaultNettyHook
java.lang.Object
org.redisson.client.DefaultNettyHook
- All Implemented Interfaces:
NettyHook
- Author:
- Nikita Koksharov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
afterBoostrapInitialization
(io.netty.bootstrap.Bootstrap bootstrap) Invoked when Redis client created and initialized Netty Bootstrap object.void
afterChannelInitialization
(io.netty.channel.Channel channel) Invoked when Netty Channel object was created and initialized.
-
Constructor Details
-
DefaultNettyHook
public DefaultNettyHook()
-
-
Method Details
-
afterBoostrapInitialization
public void afterBoostrapInitialization(io.netty.bootstrap.Bootstrap bootstrap) Description copied from interface:NettyHook
Invoked when Redis client created and initialized Netty Bootstrap object.- Specified by:
afterBoostrapInitialization
in interfaceNettyHook
- Parameters:
bootstrap
- - Netty Bootstrap object
-
afterChannelInitialization
public void afterChannelInitialization(io.netty.channel.Channel channel) Description copied from interface:NettyHook
Invoked when Netty Channel object was created and initialized.- Specified by:
afterChannelInitialization
in interfaceNettyHook
- Parameters:
channel
- - Netty Channel object
-