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

com.groupbyinc.flux.gateway.MetaStateService.class Maven / Gradle / Ivy

There is a newer version: 59
Show newest version
????3-,com/groupbyinc/flux/gateway/MetaStateService6com/groupbyinc/flux/common/component/AbstractComponentMetaStateService.java.com/groupbyinc/flux/gateway/MetaStateService$2.com/groupbyinc/flux/gateway/MetaStateService$15com/groupbyinc/flux/common/xcontent/ToXContent$Params
.com/groupbyinc/flux/common/xcontent/ToXContentParams5com/groupbyinc/flux/cluster/metadata/MetaData$Builder-com/groupbyinc/flux/cluster/metadata/MetaDataBuilder8com/groupbyinc/flux/common/xcontent/ToXContent$MapParams	MapParamsFORMAT_SETTINGLjava/lang/String;gateway.formatGLOBAL_STATE_FILE_PREFIXglobal-INDEX_STATE_FILE_PREFIXstate-nodeEnv)Lcom/groupbyinc/flux/env/NodeEnvironment;format2Lcom/groupbyinc/flux/common/xcontent/XContentType;formatParams7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;gatewayModeFormatParamsindexStateFormat1Lcom/groupbyinc/flux/gateway/MetaDataStateFormat;gLcom/groupbyinc/flux/gateway/MetaDataStateFormat;globalStateFormatbLcom/groupbyinc/flux/gateway/MetaDataStateFormat;Z(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/env/NodeEnvironment;)V*Lcom/groupbyinc/flux/common/inject/Inject;1(Lcom/groupbyinc/flux/common/settings/Settings;)V-0
1!"	3smile5,com/groupbyinc/flux/common/settings/Settings7get8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;9:
8;0com/groupbyinc/flux/common/xcontent/XContentType=fromRestContentTypeF(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentType;?@
>A#$	CSMILEE$	>F5com/groupbyinc/flux/common/google/common/collect/MapsH
newHashMap()Ljava/util/HashMap;JK
ILbinaryNtrueP
java/util/MapRput8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;TUSV(Ljava/util/Map;)V-X
Y%&	[context_mode]CONTEXT_MODE_GATEWAY_	`'&	b'com/groupbyinc/flux/env/NodeEnvironmentdEMPTY_PARAMSf&	
g?(Lcom/groupbyinc/flux/common/xcontent/XContentType;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/gateway/MetaDataStateFormat;(i
j()	l+i
n+)	pparams5Ljava/util/Map;Ljava/util/Map;gatewayModeParamsthis.Lcom/groupbyinc/flux/gateway/MetaStateService;settings.Lcom/groupbyinc/flux/common/settings/Settings;
loadFullState1()Lcom/groupbyinc/flux/cluster/metadata/MetaData;java/lang/Exception|loadGlobalState~{
builderh(Lcom/groupbyinc/flux/cluster/metadata/MetaData;)Lcom/groupbyinc/flux/cluster/metadata/MetaData$Builder;??
?9()Lcom/groupbyinc/flux/cluster/metadata/MetaData$Builder;??
?findAllIndices()Ljava/util/Set;??
e?
java/util/Set?iterator()Ljava/util/Iterator;????java/util/Iterator?hasNext()Z????next()Ljava/lang/Object;????java/lang/String?loadIndexStateH(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;??
?logger-Lcom/groupbyinc/flux/common/logging/ESLogger;??	?8[{}] failed to find metadata for existing index location?java/lang/Object?+com/groupbyinc/flux/common/logging/ESLogger?debug((Ljava/lang/String;[Ljava/lang/Object;)V????2com/groupbyinc/flux/cluster/metadata/IndexMetaData?n(Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;Z)Lcom/groupbyinc/flux/cluster/metadata/MetaData$Builder;T?
?build?{
?metaDataBuilder7Lcom/groupbyinc/flux/cluster/metadata/MetaData$Builder;
indexMetaData4Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;indexglobalMetaData/Lcom/groupbyinc/flux/cluster/metadata/MetaData;indices#Ljava/util/Set;Ljava/util/Set;java/io/IOException?%Lcom/groupbyinc/flux/common/Nullable;com/groupbyinc/flux/index/Index?(Ljava/lang/String;)V-?
??
indexPaths8(Lcom/groupbyinc/flux/index/Index;)[Ljava/nio/file/Path;??
e?/com/groupbyinc/flux/gateway/MetaDataStateFormat?loadLatestStateV(Lcom/groupbyinc/flux/common/logging/ESLogger;[Ljava/nio/file/Path;)Ljava/lang/Object;??
??
nodeDataPaths()[Ljava/nio/file/Path;??
e?addDefaultUnitsIfNeeded?(Lcom/groupbyinc/flux/common/logging/ESLogger;Lcom/groupbyinc/flux/cluster/metadata/MetaData;)Lcom/groupbyinc/flux/cluster/metadata/MetaData;??
?globalState
writeIndex}(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;)Vjava/lang/Throwable?[{}] writing state, reason [{}]?getIndex()Ljava/lang/String;??
??trace????
getVersion()J??
??write+(Ljava/lang/Object;J[Ljava/nio/file/Path;)V??
??![{}]: failed to write index state?warn=(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V????java/lang/StringBuilder?()V-?
??failed to write state for [?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;?
?]toString?
?*(Ljava/lang/String;Ljava/lang/Throwable;)V-
?	exLjava/lang/Throwable;reasonpreviousIndexMetaDatawriteGlobalStateD(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/metadata/MetaData;)V$[_global] writing state, reason [{}]version?
'[_global]: failed to write global statefailed to write global statemetaData~(Lcom/groupbyinc/flux/common/xcontent/XContentType;Ljava/lang/String;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)V-
	

ConstantValue	SignatureCodeLocalVariableTableLocalVariableTypeTableLineNumberTable
StackMapTableRuntimeVisibleAnnotations
Exceptions"RuntimeVisibleParameterAnnotations?(Lcom/groupbyinc/flux/common/xcontent/XContentType;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/gateway/MetaDataStateFormat;?(Lcom/groupbyinc/flux/common/xcontent/XContentType;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/gateway/MetaDataStateFormat;
SourceFileInnerClasses!	 !"#$%&'&() *+) ,-.!??*+?2*,?4*+6?'BrtC&utwut?vw?xy?!"# 'BrsC&uswus$N<=
>?#@'A2B>CCDOE\FiGlHsIwJ?K?M?N?P%?l8e"&/z{!?o*??L+?+??M???M*?4??N-??:???>????:*??:?*?????YS???,??W???,???"H??C$??;,?ovwj??Z??R??#R??$2WY	Z\_`;aCbHc_eggjh%&??????9????'}??!R*?m*??*?4??Y+?ɶͶ????"vw?$p'?&?~{!s%*?q*??*?4?׶??L+?*??+?۰?"%vw??$wz{#}%?#'???!|*?????Y,??SY+S??*?m,,??*?4??Y,??ɶͶ?C:*?????Y,??S????Y??Y????,?????
??8;?"4=>|vw|
|??|?$&	??,?5?8?;?=?U?{?%{??'}(?!?I*????Y+S??*?q,,?*?4?׶?!N*??-??????Y-?
??'*?"*+IvwI
I?$??'?*?+?<?H?%j?'}+i!@?	Y*+??"#$%&$? )(i!@?Y* +??"#$%&$? *+,*	
		
	




© 2015 - 2025 Weber Informatics LLC | Privacy Policy