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

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

There is a newer version: 198
Show newest version
????4Z4com/groupbyinc/flux/transport/netty4/Netty4Transport*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ProfileSettings8com/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$Type5com/groupbyinc/flux/transport/TransportRequestOptionsType%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?Lcom/groupbyinc/flux/common/netty/channel/RecvByteBufAllocator;workerCountIreceivePredictorMin/Lcom/groupbyinc/flux/common/unit/ByteSizeValue;receivePredictorMax	bootstrap6Lcom/groupbyinc/flux/common/netty/bootstrap/Bootstrap;serverBootstrapsLjava/util/Map;_Ljava/util/Map;CHANNEL_KEY4Lcom/groupbyinc/flux/common/netty/util/AttributeKey;lLcom/groupbyinc/flux/common/netty/util/AttributeKey;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;)Vnetty?D(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=A
B@com/groupbyinc/flux/common/util/concurrent/ConcurrentCollectionsDnewConcurrentMap&()Ljava/util/concurrent/ConcurrentMap;FG
EH78	J6com/groupbyinc/flux/common/util/concurrent/EsExecutorsLPROCESSORS_SETTINGN'	MOgetB(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/Object;QR
Sjava/lang/IntegerUintValue()IWX
VY0com/groupbyinc/flux/transport/netty4/Netty4Utils[setAvailableProcessors(I)V]^
\_&'	a01	c+'	e-com/groupbyinc/flux/common/unit/ByteSizeValueg23	i,'	k43	mgetBytes()Jop
hqBcom/groupbyinc/flux/common/netty/channel/FixedRecvByteBufAllocators=^
tu./	w,com/groupbyinc/flux/common/settings/Settingsy)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?Ecom/groupbyinc/flux/common/netty/channel/AdaptiveRecvByteBufAllocator?(III)V=?
??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()VcreateBootstrap8()Lcom/groupbyinc/flux/common/netty/bootstrap/Bootstrap;??
?56	?NETWORK_SERVER?'	~???	?java/lang/Boolean?booleanValue()Z??
??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?com/groupbyinc/flux/common/netty/channel/nio/NioEventLoopGroup?transport_client_boss?daemonThreadFactoryf(Lcom/groupbyinc/flux/common/settings/Settings;Ljava/lang/String;)Ljava/util/concurrent/ThreadFactory;??
M?((ILjava/util/concurrent/ThreadFactory;)V=?
??groupy(Lcom/groupbyinc/flux/common/netty/channel/EventLoopGroup;)Lcom/groupbyinc/flux/common/netty/bootstrap/AbstractBootstrap;??
??Dcom/groupbyinc/flux/common/netty/channel/socket/nio/NioSocketChannel?channelQ(Ljava/lang/Class;)Lcom/groupbyinc/flux/common/netty/bootstrap/AbstractBootstrap;??
??getClientChannelInitializer;()Lcom/groupbyinc/flux/common/netty/channel/ChannelHandler;??
?handlery(Lcom/groupbyinc/flux/common/netty/channel/ChannelHandler;)Lcom/groupbyinc/flux/common/netty/bootstrap/AbstractBootstrap;??
??6com/groupbyinc/flux/common/netty/channel/ChannelOption?CONNECT_TIMEOUT_MILLIS8Lcom/groupbyinc/flux/common/netty/channel/ChannelOption;??	??defaultConnectionProfile1Lcom/groupbyinc/flux/transport/ConnectionProfile;??	?/com/groupbyinc/flux/transport/ConnectionProfile?getConnectTimeout-()Lcom/groupbyinc/flux/common/unit/TimeValue;??
??)com/groupbyinc/flux/common/unit/TimeValuemillisp
java/lang/Math
toIntExact(J)I
	valueOf(I)Ljava/lang/Integer;
V
option?(Lcom/groupbyinc/flux/common/netty/channel/ChannelOption;Ljava/lang/Object;)Lcom/groupbyinc/flux/common/netty/bootstrap/AbstractBootstrap;
?TCP_NODELAY?	?TCP_NO_DELAY'	SO_KEEPALIVE?	?TCP_KEEP_ALIVE'	TCP_SEND_BUFFER_SIZE'	 	SO_SNDBUF"?	?#TCP_RECEIVE_BUFFER_SIZE%'	&	SO_RCVBUF(?	?)RCVBUF_ALLOCATOR+?	?,TCP_REUSE_ADDRESS.'	/SO_REUSEADDR1?	?2(Z)Ljava/lang/Boolean;4
?5validate7?
?8tcpSendBufferSizetcpReceiveBufferSizereuseAddressprofileNameLjava/lang/String;=>	
?logger!Lorg/apache/logging/log4j/Logger;AB	Corg/apache/logging/log4j/LoggerEisDebugEnabledG?FH?using profile[{}], worker_count[{}], port[{}], bind_host[{}], publish_host[{}], compress[{}], connect_timeout[{}], connections_per_node[{}/{}/{}/{}/{}], receive_predictor[{}->{}]Jjava/lang/ObjectLportOrRangeN>	
O	bindHostsLjava/util/List;QR	
SpublishHostsUR	
VcompressX?	YRECOVERY()Lcom/groupbyinc/flux/common/netty/bootstrap/ServerBootstrap;7?
{?put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;???name
workerFactory$Ljava/util/concurrent/ThreadFactory;serverBootstrap(Ljava/lang/Throwable;[Ljava/lang/Class;)Ljava/lang/Throwable;??
??>com/groupbyinc/flux/common/netty/channel/ChannelHandlerContext?4()Lcom/groupbyinc/flux/common/netty/channel/Channel;????:;	?0com/groupbyinc/flux/common/netty/channel/Channel?attrg(Lcom/groupbyinc/flux/common/netty/util/AttributeKey;)Lcom/groupbyinc/flux/common/netty/util/Attribute;????/com/groupbyinc/flux/common/netty/util/Attribute?Q???(com/groupbyinc/flux/transport/TcpChannel?(Ljava/lang/Throwable;)V=?
??onExceptionB(Lcom/groupbyinc/flux/transport/TcpChannel;Ljava/lang/Exception;)V??
?ctx@Lcom/groupbyinc/flux/common/netty/channel/ChannelHandlerContext;causeLjava/lang/Throwable;	unwrappedt2Lcom/groupbyinc/flux/common/netty/channel/Channel;initiateChannel?(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Lcom/groupbyinc/flux/common/unit/TimeValue;Lcom/groupbyinc/flux/action/ActionListener;)Lcom/groupbyinc/flux/transport/netty4/NettyTcpChannel;java/io/IOException?.com/groupbyinc/flux/cluster/node/DiscoveryNode?
getAddress9()Lcom/groupbyinc/flux/common/transport/TransportAddress;??
??5com/groupbyinc/flux/common/transport/TransportAddress?address()Ljava/net/InetSocketAddress;??
??connectR(Ljava/net/SocketAddress;)Lcom/groupbyinc/flux/common/netty/channel/ChannelFuture;??
??6com/groupbyinc/flux/common/netty/channel/ChannelFuture???()Ljava/lang/Throwable;????maybeDie?
\
??addClosedExceptionLogger5(Lcom/groupbyinc/flux/common/netty/channel/Channel;)V
4com/groupbyinc/flux/transport/netty4/NettyTcpChannel=
	
set(Ljava/lang/Object;)V
?"java/lang/invoke/LambdaMetafactorymetafactory?(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;
<(Lcom/groupbyinc/flux/common/netty/util/concurrent/Future;)Vlambda$initiateChannel$2g(Lcom/groupbyinc/flux/action/ActionListener;Lcom/groupbyinc/flux/common/netty/util/concurrent/Future;)V
operationCompleteu(Lcom/groupbyinc/flux/action/ActionListener;)Lcom/groupbyinc/flux/common/netty/util/concurrent/GenericFutureListener; addListener?(Lcom/groupbyinc/flux/common/netty/util/concurrent/GenericFutureListener;)Lcom/groupbyinc/flux/common/netty/channel/ChannelFuture;"#?$node0Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;connectTimeout+Lcom/groupbyinc/flux/common/unit/TimeValue;listener=Lcom/groupbyinc/flux/action/ActionListener;+Lcom/groupbyinc/flux/action/ActionListener;
channelFuture8Lcom/groupbyinc/flux/common/netty/channel/ChannelFuture;nettyChannel6Lcom/groupbyinc/flux/transport/netty4/NettyTcpChannel;bindf(Ljava/lang/String;Ljava/net/InetSocketAddress;)Lcom/groupbyinc/flux/transport/netty4/NettyTcpChannel;&(Ljava/lang/Object;)Ljava/lang/Object;Q341?
{6syncUninterruptibly:()Lcom/groupbyinc/flux/common/netty/channel/ChannelFuture;89?:Ljava/net/InetSocketAddress;	esChannelgetPing<()Lcom/groupbyinc/flux/transport/TcpTransport$ScheduledPing;
scheduledPing:Lcom/groupbyinc/flux/transport/TcpTransport$ScheduledPing;@A	BstopInternal.Lcom/groupbyinc/flux/common/SuppressForbidden;reason+com/groupbyinc/flux/common/lease/ReleasableG?lambda$stopInternal$4J?
KLclosee(Lcom/groupbyinc/flux/transport/netty4/Netty4Transport;)Lcom/groupbyinc/flux/common/lease/Releasable;NOP,com/groupbyinc/flux/common/lease/ReleasablesR1([Lcom/groupbyinc/flux/common/lease/Releasable;)VNT
SUcloseFutureW9?X!lambda$addClosedExceptionLogger$6n(Lcom/groupbyinc/flux/common/netty/channel/Channel;Lcom/groupbyinc/flux/common/netty/util/concurrent/Future;)VZ[
\]?(Lcom/groupbyinc/flux/transport/netty4/Netty4Transport;Lcom/groupbyinc/flux/common/netty/channel/Channel;)Lcom/groupbyinc/flux/common/netty/util/concurrent/GenericFutureListener;_`?(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Lcom/groupbyinc/flux/common/unit/TimeValue;Lcom/groupbyinc/flux/action/ActionListener;)Lcom/groupbyinc/flux/transport/TcpChannel;??
cZ(Ljava/lang/String;Ljava/net/InetSocketAddress;)Lcom/groupbyinc/flux/transport/TcpChannel;12
f7com/groupbyinc/flux/common/netty/util/concurrent/Futureh	isSuccessj?ik,()Lorg/apache/logging/log4j/message/Message;m!lambda$addClosedExceptionLogger$5^(Lcom/groupbyinc/flux/common/netty/channel/Channel;)Lorg/apache/logging/log4j/message/Message;op
qrc(Lcom/groupbyinc/flux/common/netty/channel/Channel;)Lorg/apache/logging/log4j/util/MessageSupplier;Qtui?G(Lorg/apache/logging/log4j/util/MessageSupplier;Ljava/lang/Throwable;)VoxFyf9Lcom/groupbyinc/flux/common/netty/util/concurrent/Future;5org/apache/logging/log4j/message/ParameterizedMessage}#exception while closing channel: {}'(Ljava/lang/String;Ljava/lang/Object;)V=?
~?java/util/ArrayList?size?X?
?uentrySet()Ljava/util/Set;???java/util/List?getKey???getValue???configD()Lcom/groupbyinc/flux/common/netty/bootstrap/ServerBootstrapConfig;??
{?@com/groupbyinc/flux/common/netty/bootstrap/ServerBootstrapConfig?;()Lcom/groupbyinc/flux/common/netty/channel/EventLoopGroup;??
??java/util/concurrent/TimeUnit?SECONDSLjava/util/concurrent/TimeUnit;??	??7com/groupbyinc/flux/common/netty/channel/EventLoopGroup?shutdownGracefully\(JJLjava/util/concurrent/TimeUnit;)Lcom/groupbyinc/flux/common/netty/util/concurrent/Future;????(com/groupbyinc/flux/common/collect/Tuple?tupleP(Ljava/lang/Object;Ljava/lang/Object;)Lcom/groupbyinc/flux/common/collect/Tuple;??
??add(Ljava/lang/Object;)Z??????v2??
??awaitUninterruptibly;()Lcom/groupbyinc/flux/common/netty/util/concurrent/Future;??i??lambda$stopInternal$3>(Lcom/groupbyinc/flux/common/collect/Tuple;)Ljava/lang/Object;??
??T(Lcom/groupbyinc/flux/common/collect/Tuple;)Lorg/apache/logging/log4j/util/Supplier;Q??@(Lorg/apache/logging/log4j/util/Supplier;Ljava/lang/Throwable;)Vo?F?clear???>()Lcom/groupbyinc/flux/common/netty/bootstrap/BootstrapConfig;??
??:com/groupbyinc/flux/common/netty/bootstrap/BootstrapConfig?
??entryeLjava/util/Map$Entry;Ljava/util/Map$Entry;futurezLcom/groupbyinc/flux/common/collect/Tuple;>;*Lcom/groupbyinc/flux/common/collect/Tuple;serverBootstrapCloseFutures?Ljava/util/List;>;>;/Error closing server bootstrap for profile [{}]?v1??
??)com/groupbyinc/flux/action/ActionListener?
onResponse?
??java/lang/Error?
??	onFailure(Ljava/lang/Exception;)V????lambda$static$1'(Ljava/lang/String;)Ljava/lang/Integer;transport.netty.worker_count?parseInt((Ljava/lang/String;ILjava/lang/String;)I??
?slambda$static$0B(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/String;numberOfProcessors1(Lcom/groupbyinc/flux/common/settings/Settings;)I??
M?toString(I)Ljava/lang/String;??
V?
access$000k(Lcom/groupbyinc/flux/transport/netty4/Netty4Transport;Lcom/groupbyinc/flux/common/netty/channel/Channel;)Vx0x1
access$100c(Lcom/groupbyinc/flux/transport/netty4/Netty4Transport;Lcom/groupbyinc/flux/transport/TcpChannel;)VserverAcceptedChannel-(Lcom/groupbyinc/flux/transport/TcpChannel;)V
*Lcom/groupbyinc/flux/transport/TcpChannel;setup?
\
3??
?apply()Ljava/util/function/Function;??
?	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=!
"&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=.
h/byteSizeSetting?(Ljava/lang/String;Lcom/groupbyinc/flux/common/unit/ByteSizeValue;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting;12
3)'	5%transport.netty.receive_predictor_min7?(Ljava/lang/String;Lcom/groupbyinc/flux/common/settings/Setting;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting;19
:%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;@A
B-'	D
es-channelF2com/groupbyinc/flux/common/netty/util/AttributeKeyHnewInstanceH(Ljava/lang/String;)Lcom/groupbyinc/flux/common/netty/util/AttributeKey;JK
IL	SignatureCodeLocalVariableTableLineNumberTable
StackMapTable
ExceptionsLocalVariableTypeTable?(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Lcom/groupbyinc/flux/common/unit/TimeValue;Lcom/groupbyinc/flux/action/ActionListener;)Lcom/groupbyinc/flux/transport/netty4/NettyTcpChannel;RuntimeInvisibleAnnotationsBootstrapMethods
SourceFileInnerClasses!&'N()'N*+'N*,'N*-'N(./012343D5678N9:;N<=>OR?*@+,-?C*?I?K?P+?T?V?Z?`*?b+?T?V?Z?d*?f+?T?h?j*?l+?T?h?n*?n?r*?j?r??*?tY*?n?r??v?x?&*??Y*?j?r?*?j?r?*?n?r????x?PH?????????????????????Q.okp&q7tEuSvew{y?z?|R?{z|~???"??O
f<**??????*???T?????-*????M,???,???
N*-??*-?ħ??*??<?*?ɧ:?*????MXXZXP :
??f??d??Q>??
??:???D?G?K?M?Q?X?^?b?e?R?'??P??	????O????Y??L+??Y*?d*??ָڷݶ?W+??W+*???W+??*??????
??W+??*???T???W+??*???T???W?!*???T?hM,?r	??+?$,?r?
??W?'*???T?hN-?r	??+?*-?r?
??W+?-*?x?W?0*???T????6+?3?6?W+?9W+?P4????56?v:3?M;3?<?QJ??!?(?1?I?^?s?????????????????????R???h?(h??O??+?@M*?D?I??*?DK?MY,SY*?d?SY+?PSY+?TSY+?WSY*?Z?6SY*????SY*???^?b?SY*???e?b?SY	*???h?b?SY
*???k?b?SY*???n?b?SY*?jSY
*?nS?r*???tYvSY,S?yN?{Y?|:??Y*?d-?ݶW???W*,????W?+???6??W?+???6??W+???r????$+???r?
???W+???r????*+??????
???W?-*?x??W?-*?x??W?3+???6??W?3+???6??W??W*?K,??W?P4????????>????????Qv???'?Q?_?p?????????????????????$?2?H?V?m?z???????????R??t???{$??O>
?Y*+???P
??
?>Q???O3	?
Y*???P	??Q???OR,??Y?S??N-?-?,:+??:*?˹?????????????Y?ڶޱP>R??R??R??C??8??"0??Q???"?Q?RM??@??,??????????????S???Oj*??+?????:??:??????Y????*??	Y?:?˹??-?!?%W?PHj??j&'j()j*,Z-.Q??H"/0Tj*+Q*
????(?7?=?H?Y?gR?7??S?NU12O?9*?K+?5?{,?7?;??N?	Y-?:-?˹???P49??9?>9?<??&=0Q&6>?O/*?C?P??QD?O??HY*?QS?V?P??Q
3VEFsoOL+?Y*+?a?%W?P????Q
afD?bO2*+,-?d?P??QQS?D1eO1*+,?g?P??QQS?Z[On,?l?*?D+?v,?w?z?P ????{|Qb	ceRS?
opO6?~Y?*???P??QcJ?O???Y*?K????L*?K????M,???>,???N+-???t-???{????	?????????W???+??M,???G,????N-???i??W-???i?l?*?D-??-???i?w?????*?K??*???$*???ж?	???????W*???P*3.??~7???????RT 3.??~7?????QJ 3!5"[!a#d$~%?&?'?)?'?+?,?.?/?0?2R? ???C???I?0
??OA?~Y?*????P??Q()(
O?A+?l?
*???0+?wM,??,?*??Y,????
*,?????P &??A*,A{|Q"?	!%6@
R?"??	S?
??O6*????P?>QZ
??O4
*??h???P
??QYO:*+??P??QQO:*+?	?P?
QQ?O?	???Y???Y? S?#?b%?hY&?-?0?Y? S?4?68?6?Y? S?;?f=?6?Y? S?;?l??Y? S?C?EG?M?˱Q*
TW$\D^T_Z`japbc??WHIMI^nsn???XYB

	@ @"$%




© 2015 - 2024 Weber Informatics LLC | Privacy Policy