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

com.groupbyinc.flux.cluster.NodeConnectionsService.class Maven / Gradle / Ivy

There is a newer version: 59
Show newest version
????4?2com/groupbyinc/flux/cluster/NodeConnectionsService?com/groupbyinc/flux/common/component/AbstractLifecycleComponentNodeConnectionsService.javaDcom/groupbyinc/flux/cluster/NodeConnectionsService$ConnectionCheckerConnectionChecker4com/groupbyinc/flux/cluster/NodeConnectionsService$1	/com/groupbyinc/flux/threadpool/ThreadPool$Names)com/groupbyinc/flux/threadpool/ThreadPool
Names4com/groupbyinc/flux/common/settings/Setting$Property+com/groupbyinc/flux/common/settings/SettingProperty%java/lang/invoke/MethodHandles$Lookupjava/lang/invoke/MethodHandlesLookup'CLUSTER_NODE_RECONNECT_INTERVAL_SETTING-Lcom/groupbyinc/flux/common/settings/Setting;ZLcom/groupbyinc/flux/common/settings/Setting;
threadPool+Lcom/groupbyinc/flux/threadpool/ThreadPool;transportService0Lcom/groupbyinc/flux/transport/TransportService;nodes$Ljava/util/concurrent/ConcurrentMap;iLjava/util/concurrent/ConcurrentMap;	nodeLocks6Lcom/groupbyinc/flux/common/util/concurrent/KeyedLock;hLcom/groupbyinc/flux/common/util/concurrent/KeyedLock;reconnectInterval+Lcom/groupbyinc/flux/common/unit/TimeValue;backgroundFuture&Ljava/util/concurrent/ScheduledFuture;)Ljava/util/concurrent/ScheduledFuture<*>;$assertionsDisabledZ?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/transport/TransportService;)V*Lcom/groupbyinc/flux/common/inject/Inject;1(Lcom/groupbyinc/flux/common/settings/Settings;)V.1
2@com/groupbyinc/flux/common/util/concurrent/ConcurrentCollections4newConcurrentMap&()Ljava/util/concurrent/ConcurrentMap;67
58!"	:4com/groupbyinc/flux/common/util/concurrent/KeyedLock<()V.>
=?$%	A)*	C	E 	G	IgetB(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/Object;KL
M)com/groupbyinc/flux/common/unit/TimeValueO'(	Qthis4Lcom/groupbyinc/flux/cluster/NodeConnectionsService;settings.Lcom/groupbyinc/flux/common/settings/Settings;connectToNodes4(Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;)Vjava/lang/ThrowableYjava/lang/InterruptedException[#java/util/concurrent/CountDownLatch]/com/groupbyinc/flux/cluster/node/DiscoveryNodes_getSize()Iab
`c(I)V.e
^fiterator()Ljava/util/Iterator;hi
`jjava/util/IteratorlhasNext()Znompnext()Ljava/lang/Object;rsmt.com/groupbyinc/flux/cluster/node/DiscoveryNodevacquireA(Ljava/lang/Object;)Lcom/groupbyinc/flux/common/lease/Releasable;xy
=zjava/lang/Integer|valueOf(I)Ljava/lang/Integer;~
}?"java/util/concurrent/ConcurrentMap?putIfAbsent8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;????.com/groupbyinc/flux/transport/TransportService?
nodeConnected3(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;)Z??
??$closeResource1(Ljava/lang/Throwable;Ljava/lang/AutoCloseable;)V??
?+com/groupbyinc/flux/common/lease/Releasable?	countDown?>
^?
management?executor:(Ljava/lang/String;)Ljava/util/concurrent/ExecutorService;??
??(Lcom/groupbyinc/flux/cluster/NodeConnectionsService;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Ljava/util/concurrent/CountDownLatch;)V.?

?$java/util/concurrent/ExecutorService?execute(Ljava/lang/Runnable;)V????await?>
^?java/lang/Thread?
currentThread()Ljava/lang/Thread;??
??	interrupt?>
??	connectedignored-Lcom/groupbyinc/flux/common/lease/Releasable;node0Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;e Ljava/lang/InterruptedException;discoveryNodes1Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;latch%Ljava/util/concurrent/CountDownLatch;disconnectFromNodesExceptjava/lang/Exception?java/util/HashSet?keySet()Ljava/util/Set;????(Ljava/util/Collection;)V.?
??
java/util/Set?remove(Ljava/lang/Object;)Z?????j&(Ljava/lang/Object;)Ljava/lang/Object;????,-	?java/lang/AssertionError?java/lang/StringBuilder?
??node ?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??-(Ljava/lang/Object;)Ljava/lang/StringBuilder;??
??/ was removed in event but not in internal nodes?toString()Ljava/lang/String;??
??(Ljava/lang/Object;)V.?
??disconnectFromNode3(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;)V??
??logger!Lorg/apache/logging/log4j/Logger;??	?"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;??
???,()Lorg/apache/logging/log4j/message/Message;?"lambda$disconnectFromNodesExcept$0\(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;)Lorg/apache/logging/log4j/message/Message;??
?a(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;)Lorg/apache/logging/log4j/util/MessageSupplier;Korg/apache/logging/log4j/LoggerwarnG(Lorg/apache/logging/log4j/util/MessageSupplier;Ljava/lang/Throwable;)V	Ljava/lang/Exception;currentLjava/lang/Integer;nodesToKeepcurrentNodesALjava/util/Set;Ljava/util/Set;validateAndConnectIfNeededisHeldByCurrentThread?
=4validateAndConnectIfNeeded must be called under lock	lifecycle0Lcom/groupbyinc/flux/common/component/Lifecycle;	.com/groupbyinc/flux/common/component/LifecyclestoppedOrClosedo
containsKey!??"
connectToNode$?
?%put'??(K??*# didn't have a counter in nodes map,intValue.b
}/#lambda$validateAndConnectIfNeeded$1](Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;I)Lorg/apache/logging/log4j/message/Message;12
34b(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;I)Lorg/apache/logging/log4j/util/MessageSupplier;K67finalNodeFailureCountInodeFailureCountdoStartgeneric=7(Lcom/groupbyinc/flux/cluster/NodeConnectionsService;)V.?
@scheduley(Lcom/groupbyinc/flux/common/unit/TimeValue;Ljava/lang/String;Ljava/lang/Runnable;)Ljava/util/concurrent/ScheduledFuture;BC
DdoStop6com/groupbyinc/flux/common/util/concurrent/FutureUtilsGcancel (Ljava/util/concurrent/Future;)ZIJ
HKdoClose5org/apache/logging/log4j/message/ParameterizedMessageN/failed to connect to node {} (tried [{}] times)P9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V.R
OS!failed to disconnect to node [{}]U'(Ljava/lang/String;Ljava/lang/Object;)V.W
OXjava/lang/AutoCloseableZclose\>[]
addSuppressed(Ljava/lang/Throwable;)V_`
Zax0Ljava/lang/Throwable;x1Ljava/lang/AutoCloseable;
access$000W(Lcom/groupbyinc/flux/cluster/NodeConnectionsService;)Lorg/apache/logging/log4j/Logger;
access$100l(Lcom/groupbyinc/flux/cluster/NodeConnectionsService;)Lcom/groupbyinc/flux/common/util/concurrent/KeyedLock;
access$200
access$300Z(Lcom/groupbyinc/flux/cluster/NodeConnectionsService;)Ljava/util/concurrent/ConcurrentMap;
access$400f(Lcom/groupbyinc/flux/cluster/NodeConnectionsService;)Lcom/groupbyinc/flux/common/component/Lifecycle;
access$502?(Lcom/groupbyinc/flux/cluster/NodeConnectionsService;Ljava/util/concurrent/ScheduledFuture;)Ljava/util/concurrent/ScheduledFuture;
access$600a(Lcom/groupbyinc/flux/cluster/NodeConnectionsService;)Lcom/groupbyinc/flux/common/unit/TimeValue;
access$700a(Lcom/groupbyinc/flux/cluster/NodeConnectionsService;)Lcom/groupbyinc/flux/threadpool/ThreadPool;java/lang/ClasswdesiredAssertionStatusyo
xz cluster.nodes.reconnect_interval|
timeValueSeconds.(J)Lcom/groupbyinc/flux/common/unit/TimeValue;??
P?	NodeScope6Lcom/groupbyinc/flux/common/settings/Setting$Property;??	?positiveTimeSetting?(Ljava/lang/String;Lcom/groupbyinc/flux/common/unit/TimeValue;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting;??
?	SignatureCodeLocalVariableTableLineNumberTableRuntimeVisibleAnnotations
StackMapTableLocalVariableTypeTableBootstrapMethods
SourceFileInnerClasses!? !"?#$%?&'(B)*?+,-./??5*+?3*?9?;*?=Y?@?B*?D*,?F*-?H*?J+?N?P?R??*5ST5UV55 ?"KACGL!M&N4O?0WX??
??^Y+?d?gM+?kN-?q??-?u?w:*?B?{::*?;????W*?H??6?'???::?:	?
??	??
,???*?F????
Y*,??????u,???
N?????3N]Z3Nf]hf???\?RN?-0G??w%?-%w??????ST???????FRS%U3VCWNX]UfXwY|Z?]?t?v?y?w?x?z?Y
?^m?K`^mw?ZZHZ?
Z?`^mw??F\?X?0
??Y*?;????M+?kN-?q?-?u?w:,??W???,??N-?q??-?u?w:*?B?{::*?;???}:?Ԛ)?$??Y??Y??۶????߶??*?H??:*????
?'???::?:	?
??	???Y?????_??Z_??????R*	????oL
\???Q????ST??????F??*?3?6?Q?_?o????????????????????`??m??m?]`?mw?Z}K??NZHZ?
Z?`?m???l??Ԛ*?B+????Y??*?? ??*?;+?#???*?H+?&*?;+???)W?qM*?;+?+?}N?Ԛ#-???Y??Y??+??-?߶??-?0`??N-?0p?-?06*??+?8,?
*?;+-?)W?6MP??4?9:__;
Qm??ST????>??+?6?>?M?P?Q?_??????????????Y??4?},?<>?I**?F*?R>?Y*?A?E?D??ST?
??F>?7	*?D?LW??	ST?
??M>?+??ST??
12?L?OYQ*???T????9:??	??
???6?OYV*?Y??????
???g*?+?^?M*,?b?	+?^?

Z?cdef?X?MZgh?/*???cT?8ij?/*?B??cT?8kh?/*???cT?8lm?/*?;??cT?8no?/*???cT?8pq?;*+Z?D??cTe*?8rs?/*?R??cT?8tu?/*?F??cT?8v>?Y*?{????}~???Y??S???J??8:;):?@??????5???*
	@




© 2015 - 2025 Weber Informatics LLC | Privacy Policy