com.groupbyinc.flux.transport.ConnectionProfile.class Maven / Gradle / Ivy
???? 4 ? /com/groupbyinc/flux/transport/ConnectionProfile java/lang/Object ConnectionProfile.java 1com/groupbyinc/flux/transport/ConnectionProfile$1 Dcom/groupbyinc/flux/transport/ConnectionProfile$ConnectionTypeHandle ConnectionTypeHandle 7com/groupbyinc/flux/transport/ConnectionProfile$Builder Builder :com/groupbyinc/flux/transport/TransportRequestOptions$Type 5com/groupbyinc/flux/transport/TransportRequestOptions Type %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup handles Ljava/util/List; XLjava/util/List; numConnections I connectTimeout +Lcom/groupbyinc/flux/common/unit/TimeValue; handshakeTimeout buildSingleChannelProfile ?(Lcom/groupbyinc/flux/transport/TransportRequestOptions$Type;Lcom/groupbyinc/flux/common/unit/TimeValue;Lcom/groupbyinc/flux/common/unit/TimeValue;)Lcom/groupbyinc/flux/transport/ConnectionProfile; %Lcom/groupbyinc/flux/common/Nullable; ()V # $
% addConnections A(I[Lcom/groupbyinc/flux/transport/TransportRequestOptions$Type;)V ' (
) java/util/EnumSet + allOf &(Ljava/lang/Class;)Ljava/util/EnumSet; - .
, / remove (Ljava/lang/Object;)Z 1 2
, 3 stream ()Ljava/util/stream/Stream; 5 6
, 7 "java/lang/invoke/LambdaMetafactory 9 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)Ljava/lang/Object; @ "lambda$buildSingleChannelProfile$0 @(I)[Lcom/groupbyinc/flux/transport/TransportRequestOptions$Type; B C
D E C apply "()Ljava/util/function/IntFunction; H I J java/util/stream/Stream L toArray 5(Ljava/util/function/IntFunction;)[Ljava/lang/Object; N O M P =[Lcom/groupbyinc/flux/transport/TransportRequestOptions$Type; R setConnectTimeout .(Lcom/groupbyinc/flux/common/unit/TimeValue;)V T U
V setHandshakeTimeout X U
Y build 3()Lcom/groupbyinc/flux/transport/ConnectionProfile; [ \
] channelType