com.groupbyinc.flux.transport.netty4.Netty4Transport.class Maven / Gradle / Ivy
???? 4? 4com/groupbyinc/flux/transport/netty4/Netty4Transport HLcom/groupbyinc/flux/transport/TcpTransport; *com/groupbyinc/flux/transport/TcpTransport Netty4Transport.java Mcom/groupbyinc/flux/transport/netty4/Netty4Transport$ServerChannelInitializer ServerChannelInitializer Mcom/groupbyinc/flux/transport/netty4/Netty4Transport$ClientChannelInitializer
ClientChannelInitializer :com/groupbyinc/flux/transport/TcpTransport$ProfileSettings
ProfileSettings 7com/groupbyinc/flux/transport/TcpTransport$NodeChannels NodeChannels 8com/groupbyinc/flux/transport/TcpTransport$ScheduledPing
ScheduledPing java/util/Map$Entry
java/util/Map Entry 4com/groupbyinc/flux/common/settings/Setting$Property +com/groupbyinc/flux/common/settings/Setting Property :com/groupbyinc/flux/transport/TransportRequestOptions$Type 5com/groupbyinc/flux/transport/TransportRequestOptions " Type %java/lang/invoke/MethodHandles$Lookup % java/lang/invoke/MethodHandles ' Lookup WORKER_COUNT -Lcom/groupbyinc/flux/common/settings/Setting; BLcom/groupbyinc/flux/common/settings/Setting; NETTY_RECEIVE_PREDICTOR_SIZE ^Lcom/groupbyinc/flux/common/settings/Setting; NETTY_RECEIVE_PREDICTOR_MIN NETTY_RECEIVE_PREDICTOR_MAX NETTY_BOSS_COUNT recvByteBufAllocator 'Lio/netty/channel/RecvByteBufAllocator; workerCount I receivePredictorMin /Lcom/groupbyinc/flux/common/unit/ByteSizeValue; receivePredictorMax serverOpenChannels @Lcom/groupbyinc/flux/transport/netty4/Netty4OpenChannelsHandler; bootstrap Lio/netty/bootstrap/Bootstrap; serverBootstraps Ljava/util/Map; GLjava/util/Map; $assertionsDisabled Z 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 netty DD(Ljava/lang/String;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/network/NetworkService;)V B F
G @com/groupbyinc/flux/common/util/concurrent/ConcurrentCollections I newConcurrentMap &()Ljava/util/concurrent/ConcurrentMap; K L
J M = > O 6com/groupbyinc/flux/common/util/concurrent/EsExecutors Q PROCESSORS_SETTING S + R T get B(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/Object; V W
X java/lang/Integer Z intValue ()I \ ]
[ ^ 0com/groupbyinc/flux/transport/netty4/Netty4Utils ` setAvailableProcessors (I)V b c
a d * + f 4 5 h / + j -com/groupbyinc/flux/common/unit/ByteSizeValue l 6 7 n 0 + p 8 7 r getBytes ()J t u
m v *io/netty/channel/FixedRecvByteBufAllocator x B c
y z 2 3 | ,com/groupbyinc/flux/common/settings/Settings ~ )com/groupbyinc/flux/threadpool/ThreadPool ? 1com/groupbyinc/flux/common/network/NetworkService ? )com/groupbyinc/flux/common/util/BigArrays ? ;com/groupbyinc/flux/common/io/stream/NamedWriteableRegistry ? 9com/groupbyinc/flux/indices/breaker/CircuitBreakerService ? -io/netty/channel/AdaptiveRecvByteBufAllocator ? (III)V B ?
? ? this 6Lcom/groupbyinc/flux/transport/netty4/Netty4Transport; settings .Lcom/groupbyinc/flux/common/settings/Settings;
threadPool +Lcom/groupbyinc/flux/threadpool/ThreadPool; networkService 3Lcom/groupbyinc/flux/common/network/NetworkService; bigArrays +Lcom/groupbyinc/flux/common/util/BigArrays; namedWriteableRegistry =Lcom/groupbyinc/flux/common/io/stream/NamedWriteableRegistry; circuitBreakerService ;Lcom/groupbyinc/flux/indices/breaker/CircuitBreakerService; doStart ()V createBootstrap ()Lio/netty/bootstrap/Bootstrap; ? ?
? ; < ? NETWORK_SERVER ? + ? ? ? ? ? java/lang/Boolean ? booleanValue ()Z ? ?
? ? >com/groupbyinc/flux/transport/netty4/Netty4OpenChannelsHandler ? logger 8Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger; ? ? ? ;(Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;)V B ?
? ? 9 : ? profileSettings Ljava/util/Set; ? ? ?
java/util/Set ? iterator ()Ljava/util/Iterator; ? ? ? ? java/util/Iterator ? hasNext ? ? ? ? next ()Ljava/lang/Object; ? ? ? ? createServerBootstrap ?(Lcom/groupbyinc/flux/transport/TcpTransport$ProfileSettings;)V ? ?
?
bindServer ? ?
? ? ?
? doStop ? ?
? java/lang/Throwable ?