Package com.linkedin.alpini.netty4.misc
Class NettyUtils
java.lang.Object
com.linkedin.alpini.netty4.misc.NettyUtils
Created by acurtis on 3/30/17.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final io.netty.util.AttributeKey<io.netty.util.concurrent.EventExecutorGroup>
-
Method Summary
Modifier and TypeMethodDescriptionstatic io.netty.util.concurrent.EventExecutorGroup
executorGroup
(io.netty.channel.Channel channel) static io.netty.util.concurrent.EventExecutorGroup
executorGroup
(io.netty.channel.ChannelPipeline pipeline) static boolean
static io.netty.buffer.ByteBuf
read
(io.netty.buffer.ByteBuf in, int length)
-
Field Details
-
EXECUTOR_GROUP_ATTRIBUTE_KEY
public static final io.netty.util.AttributeKey<io.netty.util.concurrent.EventExecutorGroup> EXECUTOR_GROUP_ATTRIBUTE_KEY
-
-
Method Details
-
read
public static io.netty.buffer.ByteBuf read(io.netty.buffer.ByteBuf in, int length) -
executorGroup
public static io.netty.util.concurrent.EventExecutorGroup executorGroup(io.netty.channel.Channel channel) -
executorGroup
public static io.netty.util.concurrent.EventExecutorGroup executorGroup(io.netty.channel.ChannelPipeline pipeline) -
isTrue
public static boolean isTrue(io.netty.util.AttributeMap map, io.netty.util.AttributeKey<Boolean> key)
-