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

com.groupbyinc.flux.bootstrap.BootstrapChecks.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????4?-com/groupbyinc/flux/bootstrap/BootstrapChecksjava/lang/ObjectBootstrapChecks.java7com/groupbyinc/flux/bootstrap/BootstrapChecks$G1GCCheck	G1GCCheck>com/groupbyinc/flux/bootstrap/BootstrapChecks$EarlyAccessCheck	EarlyAccessCheckEcom/groupbyinc/flux/bootstrap/BootstrapChecks$OnOutOfMemoryErrorCheckOnOutOfMemoryErrorCheck:com/groupbyinc/flux/bootstrap/BootstrapChecks$OnErrorCheckOnErrorCheckcom/groupbyinc/flux/bootstrap/BootstrapChecks$UseSerialGCCheckUseSerialGCCheckcom/groupbyinc/flux/bootstrap/BootstrapChecks$MaxMapCountCheckMaxMapCountCheck>com/groupbyinc/flux/bootstrap/BootstrapChecks$MaxFileSizeCheck!MaxFileSizeCheckGcom/groupbyinc/flux/bootstrap/BootstrapChecks$MaxSizeVirtualMemoryCheck$MaxSizeVirtualMemoryCheckEcom/groupbyinc/flux/bootstrap/BootstrapChecks$MaxNumberOfThreadsCheck'MaxNumberOfThreadsCheck;com/groupbyinc/flux/bootstrap/BootstrapChecks$MlockallCheck*
MlockallCheckAcom/groupbyinc/flux/bootstrap/BootstrapChecks$FileDescriptorCheck-FileDescriptorCheckDcom/groupbyinc/flux/bootstrap/BootstrapChecks$OsXFileDescriptorCheck0OsXFileDescriptorCheck;com/groupbyinc/flux/bootstrap/BootstrapChecks$HeapSizeCheck3
HeapSizeCheckAcom/groupbyinc/flux/bootstrap/BootstrapCheck$BootstrapCheckResult6,com/groupbyinc/flux/bootstrap/BootstrapCheck8BootstrapCheckResult%java/lang/invoke/MethodHandles$Lookup;java/lang/invoke/MethodHandles=LookupES_ENFORCE_BOOTSTRAP_CHECKSLjava/lang/String;es.enforce.bootstrap.checksB()VDE
Fthis/Lcom/groupbyinc/flux/bootstrap/BootstrapChecks;check(Lcom/groupbyinc/flux/bootstrap/BootstrapContext;Lcom/groupbyinc/flux/common/transport/BoundTransportAddress;Ljava/util/List;)V0com/groupbyinc/flux/node/NodeValidationExceptionLchecks()Ljava/util/List;NO
Pjava/util/ArrayListR(Ljava/util/Collection;)VDT
SUjava/util/ListWaddAll(Ljava/util/Collection;)ZYZX[-com/groupbyinc/flux/discovery/DiscoveryModule]DISCOVERY_TYPE_SETTING-Lcom/groupbyinc/flux/common/settings/Setting;_`	^a.com/groupbyinc/flux/bootstrap/BootstrapContextcsettings.Lcom/groupbyinc/flux/common/settings/Settings;ef	dg+com/groupbyinc/flux/common/settings/SettingigetB(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/Object;kl
jmjava/lang/Stringo
enforceLimitsQ(Lcom/groupbyinc/flux/common/transport/BoundTransportAddress;Ljava/lang/String;)Zqr
sjava/util/CollectionsuunmodifiableList"(Ljava/util/List;)Ljava/util/List;wx
vycom/groupbyinc/flux/node/Node{NODE_NAME_SETTING}`	|~V(Lcom/groupbyinc/flux/bootstrap/BootstrapContext;ZLjava/util/List;Ljava/lang/String;)VJ?
?context0Lcom/groupbyinc/flux/bootstrap/BootstrapContext;boundTransportAddress;Ljava/util/List;
builtInCheckscombinedChecks*com/groupbyinc/flux/common/logging/Loggers?	getLoggerG(Ljava/lang/Class;[Ljava/lang/String;)Lorg/apache/logging/log4j/Logger;??
??e(Lcom/groupbyinc/flux/bootstrap/BootstrapContext;ZLjava/util/List;Lorg/apache/logging/log4j/Logger;)VJ?
?ZnodeName
SFjava/lang/System?getProperty&(Ljava/lang/String;)Ljava/lang/String;??
??java/lang/Boolean?TRUELjava/lang/Boolean;??	??toString()Ljava/lang/String;??
??equals(Ljava/lang/Object;)Z??
p?java/util/Locale?ROOTLjava/util/Locale;??	?? [%s] must be [true] but was [%s]?formatK(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;??
p?"java/lang/IllegalArgumentException?(Ljava/lang/String;)VD?
??[bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks?org/apache/logging/log4j/Logger?info????%explicitly enforcing bootstrap checks?iterator()Ljava/util/Iterator;??X?java/util/Iterator?hasNext()Z????next()Ljava/lang/Object;????u(Lcom/groupbyinc/flux/bootstrap/BootstrapContext;)Lcom/groupbyinc/flux/bootstrap/BootstrapCheck$BootstrapCheckResult;J?9?	isFailure??
7?
alwaysEnforce??9?
getMessage??
7?add??X?isEmpty??X?"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;)V?lambda$check$06(Lorg/apache/logging/log4j/Logger;Ljava/lang/String;)V??
???accept@(Lorg/apache/logging/log4j/Logger;)Ljava/util/function/Consumer;???forEach (Ljava/util/function/Consumer;)V??X?size()I??X?(I)VD
Sjava/lang/StringBuilder
F[append-(Ljava/lang/String;)Ljava/lang/StringBuilder;	

(I)Ljava/lang/StringBuilder;	
] bootstrap checks failed
?]: (I)Ljava/lang/Object;kX
join@(Ljava/lang/CharSequence;Ljava/lang/Iterable;)Ljava/lang/String;
p
M?stream()Ljava/util/stream/Stream; X!&(Ljava/lang/Object;)Ljava/lang/Object;#java/lang/IllegalStateException%
&?'5(Ljava/lang/String;)Ljava/lang/IllegalStateException;)apply()Ljava/util/function/Function;+,-java/util/stream/Stream/map8(Ljava/util/function/Function;)Ljava/util/stream/Stream;1203getClass()Ljava/lang/Class;56
7java/lang/Throwable9
addSuppressed(Ljava/lang/Throwable;)V;<
:=>$(Ljava/lang/IllegalStateException;)V@Q(Lcom/groupbyinc/flux/node/NodeValidationException;)Ljava/util/function/Consumer;?BC0?enforceBootstrapChecksmessageresultCLcom/groupbyinc/flux/bootstrap/BootstrapCheck$BootstrapCheckResult;.Lcom/groupbyinc/flux/bootstrap/BootstrapCheck;iImessages$Ljava/util/List;ne2Lcom/groupbyinc/flux/node/NodeValidationException;logger!Lorg/apache/logging/log4j/Logger;errors
ignoredErrorsesEnforceBootstrapCheckslogwarnW??Xerror?lambda$enforceLimits$1:(Lcom/groupbyinc/flux/common/transport/TransportAddress;)Z\]
^_]test ()Ljava/util/function/Predicate;bcd:com/groupbyinc/flux/common/transport/BoundTransportAddressfboundAddresses:()[Lcom/groupbyinc/flux/common/transport/TransportAddress;hi
gjjava/util/Arraysl.([Ljava/lang/Object;)Ljava/util/stream/Stream;n
moallMatch!(Ljava/util/function/Predicate;)Zqr0spublishAddress9()Lcom/groupbyinc/flux/common/transport/TransportAddress;uv
gwjava/util/function/Predicateyb?z{single-node}
discoveryTypeisLoopbackOrLinkLocalAddressWLjava/util/function/Predicate;Ljava/util/function/Predicate;bound
4F7com/groupbyinc/flux/common/apache/lucene/util/Constants?MAC_OS_X??	??
1F
.F
+FLINUX??	??
(F
%F
"F
F
F
F
F
F

F

F
FfileDescriptorCheckCLcom/groupbyinc/flux/bootstrap/BootstrapChecks$FileDescriptorCheck;5com/groupbyinc/flux/common/transport/TransportAddress?address()Ljava/net/InetSocketAddress;??
??java/net/InetSocketAddress?
getAddress()Ljava/net/InetAddress;??
??java/net/InetAddress?isLinkLocalAddress??
??isLoopbackAddress??
??t7Lcom/groupbyinc/flux/common/transport/TransportAddress;V?
?
ConstantValueCodeLocalVariableTableLineNumberTableLocalVariableTypeTable
Exceptions	Signature?(Lcom/groupbyinc/flux/bootstrap/BootstrapContext;Lcom/groupbyinc/flux/common/transport/BoundTransportAddress;Ljava/util/List;)V?(Lcom/groupbyinc/flux/bootstrap/BootstrapContext;ZLjava/util/List;Ljava/lang/String;)V
StackMapTable?(Lcom/groupbyinc/flux/bootstrap/BootstrapContext;ZLjava/util/List;Lorg/apache/logging/log4j/Logger;)VB()Ljava/util/List;BootstrapMethods
SourceFileInnerClasses0@A?C	DE?3*?G??HI?
9:JK????QN?SY-?V:,?\W*+?b*?h?n?p?t?z?*?h?n?p????4?????????;??1??? ???;??1???&	HIJK L+M5N;K>O?M??J??r*,?pY-S??????*??q?N??A?N??
`a?M??J??b??SY??:?SY??:C??:?	6?9???????	6?%????YCSYS??:??Y????-?????-Ź?,??:???T???9:		*??:

?ٙ3?"?	???
?߹?W?
?߹?W??????-?????????SY?`?:?Y????????W6		??=?Y??	`??	??p????W?	????MY??:	?"?.?4	Y?8W?D?E	????!F?5F?P
GA?8HI
?BJJ	7FKL	?M??%OP	????q??N??QR	?S??T??UAZZF??*?MN?N?	?SN?TN??!r	suwx$y2z8|K}P?Z?^?i?n?v??????????????????????4?C?w?}????????8
?$XXp?!???J97???FX?E?5?M??V??@*+?Y??QRZA?
??qr??=?eM*?k?p,?t?,*?x?|??>?~+??????*=??=A7??)???7???????)???#z@?@NO???SY??K*?4Y????W???
?1Y???
?.Y??L*+??W*?+Y????W???*?(Y????W???	???*?%Y????W???	???*?"Y????W???*?Y????W*?Y????W*?Y????W*?Y????W*?Y????W*?
Y????W*?
Y????W*?Y????W*?z???N?.?????N??V???.?6?D?J?X?d?r?~??????????????????????&XF.?*.

??
\]?V *???????*?????????? ?????@
???:*+????QRZA???*?????$(*???A?[`a???

 "#%&()+,./124579:<>?




© 2015 - 2024 Weber Informatics LLC | Privacy Policy