Package org.redisson.client
Class DefaultNettyHook
java.lang.Object
org.redisson.client.DefaultNettyHook
- All Implemented Interfaces:
NettyHook
- Author:
- Nikita Koksharov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterBoostrapInitialization(io.netty.bootstrap.Bootstrap bootstrap) Invoked when Redis client created and initialized Netty Bootstrap object.voidafterChannelInitialization(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:NettyHookInvoked when Redis client created and initialized Netty Bootstrap object.- Specified by:
afterBoostrapInitializationin interfaceNettyHook- Parameters:
bootstrap- - Netty Bootstrap object
-
afterChannelInitialization
public void afterChannelInitialization(io.netty.channel.Channel channel) Description copied from interface:NettyHookInvoked when Netty Channel object was created and initialized.- Specified by:
afterChannelInitializationin interfaceNettyHook- Parameters:
channel- - Netty Channel object
-