com.groupbyinc.flux.common.network.NetworkModule.class Maven / Gradle / Ivy
???? 4? 0com/groupbyinc/flux/common/network/NetworkModule java/lang/Object NetworkModule.java 2com/groupbyinc/flux/common/network/NetworkModule$1 Ncom/groupbyinc/flux/common/network/NetworkModule$CompositeTransportInterceptor CompositeTransportInterceptor Acom/groupbyinc/flux/common/io/stream/NamedWriteableRegistry$Entry ;com/groupbyinc/flux/common/io/stream/NamedWriteableRegistry
Entry ?com/groupbyinc/flux/common/xcontent/NamedXContentRegistry$Entry 9com/groupbyinc/flux/common/xcontent/NamedXContentRegistry 7com/groupbyinc/flux/http/HttpServerTransport$Dispatcher ,com/groupbyinc/flux/http/HttpServerTransport
Dispatcher java/util/Map$Entry
java/util/Map 5com/groupbyinc/flux/common/io/stream/Writeable$Reader .com/groupbyinc/flux/common/io/stream/Writeable Reader 4com/groupbyinc/flux/common/settings/Setting$Property " +com/groupbyinc/flux/common/settings/Setting $ Property %com/groupbyinc/flux/tasks/Task$Status ' com/groupbyinc/flux/tasks/Task ) Status Ecom/groupbyinc/flux/action/support/replication/ReplicationTask$Status , >com/groupbyinc/flux/action/support/replication/ReplicationTask . %java/lang/invoke/MethodHandles$Lookup 0 java/lang/invoke/MethodHandles 2 Lookup TRANSPORT_TYPE_KEY Ljava/lang/String; transport.type 7
HTTP_TYPE_KEY http.type : HTTP_TYPE_DEFAULT_KEY http.type.default = TRANSPORT_TYPE_DEFAULT_KEY transport.type.default @ TRANSPORT_DEFAULT_TYPE_SETTING -Lcom/groupbyinc/flux/common/settings/Setting; ALcom/groupbyinc/flux/common/settings/Setting; HTTP_DEFAULT_TYPE_SETTING HTTP_TYPE_SETTING HTTP_ENABLED BLcom/groupbyinc/flux/common/settings/Setting; TRANSPORT_TYPE_SETTING settings .Lcom/groupbyinc/flux/common/settings/Settings; transportClient Z namedWriteables Ljava/util/List; ULjava/util/List; namedXContents SLjava/util/List; transportFactories Ljava/util/Map; kLjava/util/Map;>; transportHttpFactories pLjava/util/Map;>; transportIntercetors FLjava/util/List; ?(Lcom/groupbyinc/flux/common/settings/Settings;ZLjava/util/List;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/common/util/BigArrays;Lcom/groupbyinc/flux/common/util/PageCacheRecycler;Lcom/groupbyinc/flux/indices/breaker/CircuitBreakerService;Lcom/groupbyinc/flux/common/io/stream/NamedWriteableRegistry;Lcom/groupbyinc/flux/common/xcontent/NamedXContentRegistry;Lcom/groupbyinc/flux/common/network/NetworkService;Lcom/groupbyinc/flux/http/HttpServerTransport$Dispatcher;)V ()V Z \
] java/util/HashMap _
` ] S T b V T d java/util/ArrayList f
g ] X O i J K k L M m java/util/List o iterator ()Ljava/util/Iterator; q r p s ,com/groupbyinc/flux/common/settings/Settings u )com/groupbyinc/flux/threadpool/ThreadPool w )com/groupbyinc/flux/common/util/BigArrays y 1com/groupbyinc/flux/common/util/PageCacheRecycler { 9com/groupbyinc/flux/indices/breaker/CircuitBreakerService } 1com/groupbyinc/flux/common/network/NetworkService java/util/Iterator ? hasNext ()Z ? ? ? ? next ()Ljava/lang/Object; ? ? ? ? )com/groupbyinc/flux/plugins/NetworkPlugin ? G C ? get B(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/Object; ? ?
% ? java/lang/Boolean ? booleanValue ? ?
? ? getHttpTransports?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/common/util/BigArrays;Lcom/groupbyinc/flux/indices/breaker/CircuitBreakerService;Lcom/groupbyinc/flux/common/io/stream/NamedWriteableRegistry;Lcom/groupbyinc/flux/common/xcontent/NamedXContentRegistry;Lcom/groupbyinc/flux/common/network/NetworkService;Lcom/groupbyinc/flux/http/HttpServerTransport$Dispatcher;)Ljava/util/Map; ? ? ? ? entrySet ()Ljava/util/Set; ? ? ?
java/util/Set ? ? s getKey ? ? ? java/lang/String ? getValue ? ? ? java/util/function/Supplier ? registerHttpTransport 2(Ljava/lang/String;Ljava/util/function/Supplier;)V ? ?
?
getTransportss(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/common/util/BigArrays;Lcom/groupbyinc/flux/common/util/PageCacheRecycler;Lcom/groupbyinc/flux/indices/breaker/CircuitBreakerService;Lcom/groupbyinc/flux/common/io/stream/NamedWriteableRegistry;Lcom/groupbyinc/flux/common/network/NetworkService;)Ljava/util/Map; ? ? ? ? registerTransport ? ?
? getThreadContext <()Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext; ? ?
x ? getTransportInterceptors ?(Lcom/groupbyinc/flux/common/io/stream/NamedWriteableRegistry;Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext;)Ljava/util/List; ? ? ? ? 2com/groupbyinc/flux/transport/TransportInterceptor ? registerTransportInterceptor 7(Lcom/groupbyinc/flux/transport/TransportInterceptor;)V ? ?
? entry vLjava/util/Map$Entry;>; Ljava/util/Map$Entry; httpTransportFactory qLjava/util/Map$Entry;>; interceptor 4Lcom/groupbyinc/flux/transport/TransportInterceptor; transportFactory transportInterceptors plugin +Lcom/groupbyinc/flux/plugins/NetworkPlugin; this 2Lcom/groupbyinc/flux/common/network/NetworkModule; plugins =Ljava/util/List;
threadPool +Lcom/groupbyinc/flux/threadpool/ThreadPool; bigArrays +Lcom/groupbyinc/flux/common/util/BigArrays; pageCacheRecycler 3Lcom/groupbyinc/flux/common/util/PageCacheRecycler; circuitBreakerService ;Lcom/groupbyinc/flux/indices/breaker/CircuitBreakerService; namedWriteableRegistry =Lcom/groupbyinc/flux/common/io/stream/NamedWriteableRegistry; xContentRegistry ;Lcom/groupbyinc/flux/common/xcontent/NamedXContentRegistry; networkService 3Lcom/groupbyinc/flux/common/network/NetworkService;
dispatcher 9Lcom/groupbyinc/flux/http/HttpServerTransport$Dispatcher; isTransportClient putIfAbsent 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; ? ? ? "java/lang/IllegalArgumentException ? java/lang/StringBuilder ?
? ] transport for name: ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? is already registered ? toString ()Ljava/lang/String; ? ?
? ? (Ljava/lang/String;)V Z ?
? ? key factory HLjava/util/function/Supplier; Ljava/util/function/Supplier; Cannot register http transport for transport client MLjava/util/function/Supplier; registerAllocationCommand ?(Lcom/groupbyinc/flux/common/io/stream/Writeable$Reader;Lcom/groupbyinc/flux/common/CheckedFunction;Lcom/groupbyinc/flux/common/ParseField;)V Q O Hcom/groupbyinc/flux/cluster/routing/allocation/command/AllocationCommand g(Ljava/lang/Class;Lcom/groupbyinc/flux/common/ParseField;Lcom/groupbyinc/flux/common/CheckedFunction;)V Z
add (Ljava/lang/Object;)Z p N O %com/groupbyinc/flux/common/ParseField getPreferredName ?
](Ljava/lang/Class;Ljava/lang/String;Lcom/groupbyinc/flux/common/io/stream/Writeable$Reader;)V Z
reader ; 7Lcom/groupbyinc/flux/common/io/stream/Writeable$Reader; parser zLcom/groupbyinc/flux/common/CheckedFunction; ,Lcom/groupbyinc/flux/common/CheckedFunction; commandName 'Lcom/groupbyinc/flux/common/ParseField; getNamedWriteables ()Ljava/util/List; java/util/Collections( unmodifiableList "(Ljava/util/List;)Ljava/util/List;*+
), getNamedXContents getHttpServerTransportSupplier ()Ljava/util/function/Supplier; F C 1 exists 1(Lcom/groupbyinc/flux/common/settings/Settings;)Z34
%5 E C 7 &(Ljava/lang/Object;)Ljava/lang/Object; ?9 : java/lang/IllegalStateException< Unsupported http.type [> ]@
= ? name
isHttpEnabled getTransportSupplier I C F B C H Unsupported transport.type [J interceptor must not be nullL java/util/ObjectsN requireNonNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;PQ
OR getTransportInterceptor 6()Lcom/groupbyinc/flux/transport/TransportInterceptor; G(Ljava/util/List;Lcom/groupbyinc/flux/common/network/NetworkModule$1;)V ZV
W NodeScope 6Lcom/groupbyinc/flux/common/settings/Setting$Property;Z[ #\ simpleString x(Ljava/lang/String;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting;^_
%` http.enabledb
Deprecatedd[ #e boolSetting y(Ljava/lang/String;Z[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting;gh
%i "java/lang/invoke/LambdaMetafactoryk 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;mn
lop F(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Ljava/lang/Object;r Ncom/groupbyinc/flux/cluster/routing/allocation/command/CancelAllocationCommandt 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V Zv
uwx ?(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/cluster/routing/allocation/command/CancelAllocationCommand;z read 9()Lcom/groupbyinc/flux/common/io/stream/Writeable$Reader;|} ~9 fromXContent ?(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/cluster/routing/allocation/command/CancelAllocationCommand;??
u??? apply .()Lcom/groupbyinc/flux/common/CheckedFunction;?? ? COMMAND_NAME_FIELD?% u?
? Lcom/groupbyinc/flux/cluster/routing/allocation/command/MoveAllocationCommand?
?w? ?(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/cluster/routing/allocation/command/MoveAllocationCommand;? ~ ?(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/cluster/routing/allocation/command/MoveAllocationCommand;??
???? ? ?? Wcom/groupbyinc/flux/cluster/routing/allocation/command/AllocateReplicaAllocationCommand?
?w? ?(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/cluster/routing/allocation/command/AllocateReplicaAllocationCommand;? ~ ?(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/cluster/routing/allocation/command/AllocateReplicaAllocationCommand;??
???? ? ?? \com/groupbyinc/flux/cluster/routing/allocation/command/AllocateEmptyPrimaryAllocationCommand?
?w? ?(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/cluster/routing/allocation/command/AllocateEmptyPrimaryAllocationCommand;? ~ ?(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/cluster/routing/allocation/command/AllocateEmptyPrimaryAllocationCommand;??
???? ? ?? \com/groupbyinc/flux/cluster/routing/allocation/command/AllocateStalePrimaryAllocationCommand?
?w? ?(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/cluster/routing/allocation/command/AllocateStalePrimaryAllocationCommand;? ~ ?(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/cluster/routing/allocation/command/AllocateStalePrimaryAllocationCommand;??
???? ? ?? replication?
-w? [(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/tasks/Task$Status;?
~ raw? 'com/groupbyinc/flux/tasks/RawTaskStatus?
?w? ~
ConstantValue Signature Code LocalVariableTable LocalVariableTypeTable LineNumberTable
StackMapTable(Lcom/groupbyinc/flux/common/settings/Settings;ZLjava/util/List;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/common/util/BigArrays;Lcom/groupbyinc/flux/common/util/PageCacheRecycler;Lcom/groupbyinc/flux/indices/breaker/CircuitBreakerService;Lcom/groupbyinc/flux/common/io/stream/NamedWriteableRegistry;Lcom/groupbyinc/flux/common/xcontent/NamedXContentRegistry;Lcom/groupbyinc/flux/common/network/NetworkService;Lcom/groupbyinc/flux/http/HttpServerTransport$Dispatcher;)V ](Ljava/lang/String;Ljava/util/function/Supplier;)V b(Ljava/lang/String;Ljava/util/function/Supplier;)V/(Lcom/groupbyinc/flux/common/io/stream/Writeable$Reader;Lcom/groupbyinc/flux/common/CheckedFunction;Lcom/groupbyinc/flux/common/ParseField;)V W()Ljava/util/List; U()Ljava/util/List; O()Ljava/util/function/Supplier; J()Ljava/util/function/Supplier; BootstrapMethods
SourceFile InnerClasses 1 5 6 ? 8 9 6 ? ; <