@ChannelHandler.Sharable public class QueuingChannelHandler<T> extends io.netty.channel.SimpleChannelInboundHandler<Object>
Constructor and Description |
---|
QueuingChannelHandler(com.squareup.tape.ObjectQueue<List<T>> tape,
int maxCapacity,
AtomicBoolean histogramDisabled) |
Modifier and Type | Method and Description |
---|---|
protected void |
channelRead0(io.netty.channel.ChannelHandlerContext channelHandlerContext,
Object t) |
Runnable |
getBufferFlushTask() |
acceptInboundMessage, channelRead
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
protected static final Logger logger
public QueuingChannelHandler(@NotNull com.squareup.tape.ObjectQueue<List<T>> tape, int maxCapacity, AtomicBoolean histogramDisabled)
Copyright © 2018. All rights reserved.