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

com.groupbyinc.flux.transport.RemoteClusterConnection$ConnectHandler.class Maven / Gradle / Ivy

????4Dcom/groupbyinc/flux/transport/RemoteClusterConnection$ConnectHandlerjava/lang/Objectjava/io/CloseableRemoteClusterConnection.java5com/groupbyinc/flux/transport/RemoteClusterConnectionConnectHandlerecom/groupbyinc/flux/transport/RemoteClusterConnection$ConnectHandler$SniffClusterStateResponseHandler SniffClusterStateResponseHandlerFcom/groupbyinc/flux/transport/RemoteClusterConnection$ConnectHandler$1Ncom/groupbyinc/flux/common/util/CancellableThreads$ExecutionCancelledException2com/groupbyinc/flux/common/util/CancellableThreadsExecutionCancelledExceptionFcom/groupbyinc/flux/common/util/concurrent/ThreadContext$StoredContext8com/groupbyinc/flux/common/util/concurrent/ThreadContext
StoredContextLcom/groupbyinc/flux/transport/TransportService$ContextRestoreResponseHandler.com/groupbyinc/flux/transport/TransportServiceContextRestoreResponseHandler2com/groupbyinc/flux/transport/Transport$Connection'com/groupbyinc/flux/transport/Transport!
Connection7com/groupbyinc/flux/transport/RemoteClusterConnection$1$/com/groupbyinc/flux/threadpool/ThreadPool$Names&)com/groupbyinc/flux/threadpool/ThreadPool(NamesBcom/groupbyinc/flux/common/util/CancellableThreads$IOInterruptable+IOInterruptable:com/groupbyinc/flux/transport/TransportRequestOptions$Type.5com/groupbyinc/flux/transport/TransportRequestOptions0TypeDcom/groupbyinc/flux/transport/RemoteClusterConnection$ConnectedNodes3ConnectedNodes%java/lang/invoke/MethodHandles$Lookup6java/lang/invoke/MethodHandles8Lookuprunning Ljava/util/concurrent/Semaphore;closed+Ljava/util/concurrent/atomic/AtomicBoolean;queue$Ljava/util/concurrent/BlockingQueue;cLjava/util/concurrent/BlockingQueue;>;cancellableThreads4Lcom/groupbyinc/flux/common/util/CancellableThreads;this$07Lcom/groupbyinc/flux/transport/RemoteClusterConnection;:(Lcom/groupbyinc/flux/transport/RemoteClusterConnection;)VDE	H()VFJ
Kjava/util/concurrent/SemaphoreM(I)VFO
NP;<	R)java/util/concurrent/atomic/AtomicBooleanT(Z)VFV
UW=>	Y'java/util/concurrent/ArrayBlockingQueue[
\P?@	^
KBC	athisFLcom/groupbyinc/flux/transport/RemoteClusterConnection$ConnectHandler;maybeConnectconnect.(Lcom/groupbyinc/flux/action/ActionListener;)Vfg
h/(Lcom/groupbyinc/flux/action/ActionListener;Z)Vfj
kconnectListener=Lcom/groupbyinc/flux/action/ActionListener;+Lcom/groupbyinc/flux/action/ActionListener;forceConnect"java/util/concurrent/BlockingQueueqoffer(Ljava/lang/Object;)Zstru/java/util/concurrent/RejectedExecutionExceptionwconnect queue is fully(Ljava/lang/String;)VF{
x|)com/groupbyinc/flux/action/ActionListener~	onFailure(Ljava/lang/Exception;)V???isEmpty()Z??r?
tryAcquire??
N?java/util/ArrayList?
?KdrainTo(Ljava/util/Collection;)I??r?get??
U?release?J
N?Ecom/groupbyinc/flux/common/apache/lucene/store/AlreadyClosedException?!connect handler is already closed?
?|,(Ljava/lang/Iterable;Ljava/lang/Exception;)V???java/util/Collections?	emptyList()Ljava/util/List;??
??java/util/Collection?java/lang/Throwable?forkConnect(Ljava/util/Collection;)V??
?toNotifyULjava/util/Collection;>;Ljava/util/Collection;
runConnectZforceRun
access$200i(Lcom/groupbyinc/flux/transport/RemoteClusterConnection;)Lcom/groupbyinc/flux/transport/TransportService;??
	?
getThreadPool-()Lcom/groupbyinc/flux/threadpool/ThreadPool;??
?
management?executor:(Ljava/lang/String;)Ljava/util/concurrent/ExecutorService;??
)?_(Lcom/groupbyinc/flux/transport/RemoteClusterConnection$ConnectHandler;Ljava/util/Collection;)VF?
?$java/util/concurrent/ExecutorService?submit3(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;????
threadPool+Lcom/groupbyinc/flux/threadpool/ThreadPool;&Ljava/util/concurrent/ExecutorService;collectRemoteNodesr(Ljava/util/Iterator;Lcom/groupbyinc/flux/transport/TransportService;Lcom/groupbyinc/flux/action/ActionListener;)V7com/groupbyinc/flux/transport/ConnectTransportException?java/io/IOException?java/lang/IllegalStateException?java/lang/Thread?
currentThread()Ljava/lang/Thread;??
??
isInterrupted??
??java/lang/InterruptedException?%remote connect thread got interrupted?
?|java/util/Iterator?hasNext????"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;??
???Jlambda$collectRemoteNodes$2??
??run?(Lcom/groupbyinc/flux/transport/RemoteClusterConnection$ConnectHandler;Ljava/util/Iterator;Lcom/groupbyinc/flux/transport/TransportService;Lcom/groupbyinc/flux/action/ActionListener;)Lcom/groupbyinc/flux/common/util/CancellableThreads$IOInterruptable;???	executeIOG(Lcom/groupbyinc/flux/common/util/CancellableThreads$IOInterruptable;)V??
?no seed node left?
?|java/lang/Exception
access$600q(Lcom/groupbyinc/flux/transport/RemoteClusterConnection;)Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;
	()Ljava/lang/Object;lambda$collectRemoteNodes$3
	
?(Lcom/groupbyinc/flux/transport/RemoteClusterConnection$ConnectHandler;)Lcom/groupbyinc/flux/common/apache/logging/log4j/util/Supplier;?
6com/groupbyinc/flux/common/apache/logging/log4j/LoggerdebugW(Lcom/groupbyinc/flux/common/apache/logging/log4j/util/Supplier;Ljava/lang/Throwable;)V??
exPLcom/groupbyinc/flux/common/util/CancellableThreads$ExecutionCancelledException;Ljava/lang/Exception;	seedNodesFLjava/util/Iterator;Ljava/util/Iterator;transportService0Lcom/groupbyinc/flux/transport/TransportService;listenerclose
compareAndSet(ZZ)Z!"
U#connect handler is closed%cancel'{
(acquire*J
N+eJ
-	interrupt/J
?0e Ljava/lang/InterruptedException;isClosedLcom/groupbyinc/flux/common/apache/logging/log4j/message/ParameterizedMessage5.fetching nodes from external cluster {} failed7access$1000K(Lcom/groupbyinc/flux/transport/RemoteClusterConnection;)Ljava/lang/String;9:
	;'(Ljava/lang/String;Ljava/lang/Object;)VF=
6>next@?A.com/groupbyinc/flux/cluster/node/DiscoveryNodeCREG;NLcom/groupbyinc/flux/transport/TransportService$ContextRestoreResponseHandler;seedNode
connection4Lcom/groupbyinc/flux/transport/Transport$Connection;success;seed node {} cluster name mismatch expected cluster name {}?getNode2()Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;?? ?
access$700p(Lcom/groupbyinc/flux/transport/RemoteClusterConnection;)Lcom/groupbyinc/flux/common/apache/lucene/util/SetOnce;??
	?5com/groupbyinc/flux/common/apache/lucene/util/SetOnce??
??9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)VF?
6?'com/groupbyinc/flux/cluster/ClusterName?equals?t
??c)Lcom/groupbyinc/flux/cluster/ClusterName;s(Lcom/groupbyinc/flux/transport/RemoteClusterConnection;Lcom/groupbyinc/flux/transport/RemoteClusterConnection$1;)VFG
?x0x19Lcom/groupbyinc/flux/transport/RemoteClusterConnection$1;
access$300l(Lcom/groupbyinc/flux/transport/RemoteClusterConnection$ConnectHandler;)Ljava/util/concurrent/BlockingQueue;
access$400h(Lcom/groupbyinc/flux/transport/RemoteClusterConnection$ConnectHandler;)Ljava/util/concurrent/Semaphore;	SignatureCodeLocalVariableTableLineNumberTableLocalVariableTypeTable@(Lcom/groupbyinc/flux/action/ActionListener;)V
StackMapTableA(Lcom/groupbyinc/flux/action/ActionListener;Z)VX(Ljava/util/Collection;>;)V?(Ljava/util/Iterator;Lcom/groupbyinc/flux/transport/TransportService;Lcom/groupbyinc/flux/action/ActionListener;)V
ExceptionsBootstrapMethods
SourceFileInnerClasses ;<=>?@?ABCDEFG?t:*+?I*?L*?NY?Q?S*?UY?X?Z*?\Yd?]?_*?Y?`?b??:cd+	,-!../eJ?4*?i??cd
67fg?Q*+?l??cdmomn
>??pJ?5*?l??cd
FGfj???*?_YN?+?"*?_+?v?+?xYz?}??-ñ?*?_???-ñ*?S??6?:??Y??:*?_??W*?Z??? *?S????Y?????-ñ??:-ç
:-???	*???)?*<?=?????????RT.??FF??????cd?mo?????????*T.??????mn???NLMN'O*Q:R=TFUKVTW`XjYqZ[?^?`?a?b?d;?*?D??????
?????#*?I????M,???N-?Y*+?Ĺ?W??*#cd#??????#??ghi"?????q??۶ޙ-??Y???+???*?b*+,-?????-??Y??????A:-???4:+???!*?I?*??*+,-??-???CFCS?CS?CS??>HU/?cd???o??n>?	??!?4?C?F?H?P?S?U?^?r?|???BL?(?? J??3*?Z?$?*?b&?)*?S?,*?S??*?.?
L?۶1?(+??,233cd&	????$?(?+?,?2?(B??4??2*?Z????cd??D?6Y8*?I?A?"-+Ziiki??9??>??w??????????	????
????W??{cd{{{op??z??`??]??????? ??????9?<?>?T?W?|?????????????????????????"?+?W?Z?_?i?p?z?#?<?D ??D>?u?D D?)??I?H???D D?)?????D D?)??D ??
?D ???D D??st?W?6Y?+??*?I?????cd?????bc?_ *?I?????+*?I????? cd ???MF??D*+???? cd?E??+???/*?_???d+???/*?S???d+*??????afg?w	
j
	

		 "#	%')*	,-	/12@4	5
79:




© 2015 - 2025 Weber Informatics LLC | Privacy Policy