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

com.groupbyinc.flux.indices.recovery.RecoveriesCollection.class Maven / Gradle / Ivy

There is a newer version: 59
Show newest version
????39com/groupbyinc/flux/indices/recovery/RecoveriesCollectionjava/lang/ObjectRecoveriesCollection.java;com/groupbyinc/flux/indices/recovery/RecoveriesCollection$1Icom/groupbyinc/flux/indices/recovery/RecoveriesCollection$RecoveryMonitorRecoveryMonitorCcom/groupbyinc/flux/indices/recovery/RecoveriesCollection$StatusRef	StatusRefDcom/groupbyinc/flux/indices/recovery/RecoveryTarget$RecoveryListener3com/groupbyinc/flux/indices/recovery/RecoveryTargetRecoveryListener/com/groupbyinc/flux/threadpool/ThreadPool$Names)com/groupbyinc/flux/threadpool/ThreadPoolNamesonGoingRecoveries$Ljava/util/concurrent/ConcurrentMap;kLjava/util/concurrent/ConcurrentMap;logger-Lcom/groupbyinc/flux/common/logging/ESLogger;
threadPool+Lcom/groupbyinc/flux/threadpool/ThreadPool;$assertionsDisabledZ[(Lcom/groupbyinc/flux/common/logging/ESLogger;Lcom/groupbyinc/flux/threadpool/ThreadPool;)V()V!#
$@com/groupbyinc/flux/common/util/concurrent/ConcurrentCollections&newConcurrentMap&()Ljava/util/concurrent/ConcurrentMap;()
'*	,	.	0this;Lcom/groupbyinc/flux/indices/recovery/RecoveriesCollection;
startRecovery?(Lcom/groupbyinc/flux/index/shard/IndexShard;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Lcom/groupbyinc/flux/indices/recovery/RecoveryTarget$RecoveryListener;Lcom/groupbyinc/flux/common/unit/TimeValue;)J3com/groupbyinc/flux/indices/recovery/RecoveryStatus6?(Lcom/groupbyinc/flux/index/shard/IndexShard;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Lcom/groupbyinc/flux/indices/recovery/RecoveryTarget$RecoveryListener;)V!8
79
recoveryId()J;<
7=java/lang/Long?valueOf(J)Ljava/lang/Long;AB
@C"java/util/concurrent/ConcurrentMapEputIfAbsent8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;GHFI 	Kjava/lang/AssertionErrorM3found two RecoveryStatus instances with the same idO(Ljava/lang/Object;)V!Q
NR${} started recovery from {}, id [{}]T*com/groupbyinc/flux/index/shard/IndexShardVshardId+()Lcom/groupbyinc/flux/index/shard/ShardId;XY
WZ+com/groupbyinc/flux/common/logging/ESLogger\trace((Ljava/lang/String;[Ljava/lang/Object;)V^_]`genericblastAccessTimed<
7e?(Lcom/groupbyinc/flux/indices/recovery/RecoveriesCollection;JJLcom/groupbyinc/flux/common/unit/TimeValue;Lcom/groupbyinc/flux/indices/recovery/RecoveriesCollection$1;)V!g
	hscheduley(Lcom/groupbyinc/flux/common/unit/TimeValue;Ljava/lang/String;Ljava/lang/Runnable;)Ljava/util/concurrent/ScheduledFuture;jk
l
indexShard,Lcom/groupbyinc/flux/index/shard/IndexShard;
sourceNode0Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;listenerFLcom/groupbyinc/flux/indices/recovery/RecoveryTarget$RecoveryListener;activityTimeout+Lcom/groupbyinc/flux/common/unit/TimeValue;status5Lcom/groupbyinc/flux/indices/recovery/RecoveryStatus;existingStatus	getStatusH(J)Lcom/groupbyinc/flux/indices/recovery/RecoveriesCollection$StatusRef;get&(Ljava/lang/Object;)Ljava/lang/Object;{|F}	tryIncRef()Z?
7?8(Lcom/groupbyinc/flux/indices/recovery/RecoveryStatus;)V!?
?idJ
getStatusSafeq(JLcom/groupbyinc/flux/index/shard/ShardId;)Lcom/groupbyinc/flux/indices/recovery/RecoveriesCollection$StatusRef;yz
?9com/groupbyinc/flux/index/shard/IndexShardClosedException?,(Lcom/groupbyinc/flux/index/shard/ShardId;)V!?
??7()Lcom/groupbyinc/flux/indices/recovery/RecoveryStatus;v?
?
7Z'com/groupbyinc/flux/index/shard/ShardId?equals(Ljava/lang/Object;)Z??
??
N$)Lcom/groupbyinc/flux/index/shard/ShardId;	statusRefELcom/groupbyinc/flux/indices/recovery/RecoveriesCollection$StatusRef;cancelRecovery(JLjava/lang/String;)Zremove?|F?3{} canceled recovery from {}, id [{}] (reason [{}])?2()Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;p?
7?cancel(Ljava/lang/String;)V??
7?reasonLjava/lang/String;removed	cancelledfailRecoveryC(JLcom/groupbyinc/flux/indices/recovery/RecoveryFailedException;Z)V>{} failing recovery from {}, id [{}]. Send shard failure: [{}]?java/lang/Boolean?(Z)Ljava/lang/Boolean;A?
??failB(Lcom/groupbyinc/flux/indices/recovery/RecoveryFailedException;Z)V??
7?e>Lcom/groupbyinc/flux/indices/recovery/RecoveryFailedException;sendShardFailuremarkRecoveryAsDone(J)V,{} marking recovery from {} as done, id [{}]?
markAsDone?#
7?size()I??F?cancelRecoveriesForShard>(Lcom/groupbyinc/flux/index/shard/ShardId;Ljava/lang/String;)Z8com/groupbyinc/flux/common/google/common/base/Predicates?
alwaysTrue;()Lcom/groupbyinc/flux/common/google/common/base/Predicate;??
??w(Lcom/groupbyinc/flux/index/shard/ShardId;Ljava/lang/String;Lcom/groupbyinc/flux/common/google/common/base/Predicate;)Z??
?values()Ljava/util/Collection;??F?java/util/Collection?iterator()Ljava/util/Iterator;????java/util/Iterator?hasNext????next()Ljava/lang/Object;????7com/groupbyinc/flux/common/google/common/base/Predicate?apply????decRef?#
7?java/lang/String?java/lang/Throwable???
?shouldCancelpLcom/groupbyinc/flux/common/google/common/base/Predicate;9Lcom/groupbyinc/flux/common/google/common/base/Predicate;
access$100j(Lcom/groupbyinc/flux/indices/recovery/RecoveriesCollection;)Lcom/groupbyinc/flux/common/logging/ESLogger;x0
access$200a(Lcom/groupbyinc/flux/indices/recovery/RecoveriesCollection;)Ljava/util/concurrent/ConcurrentMap;
access$300h(Lcom/groupbyinc/flux/indices/recovery/RecoveriesCollection;)Lcom/groupbyinc/flux/threadpool/ThreadPool;java/lang/ClassdesiredAssertionStatus?
	SignatureCodeLocalVariableTableLineNumberTable
StackMapTableLocalVariableTypeTable?(Lcom/groupbyinc/flux/index/shard/ShardId;Ljava/lang/String;Lcom/groupbyinc/flux/common/google/common/base/Predicate;)Z
SourceFileInnerClasses! !"	d*?%*?+?-*+?/*,?1?
 234/56745	??7Y+,-?::*?-?>?D?J?7:?L??
?NYP?S?*?/U?Y+?[SY,SY?>?DS?a*?1c?	Y*?>?f?i?mW?>?
H?23?no?pq?rs?tuyvw$axw"@A$B9C^DmE{DF?977yz	'*?-?D?~?7N-?-????Y-????
 '23'??vwQRS%U?%7??	?5*??:???Y-????L?????-????NY????
*5235??5X?.??Z[\^2_	???	?T*?-?D???7:6?:*?/??Y??SY??SY?>?DSY-S?a-??6?
4T23T??T??B?w?? &	defg(hCgHiNjQl	?Q7??	?R*?-?D???7:?=*?/??Y??SY??SY?>?DSY??S?a-???
4R23R??R??R? @?wwxyIzQ|?Q7??	?A*?-?D???7N-?.*?/??Y-??SY-??SY-?>?DS?a-?DZ
 A23A??0?w???<?@??@7??	4
*?-???

23???	H
*+,?Ӷ֬
 
23
X?
?????	c	w6*?-????:???Z???7:??+????6???-??6??
:????*?>,???6????@JRRTR
H89? )Hvww23wX?w??w??t? 
w??6
??)?5?8?@?J?O?R?\?n?q?t?.???>????7?	????	/*?/?
?3,??	/*?-?
?3,	/*?1?
?3,#	4????L?,@*	

			




© 2015 - 2025 Weber Informatics LLC | Privacy Policy