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

com.groupbyinc.flux.transport.RemoteClusterAware.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????4?0com/groupbyinc/flux/transport/RemoteClusterAware6com/groupbyinc/flux/common/component/AbstractComponentRemoteClusterAware.java8com/groupbyinc/flux/common/settings/Setting$AffixSetting+com/groupbyinc/flux/common/settings/SettingAffixSetting4com/groupbyinc/flux/common/settings/Setting$PropertyProperty%java/lang/invoke/MethodHandles$Lookupjava/lang/invoke/MethodHandlesLookupREMOTE_CLUSTERS_SEEDS:Lcom/groupbyinc/flux/common/settings/Setting$AffixSetting;jLcom/groupbyinc/flux/common/settings/Setting$AffixSetting;>;REMOTE_CLUSTER_INDEX_SEPARATORC:LOCAL_CLUSTER_GROUP_KEYLjava/lang/String;clusterNameResolverDLcom/groupbyinc/flux/cluster/metadata/ClusterNameExpressionResolver;1(Lcom/groupbyinc/flux/common/settings/Settings;)V 
!Bcom/groupbyinc/flux/cluster/metadata/ClusterNameExpressionResolver#
$!	&this2Lcom/groupbyinc/flux/transport/RemoteClusterAware;settings.Lcom/groupbyinc/flux/common/settings/Settings;buildRemoteClustersSeeds?(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/util/Map;	.getAllConcreteSettingsI(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/util/stream/Stream;01
2java/util/Objects4requireNonNull&(Ljava/lang/Object;)Ljava/lang/Object;67
58"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;<=
;>?7getNamespaceA(Lcom/groupbyinc/flux/common/settings/Setting;)Ljava/lang/String;BC
DECapplyY(Lcom/groupbyinc/flux/common/settings/Setting$AffixSetting;)Ljava/util/function/Function;HIJ!lambda$buildRemoteClustersSeeds$1m(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/common/settings/Setting;)Ljava/util/List;LM
NO?(Lcom/groupbyinc/flux/common/settings/Setting;)Ljava/util/List;QM(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/util/function/Function;HSTjava/util/stream/CollectorsVtoMapX(Ljava/util/function/Function;Ljava/util/function/Function;)Ljava/util/stream/Collector;XY
WZjava/util/stream/Stream\collect0(Ljava/util/stream/Collector;)Ljava/lang/Object;^_]`
java/util/MapballConcreteSettingsxLjava/util/stream/Stream;>;>;Ljava/util/stream/Stream;groupClusterIndicesB([Ljava/lang/String;Ljava/util/function/Predicate;)Ljava/util/Map;java/util/HashMapi()Vk
jlgetRemoteClusterNames()Ljava/util/Set;no
p[Ljava/lang/String;rjava/util/function/Predicatet
java/util/Setvjava/lang/StringxindexOf(I)Iz{
y|	substring(II)Ljava/lang/String;~
y?resolveClusterNames3(Ljava/util/Set;Ljava/lang/String;)Ljava/util/List;??
$?java/util/List?isEmpty()Z????test(Ljava/lang/Object;)Z??u?"java/lang/IllegalArgumentException?java/lang/StringBuilder?
?lCan not filter indices; index ?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??2 exists but there is also a remote cluster named: ?toString()Ljava/lang/String;??
??(Ljava/lang/String;)V?
??(I)Ljava/lang/String;~?
y?iterator()Ljava/util/Iterator;????java/util/Iterator?hasNext????next()Ljava/lang/Object;????lambda$groupClusterIndices$2$(Ljava/lang/String;)Ljava/util/List;??
???()Ljava/util/function/Function;H??computeIfAbsentC(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;??c?add????lambda$groupClusterIndices$3??
???lambda$groupClusterIndices$4??
???clusterName	indexNameremoteClusterNameclusters$Ljava/util/List;Ljava/util/List;iIindexrequestIndicesindexExists2Ljava/util/function/Predicate;Ljava/util/function/Predicate;perClusterIndicesGLjava/util/Map;>;Ljava/util/Map;remoteClusterNames#Ljava/util/Set;Ljava/util/Set;updateRemoteCluster%(Ljava/lang/String;Ljava/util/List;)VlistenForUpdates8(Lcom/groupbyinc/flux/common/settings/ClusterSettings;)V'(Ljava/lang/Object;Ljava/lang/Object;)V???
???acceptS(Lcom/groupbyinc/flux/transport/RemoteClusterAware;)Ljava/util/function/BiConsumer;???lambda$listenForUpdates$5??
??!()Ljava/util/function/BiConsumer;???3com/groupbyinc/flux/common/settings/ClusterSettings?addAffixUpdateConsumer{(Lcom/groupbyinc/flux/common/settings/Setting$AffixSetting;Ljava/util/function/BiConsumer;Ljava/util/function/BiConsumer;)V??
??clusterSettings5Lcom/groupbyinc/flux/common/settings/ClusterSettings;parseSeedAddress0(Ljava/lang/String;)Ljava/net/InetSocketAddress;java/net/UnknownHostExceptionjava/lang/NumberFormatExceptionlastIndexOf{
ylength()I
y	:remote hosts need to be configured as [host:port], found [	] instead
java/net/InetAddress	getByName*(Ljava/lang/String;)Ljava/net/InetAddress;
unknown host []*(Ljava/lang/String;Ljava/lang/Throwable;)V
?java/lang/IntegervalueOf'(Ljava/lang/String;)Ljava/lang/Integer;
 intValue"
#"port number must be > 0 but was: [%(I)Ljava/lang/StringBuilder;?'
?(java/net/InetSocketAddress*(Ljava/net/InetAddress;I)V,
+-port must be a number/hostAddressLjava/net/InetAddress;eLjava/net/UnknownHostException;port!Ljava/lang/NumberFormatException;
remoteHost
portSeparatorhostbuildRemoteIndexName8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;(C)Ljava/lang/StringBuilder;?<
?=clusterAlias	namespacevaluejava/util/ArrayListB
ClkgetB(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/Object;FG
	H5com/groupbyinc/flux/common/transport/TransportAddressJ(Ljava/net/InetSocketAddress;)VL
KM.com/groupbyinc/flux/cluster/node/DiscoveryNodeO#Q
K?com/groupbyinc/flux/VersionTCURRENTLcom/groupbyinc/flux/Version;VW	UXminimumCompatibilityVersion()Lcom/groupbyinc/flux/Version;Z[
U\i(Ljava/lang/String;Lcom/groupbyinc/flux/common/transport/TransportAddress;Lcom/groupbyinc/flux/Version;)V^
P_transportAddress7Lcom/groupbyinc/flux/common/transport/TransportAddress;node0Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;addressLjava/net/InetSocketAddress;concreteSetting-Lcom/groupbyinc/flux/common/settings/Setting;nodesBLjava/util/List;lambda$static$0A(Ljava/lang/String;)Lcom/groupbyinc/flux/common/settings/Setting;java/util/Collectionsm	emptyList()Ljava/util/List;op
nq??
st??	NodeScope6Lcom/groupbyinc/flux/common/settings/Setting$Property;xy	zDynamic|y	}listSetting?(Ljava/lang/String;Ljava/util/List;Ljava/util/function/Function;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting;?
	?keysearch.remote.?seeds?kl
??l?affixKeySetting?(Ljava/lang/String;Ljava/lang/String;Ljava/util/function/Function;[Lcom/groupbyinc/flux/common/settings/Setting$AffixSetting;)Lcom/groupbyinc/flux/common/settings/Setting$AffixSetting;??
	?	Signature
ConstantValueCodeLocalVariableTableLineNumberTableLocalVariableTypeTable?(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/util/Map;>;
StackMapTable?([Ljava/lang/String;Ljava/util/function/Predicate;)Ljava/util/Map;>;%()Ljava/util/Set;C(Ljava/lang/String;Ljava/util/List;)VBootstrapMethods
SourceFileInnerClasses!??? ?N*+?"*?$Y+?%?'??()*+?@AB,-?z(?/*?3L+?/Y?9W?K*?U?[?a?c??(*+ df? de?EF
GF??gh?s
?jY?mN*?q:+:?66??2::?}6		??	??:
*?'
??:???|,???)??Y??Y??????????
???????	`??:??:

???*
???y:-????????W??ҧ-????????W?-????????W???-??p???:????
L???0???	'??
()
?r
????????*L???
????????R`ab'c0d5e?fLgVhal?o?p?q?r?s?t?v?wbz?Y	?sucws?msucwsyy??y??0?????no?????????K+?/*????????()???
??
?????*:?<?*?
?%??Y??Y????*?????????*??M,?N?):??Y??Y????,????????*`???!?$6?&??Y??Y??&???)????????+Y-?.?:??Y0??=BEk???RB12G$34z35??
36?7?8?=9kQ12?:???6?=?B?E?G?k?z?????????6?!?yy?%?6?
yy	:;?a *???Y??*??:?>+?????+?? ? ????@y
???5??@A???
???2?CY?D??E?w
???2?CY?D??E?t
???2?CY?D??E?q
LM?*{?/+?EM?CY?DN+*?I????:???S???+:?KY?N:?PY??Y??,??R???S?????Y?]?`:-??W???-??H@6abm	cd5Aef{*+{ghs?ki??kij?&	HIJ5K@LeNmOvPyQ??y???Y
kl?G*?r?w?Y?{SY?~S??????4?k?.????????/??3?\	@AFG@APR@A??@A??@A??@???@???@Auv@A????	
		
@




© 2015 - 2024 Weber Informatics LLC | Privacy Policy