com.groupbyinc.flux.common.settings.Setting.class Maven / Gradle / Ivy
???? 4 +com/groupbyinc/flux/common/settings/Setting ^Ljava/lang/Object;Lcom/groupbyinc/flux/common/xcontent/ToXContentObject; java/lang/Object 4com/groupbyinc/flux/common/xcontent/ToXContentObject Setting.java 4com/groupbyinc/flux/common/settings/Setting$AffixKey AffixKey 3com/groupbyinc/flux/common/settings/Setting$ListKey ListKey 4com/groupbyinc/flux/common/settings/Setting$GroupKey GroupKey 5com/groupbyinc/flux/common/settings/Setting$SimpleKey SimpleKey /com/groupbyinc/flux/common/settings/Setting$Key Key 3com/groupbyinc/flux/common/settings/Setting$Updater Updater 7com/groupbyinc/flux/common/settings/Setting$ListSetting ListSetting 8com/groupbyinc/flux/common/settings/Setting$GroupSetting GroupSetting 5com/groupbyinc/flux/common/settings/Setting$Validator ! Validator 8com/groupbyinc/flux/common/settings/Setting$AffixSetting $ AffixSetting 4com/groupbyinc/flux/common/settings/Setting$Property ' Property -com/groupbyinc/flux/common/settings/Setting$2 * -com/groupbyinc/flux/common/settings/Setting$1 , 4com/groupbyinc/flux/common/settings/Settings$Builder . ,com/groupbyinc/flux/common/settings/Settings 0 Builder 5com/groupbyinc/flux/common/xcontent/ToXContent$Params 3 .com/groupbyinc/flux/common/xcontent/ToXContent 5 Params Icom/groupbyinc/flux/common/settings/AbstractScopedSettings$SettingUpdater 8 :com/groupbyinc/flux/common/settings/AbstractScopedSettings : SettingUpdater 8com/groupbyinc/flux/common/xcontent/XContentParser$Token = 2com/groupbyinc/flux/common/xcontent/XContentParser ? Token Dcom/groupbyinc/flux/common/settings/Settings$DeprecationLoggerHolder B DeprecationLoggerHolder %java/lang/invoke/MethodHandles$Lookup E java/lang/invoke/MethodHandles G Lookup key 1Lcom/groupbyinc/flux/common/settings/Setting$Key; defaultValue Ljava/util/function/Function; _Ljava/util/function/Function; fallbackSetting -Lcom/groupbyinc/flux/common/settings/Setting; 2Lcom/groupbyinc/flux/common/settings/Setting; %Lcom/groupbyinc/flux/common/Nullable; parser 4Ljava/util/function/Function; validator 7Lcom/groupbyinc/flux/common/settings/Setting$Validator; ;
properties Ljava/util/EnumSet; KLjava/util/EnumSet; EMPTY_PROPERTIES $assertionsDisabled Z (Lcom/groupbyinc/flux/common/settings/Setting$Key;Lcom/groupbyinc/flux/common/settings/Setting;Ljava/util/function/Function;Ljava/util/function/Function;Lcom/groupbyinc/flux/common/settings/Setting$Validator;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)V ()V ^ `
a \ ] c 1com/groupbyinc/flux/common/settings/SecureSetting e isGroupSetting ()Z g h
i EMPTY .Lcom/groupbyinc/flux/common/settings/Settings; k l 1 m java/util/function/Function o apply &(Ljava/lang/Object;)Ljava/lang/Object; q r p s java/lang/String u java/lang/AssertionError w parser returned null y (Ljava/lang/Object;)V ^ {
x | 7[Lcom/groupbyinc/flux/common/settings/Setting$Property; ~ J K ? O P ? L M ? S M ? U V ? "java/lang/IllegalArgumentException ? java/lang/StringBuilder ?
? a 'properties cannot be null for setting [ ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ? ?
? ? ] ? toString ()Ljava/lang/String; ? ?
? ? (Ljava/lang/String;)V ^ ?
? ? [ Y ? X Y ? java/util/Arrays ? asList %([Ljava/lang/Object;)Ljava/util/List; ? ?
? ? java/util/EnumSet ? copyOf +(Ljava/util/Collection;)Ljava/util/EnumSet; ? ?
? ? Dynamic 6Lcom/groupbyinc/flux/common/settings/Setting$Property; ? ? ( ? contains (Ljava/lang/Object;)Z ? ?
? ? Final ? ? ( ? final setting [ ? ] cannot be dynamic ? NotCopyableOnResize ? ? ( ? checkPropertyRequiresIndexScope L(Ljava/util/EnumSet;Lcom/groupbyinc/flux/common/settings/Setting$Property;)V ? ?
?
InternalIndex ? ? ( ? propertiesAsSet this
IndexScope ? ? ( ? non-index-scoped setting [ ? ] can not have property [ ? property ?(Lcom/groupbyinc/flux/common/settings/Setting$Key;Ljava/util/function/Function;Ljava/util/function/Function;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)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; ? ?
? ? ? $(Ljava/lang/Object;Ljava/util/Map;)V ? lambda$new$0 ? ?
? ? validate 9()Lcom/groupbyinc/flux/common/settings/Setting$Validator; ? ? ? ?(Lcom/groupbyinc/flux/common/settings/Setting$Key;Ljava/util/function/Function;Ljava/util/function/Function;Lcom/groupbyinc/flux/common/settings/Setting$Validator;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)V ^ ?
? ^ _
? {(Ljava/lang/String;Ljava/lang/String;Ljava/util/function/Function;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)V r lambda$new$1 T(Ljava/lang/String;Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/String; ? ?
? ? B(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/String; ? 1(Ljava/lang/String;)Ljava/util/function/Function; q ? ? ?(Ljava/lang/String;Ljava/util/function/Function;Ljava/util/function/Function;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)V ^ ?
? Ljava/lang/String; ?(Ljava/lang/String;Ljava/lang/String;Ljava/util/function/Function;Lcom/groupbyinc/flux/common/settings/Setting$Validator;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)V
? lambda$new$2 ? ?
? ? ? ^ ?
?(Lcom/groupbyinc/flux/common/settings/Setting$Key;Lcom/groupbyinc/flux/common/settings/Setting;Ljava/util/function/Function;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)V java/util/Objects requireNonNull r
getRaw
?
L(Lcom/groupbyinc/flux/common/settings/Setting;)Ljava/util/function/Function; q lambda$new$3 ?
? ?(Ljava/lang/String;Lcom/groupbyinc/flux/common/settings/Setting;Ljava/util/function/Function;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)V ^
fallBackSetting getKey
? getRawKey 3()Lcom/groupbyinc/flux/common/settings/Setting$Key; isDynamic isFinal
getProperties ()Ljava/util/EnumSet;
isFiltered Filtered# ? ($ hasNodeScope NodeScope' ? ((
hasIndexScope isDeprecated
Deprecated, ? (- hasComplexMatcher
getDefaultRaw settings
getDefault B(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/Object;0 ?
4 exists 1(Lcom/groupbyinc/flux/common/settings/Settings;)Z keySet ()Ljava/util/Set;89
1: ?
<
java/util/Set>? ? get C(Lcom/groupbyinc/flux/common/settings/Settings;Z)Ljava/lang/Object;AB
C /com/groupbyinc/flux/ElasticsearchParseExceptionE java/lang/NumberFormatExceptionG java/lang/ExceptionI ()Ljava/util/Iterator;1K "L java/util/IteratorN hasNextP hOQ java/util/HashMapS
T a
java/util/MapV next ()Ljava/lang/Object;XYOZ put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;\]W^ java/util/Collections` emptyMap ()Ljava/util/Map;bc
ad ? ? "f
getMessageh ?
Fi *(Ljava/lang/String;Ljava/lang/Throwable;)V ^k
?l Failed to parse value [n ] for setting [p setting map FLjava/util/Map;TT;>; Ljava/util/Map; it HLjava/util/Iterator;>; Ljava/util/Iterator; parsed TT; Ljava/lang/Object; ex 1Lcom/groupbyinc/flux/ElasticsearchParseException; !Ljava/lang/NumberFormatException; $Ljava/lang/IllegalArgumentException; t Ljava/lang/Exception; value diff ?(Lcom/groupbyinc/flux/common/settings/Settings$Builder;Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/common/settings/Settings;)V67
? \(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/settings/Settings$Builder;\?
/? builder 6Lcom/groupbyinc/flux/common/settings/Settings$Builder; source defaultSettings checkDeprecation 1(Lcom/groupbyinc/flux/common/settings/Settings;)V??
? 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;A?
1?+ h
? deprecationLogger 6Lcom/groupbyinc/flux/common/logging/DeprecationLogger;?? C? ?[{}] setting was deprecated in Elasticsearch and will be removed in a future release! See the breaking changes documentation for the next major version.? 4com/groupbyinc/flux/common/logging/DeprecationLogger? deprecatedAndMaybeLog :(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)V??
?? match (Ljava/lang/String;)Z?? ? toTest
toXContent ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; java/io/IOException? 3com/groupbyinc/flux/common/xcontent/XContentBuilder? startObject 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
?? J field [(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
?? X ](Ljava/lang/String;Ljava/lang/Iterable;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
?? is_group_setting? J(Ljava/lang/String;Z)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
?? default? endObject??
?? 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; params 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params; "com/groupbyinc/flux/common/Strings? F(Lcom/groupbyinc/flux/common/xcontent/ToXContent;ZZ)Ljava/lang/String; ??
?? p(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/Object;A3
? primary secondary getConcreteSetting A(Ljava/lang/String;)Lcom/groupbyinc/flux/common/settings/Setting;
startsWith??
v? was ? expected: ? getSettingsDependencies #(Ljava/lang/String;)Ljava/util/Set; emptySet?9
a?
newUpdater ?(Ljava/util/function/Consumer;Lorg/apache/logging/log4j/Logger;)Lcom/groupbyinc/flux/common/settings/AbstractScopedSettings$SettingUpdater; { lambda$newUpdater$4? {
?? accept ()Ljava/util/function/Consumer;?? ? ?(Ljava/util/function/Consumer;Lorg/apache/logging/log4j/Logger;Ljava/util/function/Consumer;)Lcom/groupbyinc/flux/common/settings/AbstractScopedSettings$SettingUpdater;??
? consumer "Ljava/util/function/Consumer; Ljava/util/function/Consumer; logger !Lorg/apache/logging/log4j/Logger; h
? ?(Lcom/groupbyinc/flux/common/settings/Setting;Ljava/util/function/Consumer;Lorg/apache/logging/log4j/Logger;Ljava/util/function/Consumer;)V ^?
? java/lang/IllegalStateException? setting [? ] is not dynamic?
? ? compoundUpdater(Ljava/util/function/BiConsumer;Ljava/util/function/BiConsumer;Lcom/groupbyinc/flux/common/settings/Setting;Lcom/groupbyinc/flux/common/settings/Setting;Lorg/apache/logging/log4j/Logger;)Lcom/groupbyinc/flux/common/settings/AbstractScopedSettings$SettingUpdater;??
R(Lcom/groupbyinc/flux/common/settings/AbstractScopedSettings$SettingUpdater;Lcom/groupbyinc/flux/common/settings/AbstractScopedSettings$SettingUpdater;Ljava/util/function/BiConsumer;Lcom/groupbyinc/flux/common/settings/Setting;Lorg/apache/logging/log4j/Logger;Lcom/groupbyinc/flux/common/settings/Setting;Ljava/util/function/BiConsumer;)V ^
- 'Ljava/util/function/BiConsumer; Ljava/util/function/BiConsumer; aSetting 2Lcom/groupbyinc/flux/common/settings/Setting; bSetting 2Lcom/groupbyinc/flux/common/settings/Setting; aSettingUpdater PLcom/groupbyinc/flux/common/settings/AbstractScopedSettings$SettingUpdater; KLcom/groupbyinc/flux/common/settings/AbstractScopedSettings$SettingUpdater; bSettingUpdater PLcom/groupbyinc/flux/common/settings/AbstractScopedSettings$SettingUpdater; groupedSettingsUpdater ?(Ljava/util/function/Consumer;Lorg/apache/logging/log4j/Logger;Ljava/util/List;)Lcom/groupbyinc/flux/common/settings/AbstractScopedSettings$SettingUpdater; 0(Ljava/util/List;Ljava/util/function/Consumer;)V ^
+ MLjava/util/function/Consumer; configuredSettings CLjava/util/List<+Lcom/groupbyinc/flux/common/settings/Setting<*>;>; Ljava/util/List; floatSetting y(Ljava/lang/String;F[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting; lambda$floatSetting$5 C(FLcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/String;
(F)Ljava/util/function/Function; q! " java/lang/Float$
parseFloat (Ljava/lang/String;)F&'
%() %(Ljava/lang/String;)Ljava/lang/Float;+ ()Ljava/util/function/Function; q- . F z(Ljava/lang/String;FF[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting; lambda$floatSetting$62
34 " lambda$floatSetting$7 8(FLjava/lang/String;Ljava/lang/String;)Ljava/lang/Float;78
9: 2(FLjava/lang/String;)Ljava/util/function/Function; q< = minValue
intSetting {(Ljava/lang/String;III[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting; lambda$intSetting$8 C(ILcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/String;BC
DE (I)Ljava/util/function/Function; qG
H lambda$intSetting$9 ;(IILjava/lang/String;Ljava/lang/String;)Ljava/lang/Integer;JK
LM '(Ljava/lang/String;)Ljava/lang/Integer;O 3(IILjava/lang/String;)Ljava/util/function/Function; qQ R I maxValue z(Ljava/lang/String;II[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting; lambda$intSetting$10WC
XY H lambda$intSetting$11 :(ILjava/lang/String;Ljava/lang/String;)Ljava/lang/Integer;\]
^_ 2(ILjava/lang/String;)Ljava/util/function/Function; qa
b ?(Ljava/lang/String;Lcom/groupbyinc/flux/common/settings/Setting;I[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting; lambda$intSetting$12e]
fg b ^
j BLcom/groupbyinc/flux/common/settings/Setting; ?(Ljava/lang/String;Lcom/groupbyinc/flux/common/settings/Setting;ILcom/groupbyinc/flux/common/settings/Setting$Validator;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting; lambda$intSetting$13n]
op b LLcom/groupbyinc/flux/common/settings/Setting$Validator; longSetting z(Ljava/lang/String;JJ[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting; lambda$longSetting$14 C(JLcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/String;vw
xy (J)Ljava/util/function/Function; q{ | lambda$longSetting$15 7(JLjava/lang/String;Ljava/lang/String;)Ljava/lang/Long;~
?? $(Ljava/lang/String;)Ljava/lang/Long;? 2(JLjava/lang/String;)Ljava/util/function/Function; q? ? J simpleString x(Ljava/lang/String;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting; lambda$simpleString$16? ?
?? . identity?- p? ?(Ljava/lang/String;Lcom/groupbyinc/flux/common/settings/Setting;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting; fallback ALcom/groupbyinc/flux/common/settings/Setting; ?(Ljava/lang/String;Lcom/groupbyinc/flux/common/settings/Setting$Validator;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting; lambda$simpleString$17? ?
?? . KLcom/groupbyinc/flux/common/settings/Setting$Validator; ?(Ljava/lang/String;Ljava/lang/String;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting; lambda$simpleString$18? ?
?? ? parseInt ((Ljava/lang/String;ILjava/lang/String;)I??? )(Ljava/lang/String;IILjava/lang/String;)I??
? s java/lang/Integer? (Ljava/lang/String;)I??
??
] must be >= ? (I)Ljava/lang/StringBuilder; ??
??
] must be <= ? parseLong ((Ljava/lang/String;JLjava/lang/String;)J java/lang/Long? (Ljava/lang/String;)J??
?? (J)Ljava/lang/StringBuilder; ??
?? parseTimeValue |(Ljava/lang/String;Lcom/groupbyinc/flux/common/unit/TimeValue;Ljava/lang/String;)Lcom/groupbyinc/flux/common/unit/TimeValue; )com/groupbyinc/flux/common/unit/TimeValue???
?? millis ()J??
?? +Lcom/groupbyinc/flux/common/unit/TimeValue; timeValue y(Ljava/lang/String;I[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting;? @V
? boolSetting y(Ljava/lang/String;Z[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting; lambda$boolSetting$19 C(ZLcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/String;??
?? (Z)Ljava/util/function/Function; q? ? #com/groupbyinc/flux/common/Booleans? parseBoolean??
??? '(Ljava/lang/String;)Ljava/lang/Boolean;? . BLcom/groupbyinc/flux/common/settings/Setting; ?(Ljava/lang/String;Ljava/util/function/Function;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting; defaultValueFn byteSizeSetting ?(Ljava/lang/String;Lcom/groupbyinc/flux/common/unit/ByteSizeValue;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting; lambda$byteSizeSetting$20 q(Lcom/groupbyinc/flux/common/unit/ByteSizeValue;Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/String;??
?? N(Lcom/groupbyinc/flux/common/unit/ByteSizeValue;)Ljava/util/function/Function; q? ???
? /Lcom/groupbyinc/flux/common/unit/ByteSizeValue; lambda$byteSizeSetting$21 U(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/unit/ByteSizeValue;??
?? C(Ljava/lang/String;)Lcom/groupbyinc/flux/common/unit/ByteSizeValue;? ? ^Lcom/groupbyinc/flux/common/settings/Setting; lambda$byteSizeSetting$22??
?? ?(Ljava/lang/String;Lcom/groupbyinc/flux/common/unit/ByteSizeValue;Lcom/groupbyinc/flux/common/unit/ByteSizeValue;Lcom/groupbyinc/flux/common/unit/ByteSizeValue;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting; lambda$byteSizeSetting$23?
? ?(Ljava/lang/String;Ljava/util/function/Function;Lcom/groupbyinc/flux/common/unit/ByteSizeValue;Lcom/groupbyinc/flux/common/unit/ByteSizeValue;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting;?
lambda$byteSizeSetting$24 ?(Lcom/groupbyinc/flux/common/unit/ByteSizeValue;Lcom/groupbyinc/flux/common/unit/ByteSizeValue;Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/unit/ByteSizeValue;
?(Lcom/groupbyinc/flux/common/unit/ByteSizeValue;Lcom/groupbyinc/flux/common/unit/ByteSizeValue;Ljava/lang/String;)Ljava/util/function/Function; q
parseByteSize ?(Ljava/lang/String;Lcom/groupbyinc/flux/common/unit/ByteSizeValue;Lcom/groupbyinc/flux/common/unit/ByteSizeValue;Ljava/lang/String;)Lcom/groupbyinc/flux/common/unit/ByteSizeValue; -com/groupbyinc/flux/common/unit/ByteSizeValue parseBytesSizeValue?
getBytes?
java/util/Locale ROOT Ljava/util/Locale; = [%s]" getStringRep$ ?
% format K(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;'(
v)