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/lang/Object4getClass()Ljava/lang/Class;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;<=
;>?&(Ljava/lang/Object;)Ljava/lang/Object;AgetNamespaceA(Lcom/groupbyinc/flux/common/settings/Setting;)Ljava/lang/String;CD
EFDapplyY(Lcom/groupbyinc/flux/common/settings/Setting$AffixSetting;)Ljava/util/function/Function;IJK!lambda$buildRemoteClustersSeeds$1m(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/common/settings/Setting;)Ljava/util/List;MN
OP?(Lcom/groupbyinc/flux/common/settings/Setting;)Ljava/util/List;RM(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/util/function/Function;ITUjava/util/stream/CollectorsWtoMapX(Ljava/util/function/Function;Ljava/util/function/Function;)Ljava/util/stream/Collector;YZ
X[java/util/stream/Stream]collect0(Ljava/util/stream/Collector;)Ljava/lang/Object;_`^a
java/util/MapcallConcreteSettingsxLjava/util/stream/Stream;>;>;Ljava/util/stream/Stream;groupClusterIndicesB([Ljava/lang/String;Ljava/util/function/Predicate;)Ljava/util/Map;java/util/HashMapj()Vl
kmgetRemoteClusterNames()Ljava/util/Set;op
q[Ljava/lang/String;sjava/util/function/Predicateu
java/util/Setwjava/lang/StringyindexOf(I)I{|
z}	substring(II)Ljava/lang/String;?
z?resolveClusterNames3(Ljava/util/Set;Ljava/lang/String;)Ljava/util/List;??
$?java/util/List?isEmpty()Z????test(Ljava/lang/Object;)Z??v?"java/lang/IllegalArgumentException?java/lang/StringBuilder?
?mCan 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;?
z?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;I??computeIfAbsentC(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;??d?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|
zlength()I	
z
:remote hosts need to be configured as [host:port], found [	] insteadjava/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 number0hostAddressLjava/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/ArrayListC
DmkgetB(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/Object;GH
	I5com/groupbyinc/flux/common/transport/TransportAddressK(Ljava/net/InetSocketAddress;)VM
LN.com/groupbyinc/flux/cluster/node/DiscoveryNodeP#R
L?com/groupbyinc/flux/VersionUCURRENTLcom/groupbyinc/flux/Version;WX	VYminimumCompatibilityVersion()Lcom/groupbyinc/flux/Version;[\
V]i(Ljava/lang/String;Lcom/groupbyinc/flux/common/transport/TransportAddress;Lcom/groupbyinc/flux/Version;)V_
Q`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/Collectionsn	emptyList()Ljava/util/List;pq
or?
tu?	NodeScope6Lcom/groupbyinc/flux/common/settings/Setting$Property;yz	{Dynamic}z	~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?lm
??m?affixKeySetting}(Ljava/lang/String;Ljava/lang/String;Ljava/util/function/Function;)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+?%?'??()*+??@A,-?z(?/*?3L+?/Y?9W?L*?V?\?b?d??(*+ eg? ef?DEFE??hi?s
?kY?nN*?r:+:?66??2::?~6		??	??:
*?'
??:???|,???)??Y??Y??????????
???????	`??:??:

???*
???z:-????????W??ҧ-????????W?-????????W???-??p???:????
L???0???	'??
()
?s
????????*L???
????????R_`a'b0c5d?eLfVgak?n?o?p?q?r?s?u?vay?Y	?tvdxt?mtvdxtzz??z??0?????op?????????K+?/*????????()???
??
????*:?<?*??%??Y??Y??
??*?????????*??M,?N?):??Y??Y????,????????*`???"?%6?&??Y??Y??'???*????????,Y-?/?:??Y1??=BEk???RB23G$45z36??
47?8?9?=:kQ23?:???6?=?B?E?G?k?z?????????6?!?zz?%?6?
zz;<?a *???Y??*??:??+?????+?? @ ????@z
???5??AB???
???2?DY?E??F?v
???2?DY?E??F?s
???2?DY?E??F?p
MN?*{?/+?FM?DY?EN+*?J????:???S???,:?LY?O:?QY??Y??,??S???T?????Z?^?a:-??W???-??H@6bcm	de5Afg{*+{his?kj??kjk?&	GHI5J@KeMmNvOyP??z???Y
lm?G*?s?x?Y?|SY?S??????4?l?*???????/??3?\	@BGH@BQS@B??@B??@B??@???@???@Bvw@B????	
		
@




© 2015 - 2024 Weber Informatics LLC | Privacy Policy