com.groupbyinc.flux.cluster.node.DiscoveryNode.class Maven / Gradle / Ivy
???? 4? .com/groupbyinc/flux/cluster/node/DiscoveryNode java/lang/Object .com/groupbyinc/flux/common/io/stream/Writeable 6com/groupbyinc/flux/common/xcontent/ToXContentFragment DiscoveryNode.java 3com/groupbyinc/flux/cluster/node/DiscoveryNode$Role
Role java/util/Map$Entry
java/util/Map Entry 5com/groupbyinc/flux/common/xcontent/ToXContent$Params .com/groupbyinc/flux/common/xcontent/ToXContent Params 8com/groupbyinc/flux/common/settings/Setting$AffixSetting +com/groupbyinc/flux/common/settings/Setting AffixSetting %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup COORDINATING_ONLY Ljava/lang/String; coordinating_only # nodeName nodeId ephemeralId hostName hostAddress address 7Lcom/groupbyinc/flux/common/transport/TransportAddress;
attributes Ljava/util/Map; 5Ljava/util/Map; version Lcom/groupbyinc/flux/Version; roles Ljava/util/Set; FLjava/util/Set; $assertionsDisabled Z nodeRequiresLocalStorage 1(Lcom/groupbyinc/flux/common/settings/Settings;)Z com/groupbyinc/flux/node/Node 8 NODE_LOCAL_STORAGE_SETTING -Lcom/groupbyinc/flux/common/settings/Setting; : ; 9 < get B(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/Object; > ?
@ java/lang/Boolean B booleanValue ()Z D E
C F NODE_DATA_SETTING H ; 9 I NODE_MASTER_SETTING K ; 9 L "java/lang/IllegalArgumentException N 5storage can not be disabled for master and data nodes P (Ljava/lang/String;)V R S
O T settings .Lcom/groupbyinc/flux/common/settings/Settings; localStorageEnable isMasterNode
isDataNode isIngestNode NODE_INGEST_SETTING \ ; 9 ] i(Ljava/lang/String;Lcom/groupbyinc/flux/common/transport/TransportAddress;Lcom/groupbyinc/flux/Version;)V java/util/Collections ` emptyMap ()Ljava/util/Map; b c
a d java/util/EnumSet f allOf &(Ljava/lang/Class;)Ljava/util/EnumSet; h i
g j ?(Ljava/lang/String;Lcom/groupbyinc/flux/common/transport/TransportAddress;Ljava/util/Map;Ljava/util/Set;Lcom/groupbyinc/flux/Version;)V R l
m this 0Lcom/groupbyinc/flux/cluster/node/DiscoveryNode; id r ?(Ljava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/common/transport/TransportAddress;Ljava/util/Map;Ljava/util/Set;Lcom/groupbyinc/flux/Version;)V R t
u com/groupbyinc/flux/common/UUIDs w randomBase64UUID ()Ljava/lang/String; y z
x { 5com/groupbyinc/flux/common/transport/TransportAddress } ()Ljava/net/InetSocketAddress; *
~ ? java/net/InetSocketAddress ?
getHostString ? z
? ?
getAddress ? z
~ ? ?(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/common/transport/TransportAddress;Ljava/util/Map;Ljava/util/Set;Lcom/groupbyinc/flux/Version;)V R ?
? ()V R ?
? java/lang/String ? intern ? z
? ? % " ?
java/util/Set ? com/groupbyinc/flux/Version ? &