com.groupbyinc.flux.transport.netty4.Netty4OpenChannelsHandler.class Maven / Gradle / Ivy
???? 4 ? >com/groupbyinc/flux/transport/netty4/Netty4OpenChannelsHandler Ecom/groupbyinc/flux/common/netty/channel/ChannelInboundHandlerAdapter +com/groupbyinc/flux/common/lease/Releasable Netty4OpenChannelsHandler.java BLcom/groupbyinc/flux/common/netty/channel/ChannelHandler$Sharable; @com/groupbyinc/flux/transport/netty4/Netty4OpenChannelsHandler$1 @com/groupbyinc/flux/common/netty/channel/ChannelHandler$Sharable 7com/groupbyinc/flux/common/netty/channel/ChannelHandler
Sharable openChannels Ljava/util/Set; CLjava/util/Set; openChannelsMetric 2Lcom/groupbyinc/flux/common/metrics/CounterMetric; totalChannelsMetric logger !Lorg/apache/logging/log4j/Logger; remover @Lcom/groupbyinc/flux/common/netty/channel/ChannelFutureListener; $(Lorg/apache/logging/log4j/Logger;)V ()V
&java/util/concurrent/ConcurrentHashMap
java/util/Collections "
newSetFromMap (Ljava/util/Map;)Ljava/util/Set; $ %
# & ( 0com/groupbyinc/flux/common/metrics/CounterMetric *
+ - / C(Lcom/groupbyinc/flux/transport/netty4/Netty4OpenChannelsHandler;)V 1
2 4 6 this @Lcom/groupbyinc/flux/transport/netty4/Netty4OpenChannelsHandler;
channelActive C(Lcom/groupbyinc/flux/common/netty/channel/ChannelHandlerContext;)V java/lang/Exception < org/apache/logging/log4j/Logger > isTraceEnabled ()Z @ A ? B channel opened: {} D >com/groupbyinc/flux/common/netty/channel/ChannelHandlerContext F channel 4()Lcom/groupbyinc/flux/common/netty/channel/Channel; H I G J trace '(Ljava/lang/String;Ljava/lang/Object;)V L M ? N
java/util/Set P add (Ljava/lang/Object;)Z R S Q T inc V
+ W 0com/groupbyinc/flux/common/netty/channel/Channel Y closeFuture :()Lcom/groupbyinc/flux/common/netty/channel/ChannelFuture; [ \ Z ] 6com/groupbyinc/flux/common/netty/channel/ChannelFuture _ addListener ?(Lcom/groupbyinc/flux/common/netty/util/concurrent/GenericFutureListener;)Lcom/groupbyinc/flux/common/netty/channel/ChannelFuture; a b ` c : ;
e ctx @Lcom/groupbyinc/flux/common/netty/channel/ChannelHandlerContext; added Z numberOfOpenChannels ()J count m l
+ n
totalChannels close java/io/IOException r 0com/groupbyinc/flux/transport/netty4/Netty4Utils t
closeChannels (Ljava/util/Collection;)V v w
u x exception while closing channels z *(Ljava/lang/String;Ljava/lang/Throwable;)V L | ? } clear Q ? e Ljava/io/IOException; Signature Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile InnerClasses RuntimeVisibleAnnotations ! ? ? ? :*? *? Y? !? '? )*? +Y? ,? .*? +Y? ,? 0*?
Y*? 3? 5*+? 7? ? : 8 9 : ? . ( ) * ( 2 4 / 9 0 : ; ? ? Z*? 7? C ? *? 7E+? K ? O *? )+? K ? U =? &*? .? X*? 0? X+? K ? ^ *? 5? d W*+? f? ? Z 8 9 Z g h - - i j ? &