com.groupbyinc.flux.discovery.DiscoverySettings.class Maven / Gradle / Ivy
???? 4 /com/groupbyinc/flux/discovery/DiscoverySettings 6com/groupbyinc/flux/common/component/AbstractComponent DiscoverySettings.java 4com/groupbyinc/flux/common/settings/Setting$Property +com/groupbyinc/flux/common/settings/Setting Property %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles
Lookup NO_MASTER_BLOCK_ID I NO_MASTER_BLOCK_ALL 0Lcom/groupbyinc/flux/cluster/block/ClusterBlock; NO_MASTER_BLOCK_WRITES PUBLISH_TIMEOUT_SETTING -Lcom/groupbyinc/flux/common/settings/Setting; ZLcom/groupbyinc/flux/common/settings/Setting; COMMIT_TIMEOUT_SETTING NO_MASTER_BLOCK_SETTING _Lcom/groupbyinc/flux/common/settings/Setting; PUBLISH_DIFF_ENABLE_SETTING BLcom/groupbyinc/flux/common/settings/Setting; INITIAL_STATE_TIMEOUT_SETTING
noMasterBlock publishTimeout +Lcom/groupbyinc/flux/common/unit/TimeValue;
commitTimeout publishDiff Z f(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/common/settings/ClusterSettings;)V 1(Lcom/groupbyinc/flux/common/settings/Settings;)V % '
( * "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; . /
- 0 1 (Ljava/lang/Object;)V 3 setNoMasterBlock 3(Lcom/groupbyinc/flux/cluster/block/ClusterBlock;)V 5 6
7 8 6 accept P(Lcom/groupbyinc/flux/discovery/DiscoverySettings;)Ljava/util/function/Consumer; ; < = 3com/groupbyinc/flux/common/settings/ClusterSettings ? addSettingsUpdateConsumer M(Lcom/groupbyinc/flux/common/settings/Setting;Ljava/util/function/Consumer;)V A B
@ C E setPublishDiff (Z)V G H
I J (Ljava/lang/Boolean;)V L = O setCommitTimeout .(Lcom/groupbyinc/flux/common/unit/TimeValue;)V Q R
S T R = X setPublishTimeout Z R
[ \ = get B(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/Object; _ `
a .com/groupbyinc/flux/cluster/block/ClusterBlock c e )com/groupbyinc/flux/common/unit/TimeValue g ! i " ! k java/lang/Boolean m booleanValue ()Z o p
n q # $ s this 1Lcom/groupbyinc/flux/discovery/DiscoverySettings; settings .Lcom/groupbyinc/flux/common/settings/Settings; clusterSettings 5Lcom/groupbyinc/flux/common/settings/ClusterSettings; getPublishTimeout -()Lcom/groupbyinc/flux/common/unit/TimeValue; getCommitTimeout getNoMasterBlock 2()Lcom/groupbyinc/flux/cluster/block/ClusterBlock; getPublishDiff parseNoMasterBlock D(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/block/ClusterBlock; java/lang/String ? hashCode ()I ? ?
? ? all ? equals (Ljava/lang/Object;)Z ? ?
? ? write ? ? ? "java/lang/IllegalArgumentException ? java/lang/StringBuilder ? ()V % ?
? ? invalid master block [ ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? ] ? toString ()Ljava/lang/String; ? ?
? ? (Ljava/lang/String;)V % ?
? ? value Ljava/lang/String; lambda$static$1 ?(Ljava/lang/String;)Lcom/groupbyinc/flux/common/unit/TimeValue; timeValueSeconds .(J)Lcom/groupbyinc/flux/common/unit/TimeValue; ? ?
h ? discovery.zen.commit_timeout ? parseTimeValue |(Ljava/lang/String;Lcom/groupbyinc/flux/common/unit/TimeValue;Ljava/lang/String;)Lcom/groupbyinc/flux/common/unit/TimeValue; ? ?
h ? s lambda$static$0 B(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/String; getRaw ? ?
? no master ? #com/groupbyinc/flux/rest/RestStatus ? SERVICE_UNAVAILABLE %Lcom/groupbyinc/flux/rest/RestStatus; ? ? ? ? 3com/groupbyinc/flux/cluster/block/ClusterBlockLevel ? ALL Ljava/util/EnumSet; ? ? ? ? Q(ILjava/lang/String;ZZZLcom/groupbyinc/flux/rest/RestStatus;Ljava/util/EnumSet;)V % ?
d ? WRITE 5Lcom/groupbyinc/flux/cluster/block/ClusterBlockLevel; ? ? ? ? METADATA_WRITE ? ? ? ? java/util/EnumSet ? of 5(Ljava/lang/Enum;Ljava/lang/Enum;)Ljava/util/EnumSet; ? ?
? ? discovery.zen.publish_timeout ? Dynamic 6Lcom/groupbyinc/flux/common/settings/Setting$Property; ? ? ? NodeScope ? ? ? positiveTimeSetting ?(Ljava/lang/String;Lcom/groupbyinc/flux/common/unit/TimeValue;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting; ? ?
? &(Ljava/lang/Object;)Ljava/lang/Object; ? ? ?
? ? ? apply ()Ljava/util/function/Function; ? ? ? ? ?
? ? ? ? ?(Ljava/lang/String;Ljava/util/function/Function;Ljava/util/function/Function;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)V % ?
? discovery.zen.no_master_block ? ? ?
? ? {(Ljava/lang/String;Ljava/lang/String;Ljava/util/function/Function;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)V %
!discovery.zen.publish_diff.enable boolSetting y(Ljava/lang/String;Z[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting;
discovery.initial_state_timeout
ConstantValue Signature Code LocalVariableTable LineNumberTable
StackMapTable BootstrapMethods
SourceFile InnerClasses ! B B ! B " ! B # $
% &