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

com.groupbyinc.flux.cluster.ClusterModule.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????4?)com/groupbyinc/flux/cluster/ClusterModule0com/groupbyinc/flux/common/inject/AbstractModuleClusterModule.java/com/groupbyinc/flux/cluster/ClusterState$Custom(com/groupbyinc/flux/cluster/ClusterStateCustomAcom/groupbyinc/flux/common/io/stream/NamedWriteableRegistry$Entry;com/groupbyinc/flux/common/io/stream/NamedWriteableRegistry
Entry?com/groupbyinc/flux/common/xcontent/NamedXContentRegistry$Entry9com/groupbyinc/flux/common/xcontent/NamedXContentRegistry5com/groupbyinc/flux/common/io/stream/Writeable$Reader.com/groupbyinc/flux/common/io/stream/WriteableReader4com/groupbyinc/flux/cluster/metadata/MetaData$Custom-com/groupbyinc/flux/cluster/metadata/MetaData5com/groupbyinc/flux/cluster/SnapshotsInProgress$Entry/com/groupbyinc/flux/cluster/SnapshotsInProgress3com/groupbyinc/flux/cluster/RestoreInProgress$Entry!-com/groupbyinc/flux/cluster/RestoreInProgress#4com/groupbyinc/flux/common/settings/Setting$Property%+com/groupbyinc/flux/common/settings/Setting'Property%java/lang/invoke/MethodHandles$Lookup*java/lang/invoke/MethodHandles,LookupBALANCED_ALLOCATORLjava/lang/String;balanced1SHARDS_ALLOCATOR_TYPE_SETTING-Lcom/groupbyinc/flux/common/settings/Setting;ALcom/groupbyinc/flux/common/settings/Setting;clusterService4Lcom/groupbyinc/flux/cluster/service/ClusterService;indexNameExpressionResolverBLcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver;allocationDecidersKLcom/groupbyinc/flux/cluster/routing/allocation/decider/AllocationDeciders;allocationServiceBLcom/groupbyinc/flux/cluster/routing/allocation/AllocationService;deciderListLjava/util/Collection;bLjava/util/Collection;shardsAllocatorJLcom/groupbyinc/flux/cluster/routing/allocation/allocator/ShardsAllocator;?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/cluster/service/ClusterService;Ljava/util/List;Lcom/groupbyinc/flux/cluster/ClusterInfoService;)V()VCE
F2com/groupbyinc/flux/cluster/service/ClusterServiceHgetClusterSettings7()Lcom/groupbyinc/flux/common/settings/ClusterSettings;JK
ILcreateAllocationDeciders?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/common/settings/ClusterSettings;Ljava/util/List;)Ljava/util/Collection;NO
P>?	RIcom/groupbyinc/flux/cluster/routing/allocation/decider/AllocationDecidersTG(Lcom/groupbyinc/flux/common/settings/Settings;Ljava/util/Collection;)VCV
UW:;	YcreateShardsAllocator?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/common/settings/ClusterSettings;Ljava/util/List;)Lcom/groupbyinc/flux/cluster/routing/allocation/allocator/ShardsAllocator;[\
]AB	_67	a@com/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolverc1(Lcom/groupbyinc/flux/common/settings/Settings;)VCe
df89	h@com/groupbyinc/flux/cluster/routing/allocation/AllocationServicej?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/cluster/routing/allocation/decider/AllocationDeciders;Lcom/groupbyinc/flux/cluster/routing/allocation/allocator/ShardsAllocator;Lcom/groupbyinc/flux/cluster/ClusterInfoService;)VCl
km<=	othis+Lcom/groupbyinc/flux/cluster/ClusterModule;settings.Lcom/groupbyinc/flux/common/settings/Settings;clusterPlugins=Ljava/util/List;Ljava/util/List;clusterInfoService0Lcom/groupbyinc/flux/cluster/ClusterInfoService;getClusterStateCustomSuppliers!(Ljava/util/List;)Ljava/util/Map;java/util/HashMap|
}Fsnapshot_deletions"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;?7com/groupbyinc/flux/cluster/SnapshotDeletionsInProgress?
?F?3()Lcom/groupbyinc/flux/cluster/ClusterState$Custom;?get()Ljava/util/function/Supplier;???
java/util/Map?put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;????restore?'lambda$getClusterStateCustomSuppliers$0??
???	snapshots?'lambda$getClusterStateCustomSuppliers$1??
???java/util/List?iterator()Ljava/util/Iterator;????java/util/Iterator?hasNext()Z????next????)com/groupbyinc/flux/plugins/ClusterPlugin?$getInitialClusterStateCustomSupplier()Ljava/util/Map;????keySet()Ljava/util/Set;????
java/util/Set???java/lang/String?containsKey(Ljava/lang/Object;)Z????java/lang/IllegalStateException?java/lang/StringBuilder?
?Fcustom supplier key [?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??] is registered more than once?toString()Ljava/lang/String;??
??(Ljava/lang/String;)VC?
??putAll(Ljava/util/Map;)V????java/util/Collections?unmodifiableMap (Ljava/util/Map;)Ljava/util/Map;??
??keyinitialCustomSuppliersLjava/util/Map;>;Ljava/util/Map;plugin+Lcom/groupbyinc/flux/plugins/ClusterPlugin;customSuppliergetNamedWriteables()Ljava/util/List;java/util/ArrayList?
?FF(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Ljava/lang/Object;?5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)VC?
 ??e(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/cluster/SnapshotsInProgress;?read9()Lcom/groupbyinc/flux/common/io/stream/Writeable$Reader;???readDiffFrom[(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/cluster/NamedDiff;
 ?registerClusterCustom?(Ljava/util/List;Ljava/lang/String;Lcom/groupbyinc/flux/common/io/stream/Writeable$Reader;Lcom/groupbyinc/flux/common/io/stream/Writeable$Reader;)V
	
$?c(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/cluster/RestoreInProgress;
?
$?
??m(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/cluster/SnapshotDeletionsInProgress;?
??repositories9com/groupbyinc/flux/cluster/metadata/RepositoriesMetaData
?o(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/cluster/metadata/RepositoriesMetaData;!	?
$
?registerMetaDataCustom'
(ingest*)com/groupbyinc/flux/ingest/IngestMetadata,
-?._(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/ingest/IngestMetadata;0?
-3?stored_scripts6)com/groupbyinc/flux/script/ScriptMetaData8
9?:_(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/script/ScriptMetaData;<
?
9??index-graveyardB3com/groupbyinc/flux/cluster/metadata/IndexGraveyardD
E?Fi(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/cluster/metadata/IndexGraveyard;H?
EK?entriesULjava/util/List;getNamedXWriteables%com/groupbyinc/flux/common/ParseFieldQ((Ljava/lang/String;[Ljava/lang/String;)VCS
RT&(Ljava/lang/Object;)Ljava/lang/Object;VfromXContentq(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/cluster/metadata/RepositoriesMetaData;XY
Z[l(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/cluster/metadata/MetaData$Custom;]apply.()Lcom/groupbyinc/flux/common/CheckedFunction;_`ag(Ljava/lang/Class;Lcom/groupbyinc/flux/common/ParseField;Lcom/groupbyinc/flux/common/CheckedFunction;)VCc
daddf??ga(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/ingest/IngestMetadata;Xi
-jkaa(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/script/ScriptMetaData;Xn
9opak(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/cluster/metadata/IndexGraveyard;Xs
EtuaSLjava/util/List;registerCustom?(Ljava/util/List;Ljava/lang/Class;Ljava/lang/String;Lcom/groupbyinc/flux/common/io/stream/Writeable$Reader;Lcom/groupbyinc/flux/common/io/stream/Writeable$Reader;)Vyz
{namereader=Lcom/groupbyinc/flux/common/io/stream/Writeable$Reader<+TT;>;7Lcom/groupbyinc/flux/common/io/stream/Writeable$Reader;
diffReader`Lcom/groupbyinc/flux/common/io/stream/Writeable$Reader;](Ljava/lang/Class;Ljava/lang/String;Lcom/groupbyinc/flux/common/io/stream/Writeable$Reader;)VC?
?%com/groupbyinc/flux/cluster/NamedDiff?categoryLjava/lang/Class;Ljava/lang/Class;getIndexNameExpressionResolverD()Lcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver;java/util/LinkedHashMap?
?FPcom/groupbyinc/flux/cluster/routing/allocation/decider/MaxRetryAllocationDecider?
?faddAllocationDecider\(Ljava/util/Map;Lcom/groupbyinc/flux/cluster/routing/allocation/decider/AllocationDecider;)V??
?acom/groupbyinc/flux/cluster/routing/allocation/decider/ReplicaAfterPrimaryActiveAllocationDecider?
?f_com/groupbyinc/flux/cluster/routing/allocation/decider/RebalanceOnlyWhenActiveAllocationDecider?
?fXcom/groupbyinc/flux/cluster/routing/allocation/decider/ClusterRebalanceAllocationDecider?f(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/common/settings/ClusterSettings;)VC?
??[com/groupbyinc/flux/cluster/routing/allocation/decider/ConcurrentRebalanceAllocationDecider?
??Ncom/groupbyinc/flux/cluster/routing/allocation/decider/EnableAllocationDecider?
??Scom/groupbyinc/flux/cluster/routing/allocation/decider/NodeVersionAllocationDecider?
?fZcom/groupbyinc/flux/cluster/routing/allocation/decider/SnapshotInProgressAllocationDecider?
?fNcom/groupbyinc/flux/cluster/routing/allocation/decider/FilterAllocationDecider?
??Qcom/groupbyinc/flux/cluster/routing/allocation/decider/SameShardAllocationDecider?
??Kcom/groupbyinc/flux/cluster/routing/allocation/decider/DiskThresholdDecider?
??Rcom/groupbyinc/flux/cluster/routing/allocation/decider/ThrottlingAllocationDecider?
??Scom/groupbyinc/flux/cluster/routing/allocation/decider/ShardsLimitAllocationDecider?
??Qcom/groupbyinc/flux/cluster/routing/allocation/decider/AwarenessAllocationDecider?
??stream()Ljava/util/stream/Stream;????!lambda$createAllocationDeciders$2?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/common/settings/ClusterSettings;Lcom/groupbyinc/flux/plugins/ClusterPlugin;)Ljava/util/stream/Stream;??
??F(Lcom/groupbyinc/flux/plugins/ClusterPlugin;)Ljava/util/stream/Stream;??(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/common/settings/ClusterSettings;)Ljava/util/function/Function;_??java/util/stream/Stream?flatMap8(Ljava/util/function/Function;)Ljava/util/stream/Stream;????(Ljava/lang/Object;)V?!lambda$createAllocationDeciders$3??
??M(Lcom/groupbyinc/flux/cluster/routing/allocation/decider/AllocationDecider;)V?accept.(Ljava/util/Map;)Ljava/util/function/Consumer;???forEach (Ljava/util/function/Consumer;)V????values()Ljava/util/Collection;????clusterSettings5Lcom/groupbyinc/flux/common/settings/ClusterSettings;deciderslLjava/util/Map;java/lang/Object?getClass()Ljava/lang/Class;??
??"java/lang/IllegalArgumentException?#Cannot specify allocation decider [?java/lang/Class?getName??
??] twice?
??deciderJLcom/groupbyinc/flux/cluster/routing/allocation/decider/AllocationDecider;lambda$createShardsAllocator$4?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/common/settings/ClusterSettings;)Lcom/groupbyinc/flux/cluster/routing/allocation/allocator/ShardsAllocator;
L()Lcom/groupbyinc/flux/cluster/routing/allocation/allocator/ShardsAllocator;?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/common/settings/ClusterSettings;)Ljava/util/function/Supplier;?getShardsAllocatorst(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/common/settings/ClusterSettings;)Ljava/util/Map;
?'(Ljava/lang/Object;Ljava/lang/Object;)Vlambda$createShardsAllocator$5A(Ljava/util/Map;Ljava/lang/String;Ljava/util/function/Supplier;)V
2(Ljava/lang/String;Ljava/util/function/Supplier;)V0(Ljava/util/Map;)Ljava/util/function/BiConsumer;?"(Ljava/util/function/BiConsumer;)V??34	B(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/Object;?
( ?V?"java/util/function/Supplier$Unknown ShardsAllocator [&](??%*ShardsAllocator factory for [,] returned null.java/util/Objects0requireNonNull8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;23
14Hcom/groupbyinc/flux/cluster/routing/allocation/allocator/ShardsAllocator6
allocators?Ljava/util/Map;>;
allocatorNameallocatorSupplieriLjava/util/function/Supplier;Ljava/util/function/Supplier;getAllocationServiceD()Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationService;	configure,com/groupbyinc/flux/gateway/GatewayAllocatorAbindU(Ljava/lang/Class;)Lcom/groupbyinc/flux/common/inject/binder/AnnotatedBindingBuilder;CD
E@com/groupbyinc/flux/common/inject/binder/AnnotatedBindingBuilderGasEagerSingletonIEHJ
toInstanceL?HM2com/groupbyinc/flux/cluster/NodeConnectionsServiceO?com/groupbyinc/flux/cluster/metadata/MetaDataCreateIndexServiceQ?com/groupbyinc/flux/cluster/metadata/MetaDataDeleteIndexServiceS>com/groupbyinc/flux/cluster/metadata/MetaDataIndexStateServiceU;com/groupbyinc/flux/cluster/metadata/MetaDataMappingServiceW@com/groupbyinc/flux/cluster/metadata/MetaDataIndexAliasesServiceYBcom/groupbyinc/flux/cluster/metadata/MetaDataUpdateSettingsService[Acom/groupbyinc/flux/cluster/metadata/MetaDataIndexTemplateService]2com/groupbyinc/flux/cluster/routing/RoutingService_cluster.routing.allocation.type?java/util/function/Function?identity()Ljava/util/function/Function;????	NodeScope6Lcom/groupbyinc/flux/common/settings/Setting$Property;??	&?{(Ljava/lang/String;Ljava/lang/String;Ljava/util/function/Function;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)VC?
(?
ConstantValue	SignatureCodeLocalVariableTableLocalVariableTypeTableLineNumberTable?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/cluster/service/ClusterService;Ljava/util/List;Lcom/groupbyinc/flux/cluster/ClusterInfoService;)V
StackMapTable?(Ljava/util/List;)Ljava/util/Map;>;W()Ljava/util/List;U()Ljava/util/List;=(Ljava/util/List;Ljava/lang/String;Lcom/groupbyinc/flux/common/io/stream/Writeable$Reader<+TT;>;Lcom/groupbyinc/flux/common/io/stream/Writeable$Reader;)VB(Ljava/util/List;Ljava/lang/String;Lcom/groupbyinc/flux/common/io/stream/Writeable$Reader<+TT;>;Lcom/groupbyinc/flux/common/io/stream/Writeable$Reader;)VW(Ljava/util/List;Ljava/lang/Class;Ljava/lang/String;Lcom/groupbyinc/flux/common/io/stream/Writeable$Reader<+TT;>;Lcom/groupbyinc/flux/common/io/stream/Writeable$Reader;)V(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/common/settings/ClusterSettings;Ljava/util/List;)Ljava/util/Collection;?(Ljava/util/Map;Lcom/groupbyinc/flux/cluster/routing/allocation/decider/AllocationDecider;)V?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/common/settings/ClusterSettings;Ljava/util/List;)Lcom/groupbyinc/flux/cluster/routing/allocation/allocator/ShardsAllocator;BootstrapMethods
SourceFileInnerClasses!/0?234?56789:;<=>??@ABCD??V*?G*+,?M-?Q?S*?UY+*?S?X?Z*+,?M-?^?`*,?b*?dY+?g?i*?kY+*?Z*?`?n?p??4VqrVstV67VuwVxy?Vuv?"ghi!j.k3l?mUn??	z{????}Y?~L+?????W+?????W+?????W*??M,???s,????N-??:????:???>????:+???$??Y??Y??ж???ֶԶڷݿ???+?????+???4x,?0T[??Lc???uw???? T[???uv????6
qrs$t2uLvTwxx?y?{?|?}?~? ?9???(????A??
??	????~??Y??K*?????
*????
*????
*?#?&?)*+?2?5?)*7?>?A?)*C?J?M?)*??vNw?vNO?&	???(?8?I?Z?k?|???	P??????Y??K*?Y?RY?ŷU?b?e?hW*?Y?RY+?ŷU?m?e?hW*?Y?RY7?ŷU?r?e?hW*?Y?RYC?ŷU?w?e?hW*???Nw??Nx???+?N?q?????
?|
*+,-?|??*
Nw
}0
~?
??? 
NO
~
???
?	???
'?|
*+,-?|??*
Nw
}0
~?
??? 
NO
~
???
?	???
yz??&*?Y+,-???hW*?Y?,???hW??4&Nw&??&}0&~?&???*&NO&??&~&?????%??????/*?i??qr??	NO??ݻ?Y??N-??Y*????-??Y*????-??Y*????-??Y*+????-??Y*+????-??Y*+????-??Y*????-??Y*????-??Y*+????-??Y*+????-??Y*+????-??Y*+????-??Y*+????-??Y*+????,??*+????-????-????*?st????uw?????uv????N??? ?,?9?F?S?_?k?x???????????????????
????7*+??+???+??Y??Y?????+???????Զڷ????7??7???7?????6??6??
[\????}Y?~N-2*+?	??W,??:???&????:*+?
-????ֲ*?!??:-?#?%:?&??Y??Y??'????)?Զڷ???+??Y??-????/?Զڸ5?7??H6???st????uw?8?Y^:0fQ;=? ?uv?89fQ;<?*
???6?J?M?Y?f?k????? ???,?@?%??>??/*?p??qr??@E?{*B?F?K*k?F*?p?N*I?F*?b?N*P?F?K*R?F?K*T?F?K*V?F?K*X?F?K*Z?F?K*\?F?K*^?F?K*d?F*?i?N*`?F?K*b?F?K*d?F?K*f?F?K*h?F?K*j?F?K*U?F*?Z?N*7?F*?`?N??qr?V???*?6?B?N?Z?f?r?~???????????????
?}.*+,???%??Y??Y??l??+??n?Զڷ???? .8?.o0.p=???-??-
?>
?rY*+?s??
st
????
???:*+??????t???
???L,*+?w?z?? st??{???
???$? Y??~??t
???$?$Y?"????s?E?=	?(Y?2???&Y??S?????[	\[?????????????????????????????? "??%??/1??4??;=??@??GI??L?W\^?Wl^?Wq^?Wv^?W???????????J		
				
	 	"$	&()@+-.




© 2015 - 2024 Weber Informatics LLC | Privacy Policy