com.groupbyinc.flux.client.transport.TransportClient.class Maven / Gradle / Ivy
???? 4E 4com/groupbyinc/flux/client/transport/TransportClient 1com/groupbyinc/flux/client/support/AbstractClient TransportClient.java 6com/groupbyinc/flux/client/transport/TransportClient$1 Hcom/groupbyinc/flux/client/transport/TransportClient$HostFailureListener HostFailureListener Ccom/groupbyinc/flux/client/transport/TransportClient$ClientTemplate ClientTemplate 4com/groupbyinc/flux/common/settings/Settings$Builder ,com/groupbyinc/flux/common/settings/Settings Builder Acom/groupbyinc/flux/common/io/stream/NamedWriteableRegistry$Entry ;com/groupbyinc/flux/common/io/stream/NamedWriteableRegistry Entry 4com/groupbyinc/flux/common/settings/Setting$Property +com/groupbyinc/flux/common/settings/Setting Property 7com/groupbyinc/flux/http/HttpServerTransport$Dispatcher ,com/groupbyinc/flux/http/HttpServerTransport
Dispatcher 6com/groupbyinc/flux/plugins/ActionPlugin$ActionHandler " (com/groupbyinc/flux/plugins/ActionPlugin $
ActionHandler %java/lang/invoke/MethodHandles$Lookup ' java/lang/invoke/MethodHandles ) Lookup 'CLIENT_TRANSPORT_NODES_SAMPLER_INTERVAL -Lcom/groupbyinc/flux/common/settings/Setting; ZLcom/groupbyinc/flux/common/settings/Setting; CLIENT_TRANSPORT_PING_TIMEOUT $CLIENT_TRANSPORT_IGNORE_CLUSTER_NAME BLcom/groupbyinc/flux/common/settings/Setting; CLIENT_TRANSPORT_SNIFF TRANSPORT_CLIENT_FEATURE Ljava/lang/String; transport_client 5 CLIENT_TYPE transport 8 injector ,Lcom/groupbyinc/flux/common/inject/Injector; namedWriteableRegistry =Lcom/groupbyinc/flux/common/io/stream/NamedWriteableRegistry; pluginLifecycleComponents Ljava/util/List; KLjava/util/List; nodesService BLcom/groupbyinc/flux/client/transport/TransportClientNodesService; proxy ;Lcom/groupbyinc/flux/client/transport/TransportProxyClient; newPluginService r(Lcom/groupbyinc/flux/common/settings/Settings;Ljava/util/Collection;)Lcom/groupbyinc/flux/plugins/PluginsService; builder 8()Lcom/groupbyinc/flux/common/settings/Settings$Builder; G H
I *com/groupbyinc/flux/transport/TcpTransport K
PING_SCHEDULE M - L N getKey ()Ljava/lang/String; P Q
R 5s T put \(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/settings/Settings$Builder; V W
X 1com/groupbyinc/flux/node/InternalSettingsPreparer Z prepareSettings ^(Lcom/groupbyinc/flux/common/settings/Settings;)Lcom/groupbyinc/flux/common/settings/Settings; \ ]
[ ^ f(Lcom/groupbyinc/flux/common/settings/Settings;)Lcom/groupbyinc/flux/common/settings/Settings$Builder; V `
a 1com/groupbyinc/flux/common/network/NetworkService c NETWORK_SERVER e - d f K(Ljava/lang/String;Z)Lcom/groupbyinc/flux/common/settings/Settings$Builder; V h
i CLIENT_TYPE_SETTING_S k - l *com/groupbyinc/flux/plugins/PluginsService n build 0()Lcom/groupbyinc/flux/common/settings/Settings; p q
r ?(Lcom/groupbyinc/flux/common/settings/Settings;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/util/Collection;)V t u
o v settings .Lcom/groupbyinc/flux/common/settings/Settings; plugins PLjava/util/Collection;>; Ljava/util/Collection; settingsBuilder 6Lcom/groupbyinc/flux/common/settings/Settings$Builder;
addPlugins @(Ljava/util/Collection;[Ljava/lang/Class;)Ljava/util/Collection; java/util/Arrays ? asList %([Ljava/lang/Object;)Ljava/util/List; ? ?
? ? D(Ljava/util/Collection;Ljava/util/Collection;)Ljava/util/Collection; ?
?
collection 9[Ljava/lang/Class<+Lcom/groupbyinc/flux/plugins/Plugin;>; [Ljava/lang/Class; java/util/ArrayList ? (Ljava/util/Collection;)V t ?
? ? java/util/Collection ? iterator ()Ljava/util/Iterator; ? ? ? ? java/util/Iterator ? hasNext ()Z ? ? ? ? next ()Ljava/lang/Object; ? ? ? ? java/lang/Class ? contains (Ljava/lang/Object;)Z ? ?
? ? "java/lang/IllegalArgumentException ? java/lang/StringBuilder ? ()V t ?
? ? plugin already exists: ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ? ?
? ? toString ? Q
? ? (Ljava/lang/String;)V t ?
? ? add ? ?
? ? p 8Ljava/lang/Class<+Lcom/groupbyinc/flux/plugins/Plugin;>; Ljava/lang/Class; list OLjava/util/ArrayList;>; Ljava/util/ArrayList;
buildTemplate(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/common/settings/Settings;Ljava/util/Collection;Lcom/groupbyinc/flux/client/transport/TransportClient$HostFailureListener;)Lcom/groupbyinc/flux/client/transport/TransportClient$ClientTemplate; com/groupbyinc/flux/node/Node ? NODE_NAME_SETTING ? - ? ? exists 1(Lcom/groupbyinc/flux/common/settings/Settings;)Z ? ?
? _client_ ? E F
? updatedSettings ? q
o ? #transport.features.transport_client ?
? ? )com/groupbyinc/flux/threadpool/ThreadPool ? .com/groupbyinc/flux/threadpool/ExecutorBuilder ? b(Lcom/groupbyinc/flux/common/settings/Settings;[Lcom/groupbyinc/flux/threadpool/ExecutorBuilder;)V t ?
? ? "java/lang/invoke/LambdaMetafactory ? 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; ? ?
? ? ? ? lambda$buildTemplate$0 .(Lcom/groupbyinc/flux/threadpool/ThreadPool;)V ? ?
? ? close @(Lcom/groupbyinc/flux/threadpool/ThreadPool;)Ljava/io/Closeable; ? ? ? java/util/List ? ? ? java/util/Collections ? emptyList ()Ljava/util/List; ? ?
? ? (Ljava/util/List;)V t ?
d ? getPluginSettings ?
o getPluginSettingsFilter ?
o builders ()Ljava/util/Collection;
? getRegisteredSettings
?
? addAll (Ljava/util/Collection;)Z
? 2com/groupbyinc/flux/common/settings/SettingsModule Q(Lcom/groupbyinc/flux/common/settings/Settings;Ljava/util/List;Ljava/util/List;)V t
'com/groupbyinc/flux/search/SearchModule (com/groupbyinc/flux/plugins/SearchPlugin
filterPlugins #(Ljava/lang/Class;)Ljava/util/List;
o B(Lcom/groupbyinc/flux/common/settings/Settings;ZLjava/util/List;)V t
)com/groupbyinc/flux/indices/IndicesModule!
" ? 0com/groupbyinc/flux/common/network/NetworkModule$ getNamedWriteables&