Add @Sharable annotation to ChannelInitializer
This commit is contained in:
parent
f2eddda5a4
commit
5243d3d0f0
@ -1,8 +1,10 @@
|
||||
package io.netty.channel;
|
||||
|
||||
import io.netty.channel.ChannelHandler.Sharable;
|
||||
import io.netty.logging.InternalLogger;
|
||||
import io.netty.logging.InternalLoggerFactory;
|
||||
|
||||
@Sharable
|
||||
public abstract class ChannelInitializer<C extends Channel> extends ChannelInboundHandlerAdapter<Object> {
|
||||
|
||||
private static final InternalLogger logger = InternalLoggerFactory.getInstance(ChannelInitializer.class);
|
||||
|
Loading…
Reference in New Issue
Block a user