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

com.groupbyinc.flux.discovery.DiscoveryModule.class Maven / Gradle / Ivy

????4e-com/groupbyinc/flux/discovery/DiscoveryModulejava/lang/ObjectDiscoveryModule.javajava/util/Map$Entry
java/util/MapEntry4com/groupbyinc/flux/common/settings/Setting$Property+com/groupbyinc/flux/common/settings/Setting
Property%java/lang/invoke/MethodHandles$Lookupjava/lang/invoke/MethodHandlesLookupDISCOVERY_TYPE_SETTING-Lcom/groupbyinc/flux/common/settings/Setting;ALcom/groupbyinc/flux/common/settings/Setting; DISCOVERY_HOSTS_PROVIDER_SETTINGWLcom/groupbyinc/flux/common/settings/Setting;>;	discovery)Lcom/groupbyinc/flux/discovery/Discovery;?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/transport/TransportService;Lcom/groupbyinc/flux/common/io/stream/NamedWriteableRegistry;Lcom/groupbyinc/flux/common/network/NetworkService;Lcom/groupbyinc/flux/cluster/service/MasterService;Lcom/groupbyinc/flux/cluster/service/ClusterApplier;Lcom/groupbyinc/flux/common/settings/ClusterSettings;Ljava/util/List;Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationService;)V()V
java/util/ArrayList!
"java/util/HashMap$
%java/util/List'iterator()Ljava/util/Iterator;)*(+,com/groupbyinc/flux/common/settings/Settings-)com/groupbyinc/flux/threadpool/ThreadPool/.com/groupbyinc/flux/transport/TransportService1;com/groupbyinc/flux/common/io/stream/NamedWriteableRegistry31com/groupbyinc/flux/common/network/NetworkService51com/groupbyinc/flux/cluster/service/MasterService72com/groupbyinc/flux/cluster/service/ClusterApplier93com/groupbyinc/flux/common/settings/ClusterSettings;@com/groupbyinc/flux/cluster/routing/allocation/AllocationService=java/util/Collection?java/util/IteratorAhasNext()ZCDBEnext()Ljava/lang/Object;GHBI+com/groupbyinc/flux/plugins/DiscoveryPluginKgetZenHostsProviderst(Lcom/groupbyinc/flux/transport/TransportService;Lcom/groupbyinc/flux/common/network/NetworkService;)Ljava/util/Map;MNLOentrySet()Ljava/util/Set;QR	S"java/lang/invoke/LambdaMetafactoryUmetafactory?(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;WX
VYZ(Ljava/lang/Object;)V\lambda$new$0'(Ljava/util/Map;Ljava/util/Map$Entry;)V^_
`a(Ljava/util/Map$Entry;)Vcaccept.(Ljava/util/Map;)Ljava/util/function/Consumer;efg
java/util/SetiforEach (Ljava/util/function/Consumer;)VkljmgetJoinValidator!()Ljava/util/function/BiConsumer;opLqadd(Ljava/lang/Object;)Zst@u	wgetB(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/Object;yz
{java/util/Optional}	isPresentD
~?yH
~?&(Ljava/lang/Object;)Ljava/lang/Object;y?	?java/util/function/Supplier?"java/lang/IllegalArgumentException?java/lang/StringBuilder?
?Unknown zen hosts provider [?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??java/lang/String?]?toString()Ljava/lang/String;??
??(Ljava/lang/String;)V?
????java/util/Objects?requireNonNull??
??6com/groupbyinc/flux/discovery/zen/UnicastHostsProvider?()Ljava/util/List;?java/util/Collections?	emptyList??
???buildDynamicNodes:()Lcom/groupbyinc/flux/discovery/zen/UnicastHostsProvider;???zen?Hlambda$new$1(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/transport/TransportService;Lcom/groupbyinc/flux/common/io/stream/NamedWriteableRegistry;Lcom/groupbyinc/flux/cluster/service/MasterService;Lcom/groupbyinc/flux/cluster/service/ClusterApplier;Lcom/groupbyinc/flux/common/settings/ClusterSettings;Lcom/groupbyinc/flux/discovery/zen/UnicastHostsProvider;Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationService;Ljava/util/Collection;)Lcom/groupbyinc/flux/discovery/Discovery;??
??+()Lcom/groupbyinc/flux/discovery/Discovery;?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/transport/TransportService;Lcom/groupbyinc/flux/common/io/stream/NamedWriteableRegistry;Lcom/groupbyinc/flux/cluster/service/MasterService;Lcom/groupbyinc/flux/cluster/service/ClusterApplier;Lcom/groupbyinc/flux/common/settings/ClusterSettings;Lcom/groupbyinc/flux/discovery/zen/UnicastHostsProvider;Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationService;Ljava/util/Collection;)Ljava/util/function/Supplier;y??put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;??	?single-node?lambda$new$2?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/transport/TransportService;Lcom/groupbyinc/flux/cluster/service/MasterService;Lcom/groupbyinc/flux/cluster/service/ClusterApplier;)Lcom/groupbyinc/flux/discovery/Discovery;??
???(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/transport/TransportService;Lcom/groupbyinc/flux/cluster/service/MasterService;Lcom/groupbyinc/flux/cluster/service/ClusterApplier;)Ljava/util/function/Supplier;y??getDiscoveryTypes?(Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/transport/TransportService;Lcom/groupbyinc/flux/common/io/stream/NamedWriteableRegistry;Lcom/groupbyinc/flux/cluster/service/MasterService;Lcom/groupbyinc/flux/cluster/service/ClusterApplier;Lcom/groupbyinc/flux/common/settings/ClusterSettings;Lcom/groupbyinc/flux/discovery/zen/UnicastHostsProvider;Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationService;)Ljava/util/Map;??L?lambda$new$3?_
??g	?Unknown discovery type [?getClass()Ljava/lang/Class;??
?*com/groupbyinc/flux/common/logging/Loggers?	getLogger?(Ljava/lang/Class;Lcom/groupbyinc/flux/common/settings/Settings;[Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;??
??using discovery type [{}]?6com/groupbyinc/flux/common/apache/logging/log4j/Logger?info'(Ljava/lang/String;Ljava/lang/Object;)V????'com/groupbyinc/flux/discovery/Discovery?	?
joinValidator{Ljava/util/function/BiConsumer;Ljava/util/function/BiConsumer;plugin-Lcom/groupbyinc/flux/plugins/DiscoveryPlugin;hostsProviderSupplierWLjava/util/function/Supplier;Ljava/util/function/Supplier;
hostsProvider8Lcom/groupbyinc/flux/discovery/zen/UnicastHostsProvider;this/Lcom/groupbyinc/flux/discovery/DiscoveryModule;settings.Lcom/groupbyinc/flux/common/settings/Settings;
threadPool+Lcom/groupbyinc/flux/threadpool/ThreadPool;transportService0Lcom/groupbyinc/flux/transport/TransportService;namedWriteableRegistry=Lcom/groupbyinc/flux/common/io/stream/NamedWriteableRegistry;networkService3Lcom/groupbyinc/flux/common/network/NetworkService;
masterService3Lcom/groupbyinc/flux/cluster/service/MasterService;clusterApplier4Lcom/groupbyinc/flux/cluster/service/ClusterApplier;clusterSettings5Lcom/groupbyinc/flux/common/settings/ClusterSettings;plugins?Ljava/util/List;Ljava/util/List;allocationServiceBLcom/groupbyinc/flux/cluster/routing/allocation/AllocationService;joinValidators?Ljava/util/Collection;>;Ljava/util/Collection;
hostProviderszLjava/util/Map;>;Ljava/util/Map;hostsProviderName(Ljava/util/Optional;Ljava/util/Optional;discoveryTypeskLjava/util/Map;>;
discoveryTypeLjava/lang/String;discoverySupplierHLjava/util/function/Supplier;getDiscoverygetKey"H#getValue%H& Cannot register discovery type [(] twice*entryLjava/util/Map$Entry;8com/groupbyinc/flux/discovery/single/SingleNodeDiscovery.?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/transport/TransportService;Lcom/groupbyinc/flux/cluster/service/MasterService;Lcom/groupbyinc/flux/cluster/service/ClusterApplier;)V0
/1.com/groupbyinc/flux/discovery/zen/ZenDiscovery3unmodifiableCollection.(Ljava/util/Collection;)Ljava/util/Collection;56
?7?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/transport/TransportService;Lcom/groupbyinc/flux/common/io/stream/NamedWriteableRegistry;Lcom/groupbyinc/flux/cluster/service/MasterService;Lcom/groupbyinc/flux/cluster/service/ClusterApplier;Lcom/groupbyinc/flux/common/settings/ClusterSettings;Lcom/groupbyinc/flux/discovery/zen/UnicastHostsProvider;Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationService;Ljava/util/Collection;)V9
4:$Cannot register zen hosts provider [<discovery.type?java/util/function/FunctionAidentity()Ljava/util/function/Function;CDBE	NodeScope6Lcom/groupbyinc/flux/common/settings/Setting$Property;GH	I{(Ljava/lang/String;Ljava/lang/String;Ljava/util/function/Function;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)VK
Ldiscovery.zen.hosts_providerN?
ofNullable((Ljava/lang/Object;)Ljava/util/Optional;QR
~ST((Ljava/lang/String;)Ljava/util/Optional;VapplyXDY	SignatureCodeLocalVariableTableLocalVariableTypeTableLineNumberTable
StackMapTable(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/transport/TransportService;Lcom/groupbyinc/flux/common/io/stream/NamedWriteableRegistry;Lcom/groupbyinc/flux/common/network/NetworkService;Lcom/groupbyinc/flux/cluster/service/MasterService;Lcom/groupbyinc/flux/cluster/service/ClusterApplier;Lcom/groupbyinc/flux/common/settings/ClusterSettings;Ljava/util/List;Lcom/groupbyinc/flux/cluster/routing/allocation/AllocationService;)VBootstrapMethods
SourceFileInnerClasses![[\??*? ?"Y?#:?%Y?&:	?,:

?F?E
?J?L:-?P?T?h?n?r:?
?vW????x+?|?~:

???R
??????:?*??Y??Y?????
????????????????????:?
??:?%Y?&:?+,-
????W?+-????W	?,:?F?8?J?L:,-
??	?T???n??IJ?+?|??:????:?$??Y??Y??ڶ???????????*??+???????*???????]?Y??53???;?????2&???????????????	
??
	?
????
??wK
??g[uM?^RY???;???
	
??wK
??uM _~DF
GH5IPNYO^PhRkSwTU?V?W?Y?Z?[?^?_?bc2dGeXj[kglumzn?p?q?r`?	?.02468:<(>@	B?H??P~?????F.02468:<(>@	~	B??>.02468:<(>@	~	???.02468:<(>@	~	???[a!?\/*??]??_u
?_\?@*+?$+?'???-??Y??Y??)??+?$????+????????]@@,-_fg?i`?
??\T?/Y*+,-?2?]*??	
_b
??\?
?4Y*+,-	?8?;?]f
???	
??	_`a`
^_\?@*+?$+?'???-??Y??Y??=??+?$????+????????]@@,-_JK?M`?>\]	=?Y@??F?Y?JS?M?ػYO???Z?Y?JS?M?x?_:	;<b>[]bd[???[???[???[]?d[PUWcd	
	@




© 2015 - 2025 Weber Informatics LLC | Privacy Policy