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

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

There is a newer version: 198
Show newest version
????4?-com/groupbyinc/flux/discovery/DiscoveryModulejava/lang/ObjectDiscoveryModule.javajava/util/Map$Entry
java/util/MapEntryDcom/groupbyinc/flux/discovery/zen/UnicastHostsProvider$HostsResolver6com/groupbyinc/flux/discovery/zen/UnicastHostsProvider

HostsResolver4com/groupbyinc/flux/common/settings/Setting$Property+com/groupbyinc/flux/common/settings/SettingProperty%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_SETTINGSLcom/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)
*$settings,"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;01
/23()Ljava/lang/Object;5lambda$new$0?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/transport/TransportService;)Lcom/groupbyinc/flux/discovery/zen/UnicastHostsProvider;78
9::()Lcom/groupbyinc/flux/discovery/zen/UnicastHostsProvider;<get}(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/transport/TransportService;)Ljava/util/function/Supplier;>?@put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;BC	Djava/util/ListFiterator()Ljava/util/Iterator;HIGJ,com/groupbyinc/flux/common/settings/SettingsL)com/groupbyinc/flux/threadpool/ThreadPoolN.com/groupbyinc/flux/transport/TransportServiceP;com/groupbyinc/flux/common/io/stream/NamedWriteableRegistryR1com/groupbyinc/flux/common/network/NetworkServiceT1com/groupbyinc/flux/cluster/service/MasterServiceV2com/groupbyinc/flux/cluster/service/ClusterApplierX3com/groupbyinc/flux/common/settings/ClusterSettingsZ@com/groupbyinc/flux/cluster/routing/allocation/AllocationService\java/util/Collection^java/util/Iterator`hasNext()Zbcadnextf5ag+com/groupbyinc/flux/plugins/DiscoveryPluginigetZenHostsProviderst(Lcom/groupbyinc/flux/transport/TransportService;Lcom/groupbyinc/flux/common/network/NetworkService;)Ljava/util/Map;kljmentrySet()Ljava/util/Set;op	q(Ljava/lang/Object;)Vslambda$new$1'(Ljava/util/Map;Ljava/util/Map$Entry;)Vuv
wx(Ljava/util/Map$Entry;)Vzaccept.(Ljava/util/Map;)Ljava/util/function/Consumer;|}~
java/util/Set?forEach (Ljava/util/function/Consumer;)V????getJoinValidator!()Ljava/util/function/BiConsumer;??j?add(Ljava/lang/Object;)Z??_?	?B(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/Object;>?
?contains??G?G?addAll(Ljava/util/Collection;)Z??G?java/util/HashSet?(Ljava/util/Collection;)V!?
??keySet?p	?	removeAll????isEmpty?c??"java/lang/IllegalArgumentException?java/lang/StringBuilder?
?$Unknown zen hosts providers ?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??-(Ljava/lang/Object;)Ljava/lang/StringBuilder;??
??toString()Ljava/lang/String;??
??(Ljava/lang/String;)V!?
??stream()Ljava/util/stream/Stream;??G?java/util/Objects?requireNonNull&(Ljava/lang/Object;)Ljava/lang/Object;??
???>?	?	?1(Ljava/lang/String;)Ljava/util/function/Supplier;?apply.(Ljava/util/Map;)Ljava/util/function/Function;???java/util/stream/Stream?map8(Ljava/util/function/Function;)Ljava/util/stream/Stream;????java/util/function/Supplier?>5??	?W(Ljava/util/function/Supplier;)Lcom/groupbyinc/flux/discovery/zen/UnicastHostsProvider;?()Ljava/util/function/Function;???java/util/stream/Collectors?toList()Ljava/util/stream/Collector;??
??collect0(Ljava/util/stream/Collector;)Ljava/lang/Object;????X(Lcom/groupbyinc/flux/discovery/zen/UnicastHostsProvider$HostsResolver;)Ljava/util/List;?lambda$new$2h(Ljava/util/List;Lcom/groupbyinc/flux/discovery/zen/UnicastHostsProvider$HostsResolver;)Ljava/util/List;??
??buildDynamicHostsJ(Ljava/util/List;)Lcom/groupbyinc/flux/discovery/zen/UnicastHostsProvider;???zen?lambda$new$3(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;>single-nodelambda$new$4?(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;>
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;
jlambda$new$5v
~	java/lang/StringUnknown discovery type []getClass()Ljava/lang/Class;
 *com/groupbyinc/flux/common/logging/Loggers"	getLoggeru(Ljava/lang/Class;Lcom/groupbyinc/flux/common/settings/Settings;[Ljava/lang/String;)Lorg/apache/logging/log4j/Logger;$%
#&using discovery type [{}](org/apache/logging/log4j/Logger*info'(Ljava/lang/String;Ljava/lang/Object;)V,-+.'com/groupbyinc/flux/discovery/Discovery0 	2
joinValidator{Ljava/util/function/BiConsumer;Ljava/util/function/BiConsumer;plugin-Lcom/groupbyinc/flux/plugins/DiscoveryPlugin;extendedHostsProviderNames$Ljava/util/List;Ljava/util/List;this/Lcom/groupbyinc/flux/discovery/DiscoveryModule;.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;allocationServiceBLcom/groupbyinc/flux/cluster/routing/allocation/AllocationService;joinValidators?Ljava/util/Collection;>;Ljava/util/Collection;
hostProviderszLjava/util/Map;>;Ljava/util/Map;hostsProviderNamesmissingProviderNames#Ljava/util/Set;Ljava/util/Set;filteredHostsProvidersJLjava/util/List;
hostsProvider8Lcom/groupbyinc/flux/discovery/zen/UnicastHostsProvider;discoveryTypeskLjava/util/Map;>;
discoveryTypeLjava/lang/String;discoverySupplierHLjava/util/function/Supplier;Ljava/util/function/Supplier;getDiscoverygetKeyg5hgetValuej5k Cannot register discovery type [m] twiceoentryLjava/util/Map$Entry;8com/groupbyinc/flux/discovery/single/SingleNodeDiscoverys?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/transport/TransportService;Lcom/groupbyinc/flux/cluster/service/MasterService;Lcom/groupbyinc/flux/cluster/service/ClusterApplier;)V!u
tv.com/groupbyinc/flux/discovery/zen/ZenDiscoveryxjava/util/CollectionszunmodifiableCollection.(Ljava/util/Collection;)Ljava/util/Collection;|}
{~?(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!?
y????unmodifiableList"(Ljava/util/List;)Ljava/util/List;??
{?provider
hostsResolverFLcom/groupbyinc/flux/discovery/zen/UnicastHostsProvider$HostsResolver;	addressesILjava/util/List;$Cannot register zen hosts provider [?discovery.type?java/util/function/Function?identity????	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!?
?discovery.zen.hosts_provider?	emptyList()Ljava/util/List;??
{?listSetting?(Ljava/lang/String;Ljava/util/List;Ljava/util/function/Function;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting;??
?	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?+:-+-?A?EW	?K:

?e?E
?h?j:-?n?r?????:?
??W?????+???G:

-???$?'Y?(:-??W
??W:
??Y
??:????W?????Y??Y????????????
??Y??W????????????G:??:?*Y?+:?+,-
??EW+-??EW	?K:?e?8?h?j:,-
?	?r?????IJ+???:????:?&??Y??Y?????????????*?!+??')?/*???1???1?3???j46F378?9;?&78!<=!,>!?@!AB!CD!EF!GH!IJ!KL!M;	!OP

QSTV??W;
?aXZ$?[;-?]^6?_V?aab?Sce?f
j45?9:!MN	
QRTU??W:
?aXY$?[\6?_`?Scd??%HI
JK'LFMaRjSoTyV|W?Y?Z?[?\?]?`?a?b?c?f?g$i-q6rVulv?w?x?}?~???????? ????0MOQSUWY[G]_	a?H??8G????MOQSUWY[G]_	G?G	a?>?A???f??/*?3??<=??
v??F*+?i?+?l?ٹE?-??Y??Y??n??+?i???p?????????F_VFqr?yzE|??E
?T?tY*+,-?w??*,>ABGHIJ?u
????
?yY*+,-	?????f
,>?@ABCDGHIJKL]^OPQS	?sts
????:?'Y?(M*?KN-?e? -?h?:,+????W???,????*#?^:[;:??2?;?2???jk#l2m5n??Ga?%
uv??F*+?i?+?l?ٹE?-??Y??Y?????+?i???p?????????FTVFqr?NOEQ??E
78?>
??Y*+????
,>
AB?K?#?^	6?Y?????Y??S?????????Y??S??????>	?@A5@?R46;=4ty{4???4???4???46??46	?4t{??"	
		@




© 2015 - 2024 Weber Informatics LLC | Privacy Policy