Package org.redisson.client
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
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.
-
-
-
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
-
-