com.groupbyinc.flux.http.netty4.pipelining.HttpPipeliningHandler.class Maven / Gradle / Ivy
???? 4 ? @com/groupbyinc/flux/http/netty4/pipelining/HttpPipeliningHandler %io/netty/channel/ChannelDuplexHandler HttpPipeliningHandler.java holdingQueue Ljava/util/PriorityQueue; ]Ljava/util/PriorityQueue; logger 8Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;
maxEventsHeld I readSequence
writeSequence $assertionsDisabled Z <(Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;I)V ()V
java/util/PriorityQueue (I)V
this BLcom/groupbyinc/flux/http/netty4/pipelining/HttpPipeliningHandler; channelRead =(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)V java/lang/Exception % +io/netty/handler/codec/http/LastHttpContent ' ?com/groupbyinc/flux/http/netty4/pipelining/HttpPipelinedRequest ) retain /()Lio/netty/handler/codec/http/LastHttpContent; + , ( -
/ 1(Lio/netty/handler/codec/http/LastHttpContent;I)V 1
* 2 &io/netty/channel/ChannelHandlerContext 4 fireChannelRead <(Ljava/lang/Object;)Lio/netty/channel/ChannelHandlerContext; 6 7 5 8 ctx (Lio/netty/channel/ChannelHandlerContext; msg Ljava/lang/Object; write ^(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;Lio/netty/channel/ChannelPromise;)V @com/groupbyinc/flux/http/netty4/pipelining/HttpPipelinedResponse @ B promise #()Lio/netty/channel/ChannelPromise; D E
A F java/lang/AssertionError H
I size ()I K L
M add (Ljava/lang/Object;)Z O P
Q java/lang/Object S isEmpty ()Z U V
W peek ()Ljava/lang/Object; Y Z
[ sequence ] L
A ^ ` remove b Z
c response 0()Lio/netty/handler/codec/http/FullHttpResponse; e f
A g U(Ljava/lang/Object;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; > i 5 j java/lang/Throwable l channel ()Lio/netty/channel/Channel; n o 5 p java/util/Collections r
singletonList $(Ljava/lang/Object;)Ljava/util/List; t u
s v 0com/groupbyinc/flux/transport/netty4/Netty4Utils x
closeChannels (Ljava/util/Collection;)V z {
y | release ~ V
A io/netty/channel/ChannelPromise ?
setSuccess ? E ? ? top BLcom/groupbyinc/flux/http/netty4/pipelining/HttpPipelinedResponse; current channelShouldClose !Lio/netty/channel/ChannelPromise; close L(Lio/netty/channel/ChannelHandlerContext;Lio/netty/channel/ChannelPromise;)V (java/nio/channels/ClosedChannelException ?
? poll ? Z
?
setFailure 8(Ljava/lang/Throwable;)Lio/netty/channel/ChannelPromise; ? ? ? ? 9unexpected error while releasing pipelined http responses ? 6com/groupbyinc/flux/common/apache/logging/log4j/Logger ? error *(Ljava/lang/String;Ljava/lang/Throwable;)V ? ? ? ? C(Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; ? ? 5 ? e Ljava/lang/Exception; closedChannelException *Ljava/nio/channels/ClosedChannelException; pipelinedResponse java/lang/Class ? desiredAssertionStatus ? V
? ? Signature Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile ! ?
? i *? *+? *? *? Y? ? ? ? ! "
? ; <