All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.transport.netty4.Netty4Transport.class Maven / Gradle / Ivy

????4?4com/groupbyinc/flux/transport/netty4/Netty4TransportHLcom/groupbyinc/flux/transport/TcpTransport;*com/groupbyinc/flux/transport/TcpTransportNetty4Transport.javaMcom/groupbyinc/flux/transport/netty4/Netty4Transport$ServerChannelInitializerServerChannelInitializerMcom/groupbyinc/flux/transport/netty4/Netty4Transport$ClientChannelInitializer
ClientChannelInitializer:com/groupbyinc/flux/transport/TcpTransport$ProfileSettings
ProfileSettings7com/groupbyinc/flux/transport/TcpTransport$NodeChannelsNodeChannels8com/groupbyinc/flux/transport/TcpTransport$ScheduledPing
ScheduledPingjava/util/Map$Entry
java/util/MapEntry4com/groupbyinc/flux/common/settings/Setting$Property+com/groupbyinc/flux/common/settings/SettingProperty: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_MINNETTY_RECEIVE_PREDICTOR_MAXNETTY_BOSS_COUNTrecvByteBufAllocator'Lio/netty/channel/RecvByteBufAllocator;workerCountIreceivePredictorMin/Lcom/groupbyinc/flux/common/unit/ByteSizeValue;receivePredictorMaxserverOpenChannels@Lcom/groupbyinc/flux/transport/netty4/Netty4OpenChannelsHandler;	bootstrapLio/netty/bootstrap/Bootstrap;serverBootstrapsLjava/util/Map;GLjava/util/Map;$assertionsDisabledZ2(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;)VnettyDD(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BF
G@com/groupbyinc/flux/common/util/concurrent/ConcurrentCollectionsInewConcurrentMap&()Ljava/util/concurrent/ConcurrentMap;KL
JM=>	O6com/groupbyinc/flux/common/util/concurrent/EsExecutorsQPROCESSORS_SETTINGS+	RTgetB(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/Object;VW
Xjava/lang/IntegerZintValue()I\]
[^0com/groupbyinc/flux/transport/netty4/Netty4Utils`setAvailableProcessors(I)Vbc
ad*+	f45	h/+	j-com/groupbyinc/flux/common/unit/ByteSizeValuel67	n0+	p87	rgetBytes()Jtu
mv*io/netty/channel/FixedRecvByteBufAllocatorxBc
yz23	|,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?
??this6Lcom/groupbyinc/flux/transport/netty4/Netty4Transport;settings.Lcom/groupbyinc/flux/common/settings/Settings;
threadPool+Lcom/groupbyinc/flux/threadpool/ThreadPool;networkService3Lcom/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()VcreateBootstrap ()Lio/netty/bootstrap/Bootstrap;??
?;<	?NETWORK_SERVER?+	????	?java/lang/Boolean?booleanValue()Z??
??>com/groupbyinc/flux/transport/netty4/Netty4OpenChannelsHandler?logger8Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;??	?;(Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;)VB?
??9:	?profileSettingsLjava/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?+	?SO_REUSEADDRA	B(Z)Ljava/lang/Boolean;D
?EvalidateG?
?HtcpSendBufferSizetcpReceiveBufferSizereuseAddressprofileNameLjava/lang/String;MN	O6com/groupbyinc/flux/common/apache/logging/log4j/LoggerQisDebugEnabledS?RT?using profile[{}], worker_count[{}], port[{}], bind_host[{}], publish_host[{}], compress[{}], connect_timeout[{}], connections_per_node[{}/{}/{}/{}/{}], receive_predictor[{}->{}]Vjava/lang/ObjectXportOrRangeZN	[	bindHostsLjava/util/List;]^	_publishHostsa^	bcompressdA	eRECOVERY(Ljava/lang/Throwable;[Ljava/lang/Class;)Ljava/lang/Throwable;??
??&io/netty/channel/ChannelHandlerContext?()Lio/netty/channel/Channel;????io/netty/channel/Channel?(Ljava/lang/Throwable;)VB?
??onException*(Ljava/lang/Object;Ljava/lang/Exception;)V??
?ctx(Lio/netty/channel/ChannelHandlerContext;causeLjava/lang/Throwable;	unwrappedtgetNumOpenServerConnectionsnumberOfOpenChannels?u
??channelsconnectToChannels?(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Lcom/groupbyinc/flux/transport/ConnectionProfile;Ljava/util/function/Consumer;)Lcom/groupbyinc/flux/transport/TcpTransport$NodeChannels;java/lang/RuntimeException?java/io/IOException?getNumConnections?]
??(Lcom/groupbyinc/flux/transport/TcpTransport;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;[Ljava/lang/Object;Lcom/groupbyinc/flux/transport/ConnectionProfile;)VB?
?equals(Ljava/lang/Object;)Z??
?config&()Lio/netty/bootstrap/BootstrapConfig;??
??"io/netty/bootstrap/BootstrapConfig?#()Lio/netty/channel/EventLoopGroup;?
?cloneA(Lio/netty/channel/EventLoopGroup;)Lio/netty/bootstrap/Bootstrap;
?.com/groupbyinc/flux/cluster/node/DiscoveryNodejava/util/function/Consumer	io/netty/channel/Channel;java/util/ArrayList
z
getAddress9()Lcom/groupbyinc/flux/common/transport/TransportAddress;
5com/groupbyinc/flux/common/transport/TransportAddressaddress()Ljava/net/InetSocketAddress;
java/net/InetSocketAddressconnect:(Ljava/net/SocketAddress;)Lio/netty/channel/ChannelFuture;
?add ?
!
?"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;&'
%()$(Lio/netty/util/concurrent/Future;)V+lambda$connectToChannels$2@(Ljava/util/function/Consumer;Lio/netty/channel/ChannelFuture;)V-.
/0#(Lio/netty/channel/ChannelFuture;)V2operationCompleteG(Ljava/util/function/Consumer;)Lio/netty/channel/ChannelFutureListener;456&io/netty/channel/ChannelFutureListener8@A	:java/lang/AssertionError<
=?io/netty/channel/ChannelFuture???awaitUninterruptibly(J)ZCD@E	isSuccessG?@H7com/groupbyinc/flux/transport/ConnectTransportExceptionJjava/lang/StringBuilderL
M?connect_timeout[Oappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;QR
MS-(Ljava/lang/Object;)Ljava/lang/StringBuilder;QU
MV]XtoString()Ljava/lang/String;Z[
M\()Ljava/lang/Throwable;?^@_Z(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Ljava/lang/String;Ljava/lang/Throwable;)VBa
Kb@?closeFuture"()Lio/netty/channel/ChannelFuture;ef?gaddListenerR(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/channel/ChannelFuture;ij@k-not all created connection have been consumedm(Ljava/lang/Object;)VBo
=pjava/util/CollectionsrunmodifiableList"(Ljava/util/List;)Ljava/util/List;tu
svjava/util/Listxy?6com/groupbyinc/flux/common/util/concurrent/FutureUtils{cancel (Ljava/util/concurrent/Future;)Z}~
|isOpen????close?f??
addSuppressed??
????
? exception while closing channels?trace*(Ljava/lang/String;Ljava/lang/Throwable;)V??R?connectTimeout+Lcom/groupbyinc/flux/common/unit/TimeValue;ifuture Lio/netty/channel/ChannelFuture;innerLjava/lang/Exception;eLjava/lang/RuntimeException;defaultConnectTimeoutconnections7Ljava/util/ArrayList;Ljava/util/ArrayList;Ljava/net/InetSocketAddress;6Ljava/util/Iterator;Ljava/util/Iterator;
closeListener(Lio/netty/channel/ChannelFutureListener;Ljava/io/IOException;node0Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;profileonChannelClose9Ljava/util/function/Consumer;Ljava/util/function/Consumer;nodeChannelsULcom/groupbyinc/flux/transport/TcpTransport.NodeChannels;9Lcom/groupbyinc/flux/transport/TcpTransport$NodeChannels;sendMessagey(Lio/netty/channel/Channel;Lcom/groupbyinc/flux/common/bytes/BytesReference;Lcom/groupbyinc/flux/action/ActionListener;)V	toByteBufL(Lcom/groupbyinc/flux/common/bytes/BytesReference;)Lio/netty/buffer/ByteBuf;??
a?
writeAndFlush4(Ljava/lang/Object;)Lio/netty/channel/ChannelFuture;????lambda$sendMessage$3i(Lcom/groupbyinc/flux/action/ActionListener;Lio/netty/channel/Channel;Lio/netty/util/concurrent/Future;)V??
??w(Lcom/groupbyinc/flux/action/ActionListener;Lio/netty/channel/Channel;)Lio/netty/util/concurrent/GenericFutureListener;4??Lio/netty/channel/Channel;	reference1Lcom/groupbyinc/flux/common/bytes/BytesReference;listenerGLcom/groupbyinc/flux/action/ActionListener;+Lcom/groupbyinc/flux/action/ActionListener;
closeChannels(Ljava/util/List;Z)V(Ljava/util/Collection;)V??
a?lambda$closeChannels$4?+
??h(Lcom/groupbyinc/flux/transport/netty4/Netty4Transport;)Lio/netty/util/concurrent/GenericFutureListener;4??,Ljava/util/List;blockinggetLocalAddress8(Lio/netty/channel/Channel;)Ljava/net/InetSocketAddress;localAddress()Ljava/net/SocketAddress;????bindJ(Ljava/lang/String;Ljava/net/InetSocketAddress;)Lio/netty/channel/Channel;&(Ljava/lang/Object;)Ljava/lang/Object;V???
??syncUninterruptibly?f@?getPing<()Lcom/groupbyinc/flux/transport/TcpTransport$ScheduledPing;
scheduledPing:Lcom/groupbyinc/flux/transport/TcpTransport$ScheduledPing;??	?(Lio/netty/channel/Channel;)ZstopInternal.Lcom/groupbyinc/flux/common/SuppressForbidden;reason+com/groupbyinc/flux/common/lease/Releasable??lambda$stopInternal$6??
??e(Lcom/groupbyinc/flux/transport/netty4/Netty4Transport;)Lcom/groupbyinc/flux/common/lease/Releasable;???,com/groupbyinc/flux/common/lease/Releasables?1([Lcom/groupbyinc/flux/common/lease/Releasable;)V??
????
?q(Ljava/lang/Object;Lcom/groupbyinc/flux/common/bytes/BytesReference;Lcom/groupbyinc/flux/action/ActionListener;)V??
B(Ljava/lang/String;Ljava/net/InetSocketAddress;)Ljava/lang/Object;??
0(Ljava/lang/Object;)Ljava/net/InetSocketAddress;??
size]	entrySet()Ljava/util/Set;
getKey?getValue?,()Lio/netty/bootstrap/ServerBootstrapConfig;?
?(io/netty/bootstrap/ServerBootstrapConfig
java/util/concurrent/TimeUnitSECONDSLjava/util/concurrent/TimeUnit; 	!io/netty/channel/EventLoopGroup#shutdownGracefullyD(JJLjava/util/concurrent/TimeUnit;)Lio/netty/util/concurrent/Future;%&$'(com/groupbyinc/flux/common/collect/Tuple)tupleP(Ljava/lang/Object;Ljava/lang/Object;)Lcom/groupbyinc/flux/common/collect/Tuple;+,
*-y!v20?
*1io/netty/util/concurrent/Future3#()Lio/netty/util/concurrent/Future;C5464H?
lambda$null$5>(Lcom/groupbyinc/flux/common/collect/Tuple;)Ljava/lang/Object;:;
<=k(Lcom/groupbyinc/flux/common/collect/Tuple;)Lcom/groupbyinc/flux/common/apache/logging/log4j/util/Supplier;V?@4_W(Lcom/groupbyinc/flux/common/apache/logging/log4j/util/Supplier;Ljava/lang/Throwable;)V{CRDclearF?GentryMLjava/util/Map$Entry;Ljava/util/Map$Entry;bLcom/groupbyinc/flux/common/collect/Tuple;>;*Lcom/groupbyinc/flux/common/collect/Tuple;serverBootstrapCloseFuturestLjava/util/List;>;>;Lcom/groupbyinc/flux/common/apache/logging/log4j/message/ParameterizedMessageP/Error closing server bootstrap for profile [{}]Rv1T?
*U'(Ljava/lang/String;Ljava/lang/Object;)VBW
QXfailed to close channelZwarn\?R]f!Lio/netty/util/concurrent/Future;)com/groupbyinc/flux/action/ActionListenera
onResponsecobd	onFailure(Ljava/lang/Exception;)Vfgbhacceptjo
klambda$static$1'(Ljava/lang/String;)Ljava/lang/Integer;transport.netty.worker_countoparseInt((Ljava/lang/String;ILjava/lang/String;)Iqr
sslambda$static$0B(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/String;numberOfProcessors1(Lcom/groupbyinc/flux/common/settings/Settings;)Ixy
Rz(I)Ljava/lang/String;Z|
[}desiredAssertionStatus??
??setup??
a??vw
??wapply()Ljava/util/function/Function;???mn
??n?	NodeScope6Lcom/groupbyinc/flux/common/settings/Setting$Property;??	??(Ljava/lang/String;Ljava/util/function/Function;Ljava/util/function/Function;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)VB?
?&transport.netty.receive_predictor_size?@,com/groupbyinc/flux/common/unit/ByteSizeUnit?KB.Lcom/groupbyinc/flux/common/unit/ByteSizeUnit;??	??2(JLcom/groupbyinc/flux/common/unit/ByteSizeUnit;)VB?
m?byteSizeSetting?(Ljava/lang/String;Lcom/groupbyinc/flux/common/unit/ByteSizeValue;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting;??
?-+	?%transport.netty.receive_predictor_min??(Ljava/lang/String;Lcom/groupbyinc/flux/common/settings/Setting;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting;??
?%transport.netty.receive_predictor_max?transport.netty.boss_count?
intSettingz(Ljava/lang/String;II[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting;??
?1+	?	SignatureCodeLocalVariableTableLineNumberTable
StackMapTable
ExceptionsLocalVariableTypeTable?(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Lcom/groupbyinc/flux/transport/ConnectionProfile;Ljava/util/function/Consumer;)Lcom/groupbyinc/flux/transport/TcpTransport.NodeChannels;?(Lio/netty/channel/Channel;Lcom/groupbyinc/flux/common/bytes/BytesReference;Lcom/groupbyinc/flux/action/ActionListener;)V0(Ljava/util/List;Z)VX()Lcom/groupbyinc/flux/transport/TcpTransport.ScheduledPing;RuntimeInvisibleAnnotationsBootstrapMethods
SourceFileInnerClasses!
*+?,-+?./+?.0+?.1+?,23456787@9:D;<=>??@ABC?R?*E+,-?H*?N?P?U+?Y?[?_?e*?g+?Y?[?_?i*?k+?Y?m?o*?q+?Y?m?s*?s?w*?o?w??*?yY*?s?w??{?}?&*??Y*?o?w?*?o?w?*?s?w????}??H??????????????????????.xty&z7}E~Se?{???????{?????"???Cz<**??????*???Y?????A??Y*????M*,??*????N-???-???:*??*?ԧ??*??<?*?٧:?*????allnl?*L??)2?:z??x?A?B??
??)?.?L?R?X?[?_?a?e?l?r?y??/?8???"P??	????????Y??L+??Y*?i*???????W+??W+*????W+?*?	?????"W+?%?(*???Y?"W+?+?.*???Y?"W?1*???Y?mM,?w	??+?4,?w???"W?7*???Y?mN-?w	??+?:-?w???"W+?=*?}?"W?@*???Y????6+?C?F?"W+?IW+??4????;<{vJ7?MK7?LA?J??!?(?1?I?[?m?{???????????????????????m?(m?????+?PM*???U??*??W?YY,SY*?i?SY+?\SY+?`SY+?cSY*?f?FSY*?	?SY*?	?j?n?SY*?	?q?n?SY	*?	?t?n?SY
*?	?w?n?SY*?	?z?n?SY*?oSY
*?sS?~*????Y?SY,S??N??Y??:??Y*?i-????W???W*,????W?%+???F??W?++???F??W+???w????4+???w????W+???w????:+?????????W?=*?}??W?=*?}??W?C+???F??W?C+???F??W??W*?P,??W??4????????N?????????v???'?Q?_?p?????????????????????$?2?H?V?m?z???????????????????$???>
?Y*+????
??
?N?????3	?Y*?°?	????????>,??Y?S??N-?-?,:*+???ƙ?Ƨ??Y?ڶޱ?4>??>??>??/??$??????=??G??@?????????????????u?Z*??L+?	?+?????
?:?
???
?
?C???[,???:?Y*+,??:6*?	?:,??A,????5*??*??????:?,?????"W,?:	?
:	*??:?Y??:
+??:6??
??"W????
?#:-?7:
6????;?????=Y?>????@:	??Ak??FW?I?.?KY+?MY?NP?T	?WY?T?]?`?c??dS2?h
?lW???k?;?????=Yn?q??e:
?w?z:???J???@:??W?d?+?d????d??W?:??????6?@???8:	*???	???%:????:*????????jm???????????????????e??	I;<??5?f?????5????8??o`??lf??	r`;<#???~T??
?K??&?????
???	?????????	?????A?*~T??
?&????????4	#6I	_
hl
r~??????????+7IO!j.m"o#?$?%?'?*?(?)?,?-?/?1?3?6?4?5?6?1?3?64569??h
?	?????9?S@?#B??
???D
??9??@?????
?R??
???
??????+,????:-+???lW??4??????????????>?K??????P?
+?ʧG+?zN-???7-????:?$?????:*???lW??Ʊ?4>e?&&??P??P?^P?A?P???"OPR&S5T>UL[O]?
??9????????>
+?????
??
???a???Z*?P+????,????d?? ???N??f???/*??????j?????;+?????????o???F??Y*??SY*??S???????
u????s{D???3	*+?׶???	???XD???5*+??,-??????XD??1*+,??????X??D??3	*+?׶??	???X?????Y*?P?
?L*?P???M,???;,???N+-?-?????	?"?(?.?/W???+?zM,???G,???*N-?2?4?7W-?2?4?8?*??-?A-?2?4?B?E???*?P?H*???$*?????	?"?(?7W*????*3+IK{7?M????N^? 3+IJ{7?L?NO?Jvw3x5yXx^za{{|?}?~???~?????????????? y??@???I?0
:;?A?QYS*?V?Y???M???+?a+?8?*??[+?B?^????_`?V	WY???
????,,?8?
*+?e?,?BN-?ƙ
*-?ƹi??*??,??,??,_`?@	ACF!G+J???
-.?A
*+?d?l??
??
?????
mn?6*p?t???uN?a
vw?4
*?{h?~??
u??`???	??????;???Yp?????Y??S???g??mY??????Y??S????????Y??S???k????Y??S???q??Y??S??????.X[^4cTedfjgzh?i?j?i?@?H*,13*,?,*,?,*???*9>9*???*??????J			@!#$@&()




© 2015 - 2025 Weber Informatics LLC | Privacy Policy