com.groupbyinc.flux.transport.Netty4Plugin.class Maven / Gradle / Ivy
???? 4 ? *com/groupbyinc/flux/transport/Netty4Plugin "com/groupbyinc/flux/plugins/Plugin )com/groupbyinc/flux/plugins/NetworkPlugin Netty4Plugin.java 7com/groupbyinc/flux/http/HttpServerTransport$Dispatcher ,com/groupbyinc/flux/http/HttpServerTransport
Dispatcher 4com/groupbyinc/flux/common/settings/Settings$Builder
,com/groupbyinc/flux/common/settings/Settings Builder %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup NETTY_TRANSPORT_NAME Ljava/lang/String; netty4 NETTY_HTTP_TRANSPORT_NAME ()V
this ,Lcom/groupbyinc/flux/transport/Netty4Plugin; getSettings ()Ljava/util/List; +com/groupbyinc/flux/common/settings/Setting $ 9com/groupbyinc/flux/http/netty4/Netty4HttpServerTransport & 2SETTING_HTTP_NETTY_MAX_COMPOSITE_BUFFER_COMPONENTS -Lcom/groupbyinc/flux/common/settings/Setting; ( ) ' * SETTING_HTTP_WORKER_COUNT , ) ' - )SETTING_HTTP_NETTY_RECEIVE_PREDICTOR_SIZE / ) ' 0 (SETTING_HTTP_NETTY_RECEIVE_PREDICTOR_MIN 2 ) ' 3 (SETTING_HTTP_NETTY_RECEIVE_PREDICTOR_MAX 5 ) ' 6 4com/groupbyinc/flux/transport/netty4/Netty4Transport 8 WORKER_COUNT : ) 9 ; NETTY_RECEIVE_PREDICTOR_SIZE = ) 9 > NETTY_RECEIVE_PREDICTOR_MIN @ ) 9 A NETTY_RECEIVE_PREDICTOR_MAX C ) 9 D NETTY_BOSS_COUNT F ) 9 G java/util/Arrays I asList %([Ljava/lang/Object;)Ljava/util/List; K L
J M additionalSettings 0()Lcom/groupbyinc/flux/common/settings/Settings; builder 8()Lcom/groupbyinc/flux/common/settings/Settings$Builder; Q R
S 0com/groupbyinc/flux/common/network/NetworkModule U HTTP_DEFAULT_TYPE_SETTING W ) V X getKey ()Ljava/lang/String; Z [
% \ put \(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/settings/Settings$Builder; ^ _
` TRANSPORT_DEFAULT_TYPE_SETTING b ) V c build e P
f
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; "java/lang/invoke/LambdaMetafactory j 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; l m
k n o ()Ljava/lang/Object; q lambda$getTransports$0Z(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/common/network/NetworkService;Lcom/groupbyinc/flux/common/util/BigArrays;Lcom/groupbyinc/flux/common/io/stream/NamedWriteableRegistry;Lcom/groupbyinc/flux/indices/breaker/CircuitBreakerService;)Lcom/groupbyinc/flux/transport/Transport; s t
u v +()Lcom/groupbyinc/flux/transport/Transport; x getN(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/common/network/NetworkService;Lcom/groupbyinc/flux/common/util/BigArrays;Lcom/groupbyinc/flux/common/io/stream/NamedWriteableRegistry;Lcom/groupbyinc/flux/indices/breaker/CircuitBreakerService;)Ljava/util/function/Supplier; z { | java/util/Collections ~ singletonMap 5(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Map; ? ?
? settings .Lcom/groupbyinc/flux/common/settings/Settings;
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; networkService 3Lcom/groupbyinc/flux/common/network/NetworkService; 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; lambda$getHttpTransports$1[(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/common/network/NetworkService;Lcom/groupbyinc/flux/common/util/BigArrays;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/common/xcontent/NamedXContentRegistry;Lcom/groupbyinc/flux/http/HttpServerTransport$Dispatcher;)Lcom/groupbyinc/flux/http/HttpServerTransport; ? ?
? ? 0()Lcom/groupbyinc/flux/http/HttpServerTransport; ?J(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/common/network/NetworkService;Lcom/groupbyinc/flux/common/util/BigArrays;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/common/xcontent/NamedXContentRegistry;Lcom/groupbyinc/flux/http/HttpServerTransport$Dispatcher;)Ljava/util/function/Supplier; z ? ? xContentRegistry ;Lcom/groupbyinc/flux/common/xcontent/NamedXContentRegistry;
dispatcher 9Lcom/groupbyinc/flux/http/HttpServerTransport$Dispatcher;.(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/common/network/NetworkService;Lcom/groupbyinc/flux/common/util/BigArrays;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/common/xcontent/NamedXContentRegistry;Lcom/groupbyinc/flux/http/HttpServerTransport$Dispatcher;)V ?
' ?2(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/common/network/NetworkService;Lcom/groupbyinc/flux/common/util/BigArrays;Lcom/groupbyinc/flux/common/io/stream/NamedWriteableRegistry;Lcom/groupbyinc/flux/indices/breaker/CircuitBreakerService;)V ?
9 ? 0com/groupbyinc/flux/transport/netty4/Netty4Utils ? setup ?
? ?
ConstantValue Code LocalVariableTable LineNumberTable Signature D()Ljava/util/List;>;?(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;>;(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;>; BootstrapMethods
SourceFile InnerClasses ! ? ? ? / *? ? ? ! ? - " # ? s I
? %Y? +SY? .SY? 1SY? 4SY? 7SY?