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

com.groupbyinc.flux.cluster.routing.UnassignedInfo.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????4@2com/groupbyinc/flux/cluster/routing/UnassignedInfojava/lang/Object6com/groupbyinc/flux/common/xcontent/ToXContentFragment.com/groupbyinc/flux/common/io/stream/WriteableUnassignedInfo.java4com/groupbyinc/flux/cluster/routing/UnassignedInfo$1
Ccom/groupbyinc/flux/cluster/routing/UnassignedInfo$AllocationStatusAllocationStatus9com/groupbyinc/flux/cluster/routing/UnassignedInfo$ReasonReason5com/groupbyinc/flux/common/xcontent/ToXContent$Params.com/groupbyinc/flux/common/xcontent/ToXContentParams4com/groupbyinc/flux/common/settings/Setting$Property+com/groupbyinc/flux/common/settings/SettingProperty%java/lang/invoke/MethodHandles$Lookupjava/lang/invoke/MethodHandlesLookupDEPRECATION_LOGGER6Lcom/groupbyinc/flux/common/logging/DeprecationLogger;DATE_TIME_FORMATTER9Lcom/groupbyinc/flux/common/joda/FormatDateTimeFormatter;'INDEX_DELAYED_NODE_LEFT_TIMEOUT_SETTING-Lcom/groupbyinc/flux/common/settings/Setting;ZLcom/groupbyinc/flux/common/settings/Setting;reason;Lcom/groupbyinc/flux/cluster/routing/UnassignedInfo$Reason;unassignedTimeMillisJunassignedTimeNanosdelayedZmessageLjava/lang/String;failureLjava/lang/Exception;failedAllocationsIlastAllocationStatusELcom/groupbyinc/flux/cluster/routing/UnassignedInfo$AllocationStatus;$assertionsDisabledP(Lcom/groupbyinc/flux/cluster/routing/UnassignedInfo$Reason;Ljava/lang/String;)VALLOCATION_FAILED:)	;java/lang/String=java/lang/System?nanoTime()JAB
@CcurrentTimeMillisEB
@F
NO_ATTEMPTH6	
I?(Lcom/groupbyinc/flux/cluster/routing/UnassignedInfo$Reason;Ljava/lang/String;Ljava/lang/Exception;IJJZLcom/groupbyinc/flux/cluster/routing/UnassignedInfo$AllocationStatus;)V8K
Lthis4Lcom/groupbyinc/flux/cluster/routing/UnassignedInfo;%Lcom/groupbyinc/flux/common/Nullable;()V8Q
Rjava/util/ObjectsTrequireNonNull&(Ljava/lang/Object;)Ljava/lang/Object;VW
UX()	Z*+	\,+	^-.	`/0	b12	d34	f56	h7.	jjava/lang/Exceptionljava/lang/AssertionErrornjava/lang/StringBuilderp
qRfailedAllocations: sappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;uv
qw(I)Ljava/lang/StringBuilder;uy
qz for reason |-(Ljava/lang/Object;)Ljava/lang/StringBuilder;u~
qtoString()Ljava/lang/String;??
q?(Ljava/lang/Object;)V8?
o?4provide a message if a failure exception is provided?	NODE_LEFT?)	?Cshard can only be delayed if it is unassigned due to a node leaving?5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Vjava/io/IOException?values>()[Lcom/groupbyinc/flux/cluster/routing/UnassignedInfo$Reason;??
?0com/groupbyinc/flux/common/io/stream/StreamInput?readByte()B??
??readLong?B
??readBoolean()Z??
??readOptionalString??
??
readException()Ljava/lang/Exception;??
??readVInt()I??
??readFromy(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/cluster/routing/UnassignedInfo$AllocationStatus;??

?in2Lcom/groupbyinc/flux/common/io/stream/StreamInput;writeTo6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V1com/groupbyinc/flux/common/io/stream/StreamOutput?
getVersion()Lcom/groupbyinc/flux/Version;??
??com/groupbyinc/flux/Version?
V_6_0_0_beta2Lcom/groupbyinc/flux/Version;??	??before (Lcom/groupbyinc/flux/Version;)Z??
??MANUAL_ALLOCATION?)	?ordinal??
?	writeByte(B)V??
??	writeLong(J)V??
??writeBoolean(Z)V??
??writeOptionalString(Ljava/lang/String;)V??
??writeException(Ljava/lang/Throwable;)V??
??	writeVInt(I)V??
????

?out3Lcom/groupbyinc/flux/common/io/stream/StreamOutput;h(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/cluster/routing/UnassignedInfo;8?
?getNumFailedAllocations	isDelayed	getReason=()Lcom/groupbyinc/flux/cluster/routing/UnassignedInfo$Reason;getUnassignedTimeInMillisgetUnassignedTimeInNanos
getMessage
getFailure
getDetails?
, failure ?$com/groupbyinc/flux/ExceptionsHelper?detailedMessage)(Ljava/lang/Throwable;)Ljava/lang/String;??
??getLastAllocationStatusG()Lcom/groupbyinc/flux/cluster/routing/UnassignedInfo$AllocationStatus;getRemainingDelay2(JLcom/groupbyinc/flux/common/settings/Settings;)J%&	getB(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/Object;
)com/groupbyinc/flux/common/unit/TimeValuenanos
B
	
oRjava/lang/Mathmax(JJ)J
nanoTimeNow
indexSettings.Lcom/groupbyinc/flux/common/settings/Settings;delayTimeoutNanosgetNumberOfDelayedUnassigned-(Lcom/groupbyinc/flux/cluster/ClusterState;)I(com/groupbyinc/flux/cluster/ClusterStateroutingTable4()Lcom/groupbyinc/flux/cluster/routing/RoutingTable;
5com/groupbyinc/flux/cluster/routing/ShardRoutingState 
UNASSIGNED7Lcom/groupbyinc/flux/cluster/routing/ShardRoutingState;"#	!$0com/groupbyinc/flux/cluster/routing/RoutingTable&shardsWithStateI(Lcom/groupbyinc/flux/cluster/routing/ShardRoutingState;)Ljava/util/List;()
'*java/util/List,iterator()Ljava/util/Iterator;./-0java/util/Iterator2hasNext4?35next()Ljava/lang/Object;78390com/groupbyinc/flux/cluster/routing/ShardRouting;unassignedInfo6()Lcom/groupbyinc/flux/cluster/routing/UnassignedInfo;=>
<???
Ashard2Lcom/groupbyinc/flux/cluster/routing/ShardRouting;state*Lcom/groupbyinc/flux/cluster/ClusterState;countfindNextDelayedAllocation.(JLcom/groupbyinc/flux/cluster/ClusterState;)JmetaData1()Lcom/groupbyinc/flux/cluster/metadata/MetaData;JK
L???????-com/groupbyinc/flux/cluster/metadata/MetaDataPindex#()Lcom/groupbyinc/flux/index/Index;RS
<TW(Lcom/groupbyinc/flux/index/Index;)Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;RV
QW2com/groupbyinc/flux/cluster/metadata/IndexMetaDataYgetSettings0()Lcom/groupbyinc/flux/common/settings/Settings;[\
Z]
_????????newComputedLeftDelayNanoscurrentNanoTime/Lcom/groupbyinc/flux/cluster/metadata/MetaData;2Lcom/groupbyinc/flux/cluster/routing/RoutingTable;nextDelayNanosshortSummary[reason=i]k, at[m#$	o7com/groupbyinc/flux/common/joda/FormatDateTimeFormatterqprinterA()Lcom/groupbyinc/flux/common/joda/time/format/DateTimeFormatter;st
ru=com/groupbyinc/flux/common/joda/time/format/DateTimeFormatterwprint(J)Ljava/lang/String;yz
x{, failed_attempts[}
, delayed=(Z)Ljava/lang/StringBuilder;u?
q???
?
, details[?, allocation_status[?value??

?sbLjava/lang/StringBuilder;detailsunassigned_info[?h?
?
toXContent?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;unassigned_info?3com/groupbyinc/flux/common/xcontent/XContentBuilder?startObjectI(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
??(field[(Ljava/lang/String;Ljava/lang/Object;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
??at?[(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
??failed_attempts?J(Ljava/lang/String;I)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
??-J(Ljava/lang/String;Z)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
???allocation_status?	endObject7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
??builder5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;params7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;equals(Ljava/lang/Object;)ZgetClass()Ljava/lang/Class;??
???
>?
?oLjava/lang/Object;thathashCode??
?java/lang/Boolean?(Z)I??
??java/lang/Integer?(I)I??
??java/lang/Long?(J)I??
??
>?
?

?resultlambda$static$1?(Ljava/lang/String;)Lcom/groupbyinc/flux/common/unit/TimeValue;*index.unassigned.node_left.delayed_timeout?parseTimeValueQ(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/unit/TimeValue;??
	?getNanos?B
	?!"	?pNegative values for index.unassigned.node_left.delayed_timeout [{}] are deprecated and should now be set to "0".?4com/groupbyinc/flux/common/logging/DeprecationLogger?
deprecated((Ljava/lang/String;[Ljava/lang/Object;)V??
??sparsedValue+Lcom/groupbyinc/flux/common/unit/TimeValue;lambda$static$0B(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/String;timeValueMinutes.(J)Lcom/groupbyinc/flux/common/unit/TimeValue;??
	?getStringRep??
	?java/lang/ClassdesiredAssertionStatus?
*com/groupbyinc/flux/common/logging/Loggers	getLogger4(Ljava/lang/Class;)Lorg/apache/logging/log4j/Logger;
	$(Lorg/apache/logging/log4j/Logger;)V8
?dateOptionalTime$com/groupbyinc/flux/common/joda/Joda
forPatternM(Ljava/lang/String;)Lcom/groupbyinc/flux/common/joda/FormatDateTimeFormatter;
"java/lang/invoke/LambdaMetafactorymetafactory?(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;
W??
?apply()Ljava/util/function/Function;"#$??
&'?$Dynamic6Lcom/groupbyinc/flux/common/settings/Setting$Property;+,	-
IndexScope/,	0?(Ljava/lang/String;Ljava/util/function/Function;Ljava/util/function/Function;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)V82
3	SignatureCodeLocalVariableTableLineNumberTable
StackMapTable"RuntimeVisibleParameterAnnotations
ExceptionsRuntimeVisibleAnnotationsBootstrapMethods
SourceFileInnerClasses1!"#$%&5'()*+,+-./01234567.896?*+,+?>?>>8K6??*?S*+?Y??[*?]*?_*	?a*,?c*-?e*?g*
?Y?
?i?k?A??+?m
@J?	>m
':PP8?6?H*?S*??+??2?[*+???]*?D?_*+???a*+???c*+???e*+???g*+???i?7HNOH??8*

'/7?G;???6?b+?????ř*?[?Ȧ+??B6/*?]?7NO8F?B6/*?_?7NO8O??6/*?c?7NO8W<P??6/*?e?7NO8_<P??6?C*?c???qY?r*?c?x*?e????qY?r??x*?e???x???x???7CNO8gh	j9	Yq?q><P??6/*?i?7NO8q6?4?-??	?7?k?*?_???oY?
?	*?_ee??7*4NO4+4%+8|}&~9?&	6?7<*??%?+?1M,?6?,?:???6H?qY?r??x*???xl?x???7NO8???6?p+???W+?*?[??W+??p?v*?]?|??W*?g?+?*?g??W+?*?a??W*??N-?+?-??W+?*?i????W+??W+?7*pNOp??p??M#?082???)?0?<?H?M?Q?Z?i?n?9	;???6D?*+??+?*??+????+?M*?],?]???*?a,?a??*?g,?g??*?[,?[??*?c?*?c,?c?Ú?
,?c??*?i,?i??*?e?*?e,?e?Ě
?,?e???7 ?NO?????O8J??????)?+?6?8?C?E?P?R?q?s?~???9?@??6?n*?[??<h*?a??`<h*?g??`<h*?]??`<h*?c?
*?c?ڧ`<h*?e?
*?e?ۧ`<h*?i??`<?7nNOf?48"???"?/?G?_?l?9*?D?V?
??6r$*??L+??	??????Y*S??+?7$?0??8:;<"@9?"	
??62
?????7?89?Q6	P????k??Y?
?
????p?Y?%?*?Y?.SY?1S?4??8246(89@= !()>	?2
@@	@ 




© 2015 - 2024 Weber Informatics LLC | Privacy Policy