com.groupbyinc.flux.transport.TcpTransport$ProfileSettings.class Maven / Gradle / Ivy
???? 4 ? :com/groupbyinc/flux/transport/TcpTransport$ProfileSettings java/lang/Object TcpTransport.java *com/groupbyinc/flux/transport/TcpTransport ProfileSettings 8com/groupbyinc/flux/common/settings/Setting$AffixSetting +com/groupbyinc/flux/common/settings/Setting AffixSetting profileName Ljava/lang/String;
tcpNoDelay Z tcpKeepAlive reuseAddress sendBufferSize /Lcom/groupbyinc/flux/common/unit/ByteSizeValue; receiveBufferSize bindHosts Ljava/util/List; $Ljava/util/List; publishHosts portOrRange publishPort I isDefaultProfile C(Lcom/groupbyinc/flux/common/settings/Settings;Ljava/lang/String;)V ()V !
" $ default & java/lang/String ( equals (Ljava/lang/Object;)Z * +
) , . TCP_KEEP_ALIVE_PROFILE :Lcom/groupbyinc/flux/common/settings/Setting$AffixSetting; 0 1 2 getConcreteSettingForNamespace A(Ljava/lang/String;)Lcom/groupbyinc/flux/common/settings/Setting; 4 5
6 get B(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/Object; 8 9
: java/lang/Boolean < booleanValue ()Z > ?
= @ B TCP_NO_DELAY_PROFILE D 1 E G TCP_REUSE_ADDRESS_PROFILE I 1 J L TCP_SEND_BUFFER_SIZE_PROFILE N 1 O -com/groupbyinc/flux/common/unit/ByteSizeValue Q S TCP_RECEIVE_BUFFER_SIZE_PROFILE U 1 V X BIND_HOST_PROFILE Z 1 [ java/util/List ] isEmpty _ ? ^ ` 1com/groupbyinc/flux/common/network/NetworkService b GLOBAL_NETWORK_BINDHOST_SETTING -Lcom/groupbyinc/flux/common/settings/Setting; d e c f ,com/groupbyinc/flux/common/settings/Settings h j PUBLISH_HOST_PROFILE l 1 m o PORT_PROFILE q 1 r exists 1(Lcom/groupbyinc/flux/common/settings/Settings;)Z t u
v java/lang/IllegalStateException x java/lang/StringBuilder z
{ " profile [ } append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ?
{ ? ] has no port configured ? toString ()Ljava/lang/String; ? ?
{ ? (Ljava/lang/String;)V ?
y ? ? PUBLISH_PORT ? e ? java/lang/Integer ? intValue ()I ? ?
? ? PUBLISH_PORT_PROFILE ? 1 ? ? this