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
????44com/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!Entry4com/groupbyinc/flux/cluster/metadata/MetaData$Custom$-com/groupbyinc/flux/cluster/metadata/MetaData&Custom%java/lang/invoke/MethodHandles$Lookup)java/lang/invoke/MethodHandles+Lookup
typesRegistryLjava/util/Map;XLjava/util/Map;clusterService4Lcom/groupbyinc/flux/cluster/service/ClusterService;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;)V*Lcom/groupbyinc/flux/common/inject/Inject;1(Lcom/groupbyinc/flux/common/settings/Settings;)V7:
;java/util/Collections=emptyMap()Ljava/util/Map;?@
>A5/	C./	E12	G.com/groupbyinc/flux/cluster/node/DiscoveryNodeI
isDataNode1(Lcom/groupbyinc/flux/common/settings/Settings;)ZKL
JMisMasterNodeOL
JP,com/groupbyinc/flux/common/settings/SettingsR2com/groupbyinc/flux/cluster/service/ClusterServiceT.com/groupbyinc/flux/transport/TransportServiceVaddStateApplier4(Lcom/groupbyinc/flux/cluster/ClusterStateApplier;)VXY
UZ;com/groupbyinc/flux/repositories/VerifyNodeRepositoryAction\?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/transport/TransportService;Lcom/groupbyinc/flux/cluster/service/ClusterService;Lcom/groupbyinc/flux/repositories/RepositoriesService;)V7^
]_34	athis6Lcom/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/RepositoryMetaDataknameLjava/lang/String;mn	otypeqn	ref	tU(Ljava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/common/settings/Settings;)V7v
lwverifyZyz	{v(Lcom/groupbyinc/flux/repositories/RepositoriesService;Ljava/lang/String;Lcom/groupbyinc/flux/action/ActionListener;)V7}
~)com/groupbyinc/flux/action/ActionListener?cause?n	?(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7?
?submitStateUpdateTaskI(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/ClusterStateTaskConfig;)V??
U?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7?
?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;??
?startVerification()Ljava/lang/String;????(Lcom/groupbyinc/flux/repositories/RepositoriesService;Lcom/groupbyinc/flux/repositories/Repository;Ljava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/action/ActionListener;)V7?
?R(Ljava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/action/ActionListener;)Vy?
]?java/lang/String?endVerification(Ljava/lang/String;)V???
addSuppressed(Ljava/lang/Throwable;)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;??
???()Ljava/lang/Object;?lambda$verifyRepository$0&(Ljava/lang/String;)Ljava/lang/Object;??
??get<(Ljava/lang/String;)Lorg/apache/logging/log4j/util/Supplier;???org/apache/logging/log4j/Logger?warn@(Lorg/apache/logging/log4j/util/Supplier;Ljava/lang/Throwable;)V????	onFailure(Ljava/lang/Exception;)V????4com/groupbyinc/flux/repositories/VerificationFailure?k([Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;[Lcom/groupbyinc/flux/repositories/VerificationFailure;)V7?
	?
onResponse(Ljava/lang/Object;)V????innerLjava/lang/Exception;everificationTokenrepositoryNamerLcom/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;??
??5customJ(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/metadata/MetaData$Custom;??
'?9com/groupbyinc/flux/cluster/metadata/RepositoriesMetaData?state??
??equals(Ljava/lang/Object;)Z
?8processing new index repositories for state version [{}]version()J
?	java/lang/LongvalueOf(J)Ljava/lang/Long;

trace'(Ljava/lang/String;Ljava/lang/Object;)V?java/util/HashMap()V7
entrySet()Ljava/util/Set;"
java/util/Setiterator()Ljava/util/Iterator; !"java/util/Iterator$hasNext()Z&'%(next*?%+getKey-? .M(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/metadata/RepositoryMetaData;?0
?1unregistering repository [{}]3debug5?6getValue8? 9closeRepository0(Lcom/groupbyinc/flux/repositories/Repository;)V;<
=put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;?@"A()Ljava/util/List;5C
?Djava/util/ListFG"m?
lI&(Ljava/lang/Object;)Ljava/lang/Object;?K"LgetMetadata;()Lcom/groupbyinc/flux/cluster/metadata/RepositoryMetaData;NOPq?
lR
?0()Lcom/groupbyinc/flux/common/settings/Settings;eU
lV
Supdating repository [{}]YcreateRepositoryh(Lcom/groupbyinc/flux/cluster/metadata/RepositoryMetaData;)Lcom/groupbyinc/flux/repositories/Repository;[\
]lambda$applyClusterState$1M(Lcom/groupbyinc/flux/cluster/metadata/RepositoryMetaData;)Ljava/lang/Object;_`
abc(Lcom/groupbyinc/flux/cluster/metadata/RepositoryMetaData;)Lorg/apache/logging/log4j/util/Supplier;?delambda$applyClusterState$2g`
hieregistering repository [{}]lunmodifiableMap (Ljava/util/Map;)Ljava/util/Map;no
>pfailure updating cluster state r*(Ljava/lang/String;Ljava/lang/Throwable;)V?t?uentryVLjava/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?7?
??<(Lcom/groupbyinc/flux/cluster/metadata/RepositoryMetaData;)Zjava/io/IOException?(Ljava/util/Map;)V7?
?previousnewReponewRepositoriesclosing repository [{}][{}]?9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V5???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7?
??create?\?start??lambda$createRepository$3?`
??efailed to create repository?<(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V7?
??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 [{}][{}]?7?
?? failed to create repository [{}]?7
?? failed to change repository [{}]?-[{}] 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i?
?
access$200Y(Lcom/groupbyinc/flux/repositories/RepositoriesService;)Lorg/apache/logging/log4j/Logger;
access$300
access$400
access$500
access$600
access$700	SignatureCodeLocalVariableTableLocalVariableTypeTableLineNumberTable
StackMapTable?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/cluster/service/ClusterService;Lcom/groupbyinc/flux/transport/TransportService;Ljava/util/Map;)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!./?01234B5/?678??:*+?<*?B?D*?F*,?H+?N?
+?Q?,*?[*?]Y+-,*?`?b??4:cd:ef:12:gh:./?:.0?"E@FGJ%K*M9N??%SUW"???9ij??	I?lY+?p+?s+?u?xN+?|??Y*+?p,?:?,:*?H+???Y*++-??????>*??IcdI??I??5??0??? *??I??0???Z]^-`0cH???-l???????k*?H+???Y*+,+?????? cd????????
????????
?*+??N-??:?O*?b+?Y*-+,?????J:-???:??*??+????,???,?	Y?J?ط۹??
:,???*-?/7:?tw??R<??/-??f?ny???cd??n???|???????J????*?-?/?7?:?<?C?T?\?_?t?w?y????C?-???????????
?B?	???????+????????M+????????N,?-?,?,-???*??+??
???Y?:*?D??#:?)?a?,? :-?-?/???2?'*??4?/?7*?:??>??/?:?BW????Y?:-??-?E?H:?)???,?l:?J?M?:?h?Q:		?S?S?T?	?W?W?X?<*??Z?J?7*?>:*?^:?:
*???f
???"*?^:?:	*???k	???#*??m?J?7?J?BW??+*?q?D?M*??s,?v?S[^?u}??4??5?????
zOwy`z{
Y|?	?z{	?????}??~ ??Tq?/???/?
z??cd???? zOwxTq?6???6??) 45K
Tz???????? +!9#J$P%S'[,^(`+r.u0}3?1?2?5?6?7?9?;?>?<?=???\?(???."%?* #???"%?Tlld??J??$????
???u*?D+?M?M,?,???Y+???? cd?n???KLMO??i??k*?D+?J?M?M,?(,?QN-?S+?S?T?-?W+?W?X??*+?^N,?*,?>?Y*?D??:+?J-?BW*?D??>|?kcdk}?Z??@+??V?/?V?6?2]^_`8b:e@fDgIiVjckil??:???;<?a%*???+?Q?S+?Q?J??+????%cd%???qr$s??[\??*???+?S+?J??*?F+?S?M?M,?,??Y+?J??Y?????+?S??????????,+??N-??-?N*??+??-????Y+?J?-???Rab??4Z??c ???cd?}?%^???.yz%{)|?}R?Z?`?b?c?s???RO????l+,?ƚ+,?ə??Yͷο?? cd???n?????

?`?=??Y?*?S*?J?ְ?}???
g`?9??Y?*?J?ڰ?}??2
_`?9??Y?*?J?ڰ?}??+
???6??Y?*?ڰ??n?????E*+,??? ?d???n?8???:*+????d???8?????/*?????d?8???/*?????d?8???/*?????d?8???/*?????d?8???/*?????d?8???/*?????d?8?*??????c???j???????Z	
	
			 "#	%'(	*,-




© 2015 - 2024 Weber Informatics LLC | Privacy Policy