Package org.apache.storm.messaging.netty
Class BackPressureStatusEncoder
- java.lang.Object
-
- org.apache.storm.shade.io.netty.channel.ChannelHandlerAdapter
-
- org.apache.storm.shade.io.netty.channel.ChannelOutboundHandlerAdapter
-
- org.apache.storm.shade.io.netty.handler.codec.MessageToMessageEncoder<BackPressureStatus>
-
- org.apache.storm.messaging.netty.BackPressureStatusEncoder
-
- All Implemented Interfaces:
org.apache.storm.shade.io.netty.channel.ChannelHandler
,org.apache.storm.shade.io.netty.channel.ChannelOutboundHandler
public class BackPressureStatusEncoder extends org.apache.storm.shade.io.netty.handler.codec.MessageToMessageEncoder<BackPressureStatus>
-
-
Constructor Summary
Constructors Constructor Description BackPressureStatusEncoder(KryoValuesSerializer ser)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
encode(org.apache.storm.shade.io.netty.channel.ChannelHandlerContext ctx, BackPressureStatus msg, List<Object> out)
-
Methods inherited from class org.apache.storm.shade.io.netty.handler.codec.MessageToMessageEncoder
acceptOutboundMessage, write
-
Methods inherited from class org.apache.storm.shade.io.netty.channel.ChannelOutboundHandlerAdapter
bind, close, connect, deregister, disconnect, flush, read
-
Methods inherited from class org.apache.storm.shade.io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharable
-
-
-
-
Constructor Detail
-
BackPressureStatusEncoder
public BackPressureStatusEncoder(KryoValuesSerializer ser)
-
-
Method Detail
-
encode
protected void encode(org.apache.storm.shade.io.netty.channel.ChannelHandlerContext ctx, BackPressureStatus msg, List<Object> out) throws Exception
- Specified by:
encode
in classorg.apache.storm.shade.io.netty.handler.codec.MessageToMessageEncoder<BackPressureStatus>
- Throws:
Exception
-
-