com.groupbyinc.flux.transport.ConnectionProfile$Builder.class Maven / Gradle / Ivy
???? 4 ? 7com/groupbyinc/flux/transport/ConnectionProfile$Builder java/lang/Object ConnectionProfile.java Dcom/groupbyinc/flux/transport/ConnectionProfile$ConnectionTypeHandle /com/groupbyinc/flux/transport/ConnectionProfile ConnectionTypeHandle :com/groupbyinc/flux/transport/TransportRequestOptions$Type 5com/groupbyinc/flux/transport/TransportRequestOptions
Type Builder 1com/groupbyinc/flux/transport/ConnectionProfile$1 %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup handles Ljava/util/List; XLjava/util/List;
addedTypes Ljava/util/Set; MLjava/util/Set; offset I connectTimeout +Lcom/groupbyinc/flux/common/unit/TimeValue; handshakeTimeout ()V # $
% java/util/ArrayList '
( % * java/util/EnumSet , noneOf &(Ljava/lang/Class;)Ljava/util/EnumSet; . /
- 0 2 4 this 9Lcom/groupbyinc/flux/transport/ConnectionProfile$Builder; 4(Lcom/groupbyinc/flux/transport/ConnectionProfile;)V
getHandles ()Ljava/util/List; 9 :
; java/util/List = addAll (Ljava/util/Collection;)Z ? @ > A getNumConnections ()I C D
E "java/lang/invoke/LambdaMetafactory G metafactory ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite; I J
H K L (Ljava/lang/Object;)V N lambda$new$0 I(Lcom/groupbyinc/flux/transport/ConnectionProfile$ConnectionTypeHandle;)V P Q
R S Q accept X(Lcom/groupbyinc/flux/transport/ConnectionProfile$Builder;)Ljava/util/function/Consumer; V W X forEach (Ljava/util/function/Consumer;)V Z [ > \ getConnectTimeout -()Lcom/groupbyinc/flux/common/unit/TimeValue; ^ _
` ! b getHandshakeTimeout d _
e " ! g source 1Lcom/groupbyinc/flux/transport/ConnectionProfile; setConnectTimeout .(Lcom/groupbyinc/flux/common/unit/TimeValue;)V )com/groupbyinc/flux/common/unit/TimeValue m millis ()J o p
n q "java/lang/IllegalArgumentException s java/lang/StringBuilder u
v % -connectTimeout must be non-negative but was: x append -(Ljava/lang/String;)Ljava/lang/StringBuilder; z {
v | -(Ljava/lang/Object;)Ljava/lang/StringBuilder; z ~
v toString ()Ljava/lang/String; ? ?
v ? (Ljava/lang/String;)V # ?
t ? setHandshakeTimeout /handshakeTimeout must be non-negative but was: ? addConnections A(I[Lcom/groupbyinc/flux/transport/TransportRequestOptions$Type;)V types must not be null ? =[Lcom/groupbyinc/flux/transport/TransportRequestOptions$Type; ?
java/util/Set ? contains (Ljava/lang/Object;)Z ? ? ? ? type [ ? ] is already registered ? java/util/Arrays ? asList %([Ljava/lang/Object;)Ljava/util/List; ? ?
? ? ? A copyOf +(Ljava/util/Collection;)Ljava/util/EnumSet; ? ?
- ? G(IILjava/util/Set;Lcom/groupbyinc/flux/transport/ConnectionProfile$1;)V # ?
? add ? ? > ? type