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

com.groupbyinc.flux.repositories.RepositoriesService.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????4+4com/groupbyinc/flux/repositories/RepositoriesService6com/groupbyinc/flux/common/component/AbstractComponent/com/groupbyinc/flux/cluster/ClusterStateApplierRepositoriesService.javaCcom/groupbyinc/flux/repositories/RepositoriesService$VerifyResponseVerifyResponsePcom/groupbyinc/flux/repositories/RepositoriesService$UnregisterRepositoryRequestUnregisterRepositoryRequestNcom/groupbyinc/flux/repositories/RepositoriesService$RegisterRepositoryRequestRegisterRepositoryRequestXcom/groupbyinc/flux/repositories/RepositoriesService$VerifyingRegisterRepositoryListener#VerifyingRegisterRepositoryListener6com/groupbyinc/flux/repositories/RepositoriesService$36com/groupbyinc/flux/repositories/RepositoriesService$26com/groupbyinc/flux/repositories/RepositoriesService$13com/groupbyinc/flux/repositories/Repository$Factory+com/groupbyinc/flux/repositories/RepositoryFactoryjava/util/Map$Entry
java/util/Map!Entry/com/groupbyinc/flux/threadpool/ThreadPool$Names$)com/groupbyinc/flux/threadpool/ThreadPool&Names4com/groupbyinc/flux/cluster/metadata/MetaData$Custom)-com/groupbyinc/flux/cluster/metadata/MetaData+Custom%java/lang/invoke/MethodHandles$Lookup.java/lang/invoke/MethodHandles0Lookup
typesRegistryLjava/util/Map;XLjava/util/Map;clusterService4Lcom/groupbyinc/flux/cluster/service/ClusterService;
threadPool+Lcom/groupbyinc/flux/threadpool/ThreadPool;verifyAction=Lcom/groupbyinc/flux/repositories/VerifyNodeRepositoryAction;repositoriesPLjava/util/Map;?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/cluster/service/ClusterService;Lcom/groupbyinc/flux/transport/TransportService;Ljava/util/Map;Lcom/groupbyinc/flux/threadpool/ThreadPool;)V*Lcom/groupbyinc/flux/common/inject/Inject;1(Lcom/groupbyinc/flux/common/settings/Settings;)V>A
Bjava/util/CollectionsDemptyMap()Ljava/util/Map;FG
EH<4	J34	L67	N89	P.com/groupbyinc/flux/cluster/node/DiscoveryNodeR
isDataNode1(Lcom/groupbyinc/flux/common/settings/Settings;)ZTU
SVisMasterNodeXU
SY,com/groupbyinc/flux/common/settings/Settings[2com/groupbyinc/flux/cluster/service/ClusterService].com/groupbyinc/flux/transport/TransportService_addStateApplier4(Lcom/groupbyinc/flux/cluster/ClusterStateApplier;)Vab
^c;com/groupbyinc/flux/repositories/VerifyNodeRepositoryActione?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/transport/TransportService;Lcom/groupbyinc/flux/cluster/service/ClusterService;Lcom/groupbyinc/flux/repositories/RepositoriesService;)V>g
fh:;	jthis6Lcom/groupbyinc/flux/repositories/RepositoriesService;settings.Lcom/groupbyinc/flux/common/settings/Settings;transportService0Lcom/groupbyinc/flux/transport/TransportService;registerRepository~(Lcom/groupbyinc/flux/repositories/RepositoriesService$RegisterRepositoryRequest;Lcom/groupbyinc/flux/action/ActionListener;)V7com/groupbyinc/flux/cluster/metadata/RepositoryMetaDatatnameLjava/lang/String;vw	xtypezw	{no	}U(Ljava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/common/settings/Settings;)V>
u?verifyZ??	?v(Lcom/groupbyinc/flux/repositories/RepositoriesService;Ljava/lang/String;Lcom/groupbyinc/flux/action/ActionListener;)V>?
?)com/groupbyinc/flux/action/ActionListener?cause?w	?(Lcom/groupbyinc/flux/repositories/RepositoriesService;Lcom/groupbyinc/flux/cluster/ack/AckedRequest;Lcom/groupbyinc/flux/action/ActionListener;Lcom/groupbyinc/flux/repositories/RepositoriesService$RegisterRepositoryRequest;Lcom/groupbyinc/flux/cluster/metadata/RepositoryMetaData;)V>?
?submitStateUpdateTaskI(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/ClusterStateTaskConfig;)V??
^?registrationListeneriLcom/groupbyinc/flux/action/ActionListener;+Lcom/groupbyinc/flux/action/ActionListener;requestPLcom/groupbyinc/flux/repositories/RepositoriesService$RegisterRepositoryRequest;listenernewRepositoryMetaData9Lcom/groupbyinc/flux/cluster/metadata/RepositoryMetaData;unregisterRepository?(Lcom/groupbyinc/flux/repositories/RepositoriesService$UnregisterRepositoryRequest;Lcom/groupbyinc/flux/action/ActionListener;)V	??(Lcom/groupbyinc/flux/repositories/RepositoriesService;Lcom/groupbyinc/flux/cluster/ack/AckedRequest;Lcom/groupbyinc/flux/action/ActionListener;Lcom/groupbyinc/flux/repositories/RepositoriesService$UnregisterRepositoryRequest;)V>?
?RLcom/groupbyinc/flux/repositories/RepositoriesService$UnregisterRepositoryRequest;verifyRepository@(Ljava/lang/String;Lcom/groupbyinc/flux/action/ActionListener;)Vjava/lang/Exception?
repositoryA(Ljava/lang/String;)Lcom/groupbyinc/flux/repositories/Repository;??
?snapshot?executor:(Ljava/lang/String;)Ljava/util/concurrent/ExecutorService;??
'?"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;??
???()V?lambda$verifyRepository$2m(Lcom/groupbyinc/flux/repositories/Repository;Ljava/lang/String;Lcom/groupbyinc/flux/action/ActionListener;)V??
??run?(Lcom/groupbyinc/flux/repositories/RepositoriesService;Lcom/groupbyinc/flux/repositories/Repository;Ljava/lang/String;Lcom/groupbyinc/flux/action/ActionListener;)Ljava/lang/Runnable;???$java/util/concurrent/ExecutorService?execute(Ljava/lang/Runnable;)V????java/lang/String?	onFailure(Ljava/lang/Exception;)V????eLjava/lang/Exception;repositoryNamerLcom/groupbyinc/flux/action/ActionListener;-Lcom/groupbyinc/flux/repositories/Repository;applyClusterState4(Lcom/groupbyinc/flux/cluster/ClusterChangedEvent;)V4com/groupbyinc/flux/repositories/RepositoryException?/com/groupbyinc/flux/cluster/ClusterChangedEvent?
previousState,()Lcom/groupbyinc/flux/cluster/ClusterState;??
??(com/groupbyinc/flux/cluster/ClusterState?getMetaData1()Lcom/groupbyinc/flux/cluster/metadata/MetaData;??
??<customJ(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/metadata/MetaData$Custom;??
,?9com/groupbyinc/flux/cluster/metadata/RepositoriesMetaData?state??
??equals(Ljava/lang/Object;)Z??
??logger!Lorg/apache/logging/log4j/Logger;??	?8processing new index repositories for state version [{}]?version()J??
??java/lang/Long?valueOf(J)Ljava/lang/Long;?
?org/apache/logging/log4j/Loggertrace'(Ljava/lang/String;Ljava/lang/Object;)Vjava/util/HashMap	>?

entrySet()Ljava/util/Set;
"
java/util/Setiterator()Ljava/util/Iterator;java/util/IteratorhasNext()Znext()Ljava/lang/Object;getKey! "M(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/metadata/RepositoryMetaData;?$
?%unregistering repository [{}]'debug)*getValue, -closeRepository0(Lcom/groupbyinc/flux/repositories/Repository;)V/0
1put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;34"5()Ljava/util/List;<7
?8java/util/List:;()Ljava/lang/String;v=
u>get&(Ljava/lang/Object;)Ljava/lang/Object;@A"BgetMetadata;()Lcom/groupbyinc/flux/cluster/metadata/RepositoryMetaData;DEFz=
uH
??0()Lcom/groupbyinc/flux/common/settings/Settings;nK
uL
\?updating repository [{}]OcreateRepositoryh(Lcom/groupbyinc/flux/cluster/metadata/RepositoryMetaData;)Lcom/groupbyinc/flux/repositories/Repository;QR
S,()Lorg/apache/logging/log4j/message/Message;Ulambda$applyClusterState$3e(Lcom/groupbyinc/flux/cluster/metadata/RepositoryMetaData;)Lorg/apache/logging/log4j/message/Message;WX
YZj(Lcom/groupbyinc/flux/cluster/metadata/RepositoryMetaData;)Lorg/apache/logging/log4j/util/MessageSupplier;@\]warnG(Lorg/apache/logging/log4j/util/MessageSupplier;Ljava/lang/Throwable;)V_`alambda$applyClusterState$4cX
de]registering repository [{}]hunmodifiableMap (Ljava/util/Map;)Ljava/util/Map;jk
Elfailure updating cluster state n*(Ljava/lang/String;Ljava/lang/Throwable;)V_pqentryVLjava/util/Map$Entry;Ljava/util/Map$Entry;ex6Lcom/groupbyinc/flux/repositories/RepositoryException;previousMetadatarepositoryMetaDataoldMetaData;Lcom/groupbyinc/flux/cluster/metadata/RepositoriesMetaData;newMetaData	survivorsbuilderevent1Lcom/groupbyinc/flux/cluster/ClusterChangedEvent;;com/groupbyinc/flux/repositories/RepositoryMissingException?(Ljava/lang/String;)V>?
??<(Lcom/groupbyinc/flux/cluster/metadata/RepositoryMetaData;)Zjava/io/IOException?
u?(Ljava/util/Map;)V>?

?previousnewReponewRepositoriesclosing repository [{}][{}]?9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V)??close???creating repository [{}][{}]?java/lang/StringBuilder?
?repository type [?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??] does not exist?toString?=
??'(Ljava/lang/String;Ljava/lang/String;)V>?
??create?R?start???lambda$createRepository$5?X
??]failed to create repository?<(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V>?
??factory5Lcom/groupbyinc/flux/repositories/Repository$Factory;ensureRepositoryNotInUse?(Lcom/groupbyinc/flux/cluster/ClusterState;Ljava/lang/String;)V.com/groupbyinc/flux/snapshots/SnapshotsService?isRepositoryInUse?(Lcom/groupbyinc/flux/cluster/ClusterState;Ljava/lang/String;)Z??
??,com/groupbyinc/flux/snapshots/RestoreService?
??java/lang/IllegalStateException?Atrying to modify or unregister repository that is currently used ?
??clusterState*Lcom/groupbyinc/flux/cluster/ClusterState;5org/apache/logging/log4j/message/ParameterizedMessage?$failed to create repository [{}][{}]?>?
?? failed to create repository [{}]?>
?? failed to change repository [{}]?startVerification?=??(Lcom/groupbyinc/flux/repositories/RepositoriesService;Lcom/groupbyinc/flux/repositories/Repository;Ljava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/action/ActionListener;)V>?
?R(Ljava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/action/ActionListener;)V??
f?lambda$verifyRepository$1?(Lcom/groupbyinc/flux/repositories/Repository;Ljava/lang/String;Ljava/lang/Exception;Ljava/lang/String;Lcom/groupbyinc/flux/action/ActionListener;)V??
???(Lcom/groupbyinc/flux/repositories/RepositoriesService;Lcom/groupbyinc/flux/repositories/Repository;Ljava/lang/String;Ljava/lang/Exception;Ljava/lang/String;Lcom/groupbyinc/flux/action/ActionListener;)Ljava/lang/Runnable;???4com/groupbyinc/flux/repositories/VerificationFailure?k([Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;[Lcom/groupbyinc/flux/repositories/VerificationFailure;)V>?
	?
onResponse(Ljava/lang/Object;)V????verificationTokenendVerification???
addSuppressed(Ljava/lang/Throwable;)V??
??lambda$verifyRepository$0>(Ljava/lang/String;)Lorg/apache/logging/log4j/message/Message;??
?C(Ljava/lang/String;)Lorg/apache/logging/log4j/util/MessageSupplier;@inner-[{}] failed to finish repository verification
access$000u(Lcom/groupbyinc/flux/repositories/RepositoriesService;Lcom/groupbyinc/flux/cluster/ClusterState;Ljava/lang/String;)V??

x0x1x2
access$100r(Lcom/groupbyinc/flux/repositories/RepositoriesService;Lcom/groupbyinc/flux/cluster/metadata/RepositoryMetaData;)Zr?

access$200Y(Lcom/groupbyinc/flux/repositories/RepositoriesService;)Lorg/apache/logging/log4j/Logger;
access$300
access$400
access$500
access$600
access$900c(Lcom/groupbyinc/flux/repositories/RepositoriesService;)Lcom/groupbyinc/flux/threadpool/ThreadPool;access$1000	SignatureCodeLocalVariableTableLocalVariableTypeTableLineNumberTable
StackMapTable(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/cluster/service/ClusterService;Lcom/groupbyinc/flux/transport/TransportService;Ljava/util/Map;Lcom/groupbyinc/flux/threadpool/ThreadPool;)VRuntimeVisibleAnnotations?(Lcom/groupbyinc/flux/repositories/RepositoriesService$RegisterRepositoryRequest;Lcom/groupbyinc/flux/action/ActionListener;)V?(Lcom/groupbyinc/flux/repositories/RepositoriesService$UnregisterRepositoryRequest;Lcom/groupbyinc/flux/action/ActionListener;)V?(Ljava/lang/String;Lcom/groupbyinc/flux/action/ActionListener;)V
ExceptionsBootstrapMethods
SourceFileInnerClasses!3456789:;B<4=>??@*+?C*?I?K*?M*,?O*?Q+?W?
+?Z?,*?d*?fY+-,*?i?k?>@lm@no@67@pq@34@89@35 &	HBIJKN+O0Q?R!?+\^`"'"#@rs?	I?uY+?y+?|+?~??N+????Y*+?y,??:?,:*?O+???Y*++-?????>*??IlmI??I??5??0?? *??I??0?? ^ab-d0gH?!?-u??$??k*?O+???Y*+,+????? lm?????? 
??%???+*+??N*?Q???*-+,?????
:,??? ?4"??+lm+?w+??%??+?? ?? "*!? ???	&????+?޶?????M+???????N,?-?,?,-???*???+??????
Y?:*?K??:??g? ? :-?-?#?˶&?'*??(?#?+*?.??2??#???.??6W????
Y?:-??-?9?<:???? ?u:???C?:?h?G:		?I?I?J?	?M?M?N?<*??P???+*?2:*?T:?:
*???^
?b?"*?T:?:	*???g	?b?#*??i???+???6W??+*?m?K?M*??o,?r?X`c?z???4??5????
yUsuevw
Yx?	?vw	?????y??z{ ?|{Sw}4??~4?
v??lm?? yUstSw}=??~= ?) 45JS y!?"?#?%?'?)?*?,?-.0102>4O5U6X8`=c9e<w?zA?D?B?C?F?G?H?J?L?O?M?N?P!\?(???-"?* #???"?Tuud??J??$????
??u*?K+?C?M,?,???Y+??? lm?w?? \]^`!?r?W*?K+???C?M,?,?GN-+????*+?TN,?*,?2?
Y*?K??:+??-?6W*?K?>
x?WlmWy?F??,+??B?4B?= 2nopq$s&v,w0x5zB{O|U}!?&?'?/0a%*???+?G?I+?G????+???%lm%?? ??$?'?QR?*???+?I+????*?M+?I?C?M,?,??Y+????Y?????+?I??????????,+??N-??-?N*??+??-?b??Y+???-???Rab?4Z??c ???lm?y?%^?? .??%?)???R?Z?`?b?c?s?!?RO???l+,?Ě+,?Ǚ??Y˷̿? lm???w ???!

?X=??Y?*?I*???԰y? ?
cX9??Y?*???ذy? C
WX9??Y?*???ذy? <??6
j+??:?=*?k,?Y*+,-???8:*?Q???*+,-?????-?	Y?S??????
:-???
$'?\_?H)??T?wa??jlmj??j?wj?? 2??
?$?'?)?D?G?\_ai!$?'?????B?	???-+,???:-??*????b-???
?H?-lm-??-?w-??-?w-?? ??
???$?,?!J?
??6??Y*?ذ?w ?	E*+,?? m
?w 8:*+??m
? 8'?/*???m 8/*???m 8/*???m 8/*???m 8/*???m 8/*?Q?m 8/*???m 8(>?????V[V?VfV?V?V?????VV)*b	
	
			 "#	%'(	*,-	/12




© 2015 - 2024 Weber Informatics LLC | Privacy Policy