com.groupbyinc.flux.transport.TcpTransport$NodeChannels.class Maven / Gradle / Ivy
???? 4, 7com/groupbyinc/flux/transport/TcpTransport$NodeChannels java/lang/Object 2com/groupbyinc/flux/transport/Transport$Connection TcpTransport.java :com/groupbyinc/flux/transport/TransportRequestOptions$Type 5com/groupbyinc/flux/transport/TransportRequestOptions
Type Dcom/groupbyinc/flux/transport/ConnectionProfile$ConnectionTypeHandle
/com/groupbyinc/flux/transport/ConnectionProfile ConnectionTypeHandle *com/groupbyinc/flux/transport/TcpTransport NodeChannels 'com/groupbyinc/flux/transport/Transport
Connection %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup typeMapping Ljava/util/Map; ?Ljava/util/Map; channels [Ljava/lang/Object;
[TChannel; node 0Lcom/groupbyinc/flux/cluster/node/DiscoveryNode; closed +Ljava/util/concurrent/atomic/AtomicBoolean; version Lcom/groupbyinc/flux/Version; $assertionsDisabled Z this$0 ,Lcom/groupbyinc/flux/transport/TcpTransport; ?(Lcom/groupbyinc/flux/transport/TcpTransport;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;[Ljava/lang/Object;Lcom/groupbyinc/flux/transport/ConnectionProfile;)V + , / ()V - 1
2 )java/util/concurrent/atomic/AtomicBoolean 4 (Z)V - 6
5 7 % & 9 # $ ; ! = ) * ? getNumConnections ()I A B
C java/lang/AssertionError E java/lang/StringBuilder G
H 2 expected channels size to be == J append -(Ljava/lang/String;)Ljava/lang/StringBuilder; L M
H N (I)Ljava/lang/StringBuilder; L P
H Q but was: [ S ] U toString ()Ljava/lang/String; W X
H Y (Ljava/lang/Object;)V - [
F \ .com/groupbyinc/flux/cluster/node/DiscoveryNode ^ ! java/util/EnumMap a (Ljava/lang/Class;)V - c
b d f
getHandles ()Ljava/util/List; h i
j java/util/List l iterator ()Ljava/util/Iterator; n o m p java/util/Iterator r hasNext ()Z t u s v next ()Ljava/lang/Object; x y s z getTypes ()Ljava/util/Set; | }
~
java/util/Set ? ? p
java/util/Map ? put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; ? ? ? ?
getVersion ()Lcom/groupbyinc/flux/Version; ? ?
_ ? ' ( ? type