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/SettingPropertyDATE_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3"	4java/lang/String6java/lang/System8nanoTime()J:;
9<currentTimeMillis>;
9?
NO_ATTEMPTA/	
B?(Lcom/groupbyinc/flux/cluster/routing/UnassignedInfo$Reason;Ljava/lang/String;Ljava/lang/Exception;IJJZLcom/groupbyinc/flux/cluster/routing/UnassignedInfo$AllocationStatus;)V1D
Ethis4Lcom/groupbyinc/flux/cluster/routing/UnassignedInfo;%Lcom/groupbyinc/flux/common/Nullable;()V1J
Kjava/util/ObjectsMrequireNonNull&(Ljava/lang/Object;)Ljava/lang/Object;OP
NQ!"	S#$	U%$	W&'	Y()	[*+	],-	_./	a0'	cjava/lang/Exceptionejava/lang/AssertionErrorgjava/lang/StringBuilderi
jKfailedAllocations: lappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;no
jp(I)Ljava/lang/StringBuilder;nr
js for reason u-(Ljava/lang/Object;)Ljava/lang/StringBuilder;nw
jxtoString()Ljava/lang/String;z{
j|(Ljava/lang/Object;)V1~
h4provide 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?;
??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;)Vordinal??
?1com/groupbyinc/flux/common/io/stream/StreamOutput?	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;1?
?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/TimeValue?nanos?;
??
hKjava/lang/Math?max(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/RoutingTableshardsWithStateI(Lcom/groupbyinc/flux/cluster/routing/ShardRoutingState;)Ljava/util/List;
java/util/Listiterator()Ljava/util/Iterator;java/util/IteratorhasNext?next()Ljava/lang/Object; !0com/groupbyinc/flux/cluster/routing/ShardRouting#unassignedInfo6()Lcom/groupbyinc/flux/cluster/routing/UnassignedInfo;%&
$'??
)shard2Lcom/groupbyinc/flux/cluster/routing/ShardRouting;state*Lcom/groupbyinc/flux/cluster/ClusterState;countfindNextDelayedAllocation.(JLcom/groupbyinc/flux/cluster/ClusterState;)JmetaData1()Lcom/groupbyinc/flux/cluster/metadata/MetaData;23
4???????-com/groupbyinc/flux/cluster/metadata/MetaData8index#()Lcom/groupbyinc/flux/index/Index;:;
$<W(Lcom/groupbyinc/flux/index/Index;)Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;:>
9?2com/groupbyinc/flux/cluster/metadata/IndexMetaDataAgetSettings0()Lcom/groupbyinc/flux/common/settings/Settings;CD
BE??
G????????newComputedLeftDelayNanoscurrentNanoTime/Lcom/groupbyinc/flux/cluster/metadata/MetaData;2Lcom/groupbyinc/flux/cluster/routing/RoutingTable;nextDelayNanosshortSummary[reason=Q]S, at[U	W7com/groupbyinc/flux/common/joda/FormatDateTimeFormatterYprinterA()Lcom/groupbyinc/flux/common/joda/time/format/DateTimeFormatter;[\
Z]=com/groupbyinc/flux/common/joda/time/format/DateTimeFormatter_print(J)Ljava/lang/String;ab
`c, failed_attempts[e
, delayed=g(Z)Ljava/lang/StringBuilder;ni
jj?{
l
, details[n, allocation_status[pvaluer{

ssbLjava/lang/StringBuilder;detailsunassigned_info[xP{
z
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;??
??wallocation_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;??
???
7?
?oLjava/lang/Object;thathashCode??
?java/lang/Boolean?(Z)I??
??java/lang/Integer?(I)I??
??java/lang/Long?(J)I??
??
7?
?

?resultjava/lang/Class?desiredAssertionStatus??
??dateOptionalTime?$com/groupbyinc/flux/common/joda/Joda?
forPatternM(Ljava/lang/String;)Lcom/groupbyinc/flux/common/joda/FormatDateTimeFormatter;??
??*index.unassigned.node_left.delayed_timeout?timeValueMinutes.(J)Lcom/groupbyinc/flux/common/unit/TimeValue;??
??Dynamic6Lcom/groupbyinc/flux/common/settings/Setting$Property;??	?
IndexScope??	?timeSetting?(Ljava/lang/String;Lcom/groupbyinc/flux/common/unit/TimeValue;[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting;??
?	SignatureCodeLocalVariableTableLineNumberTable
StackMapTable"RuntimeVisibleParameterAnnotations
ExceptionsRuntimeVisibleAnnotations
SourceFileInnerClasses1? !"#$%$&'()*+,-./0'12??*+,+?5???=?@?C?F?? GH!"()?
???/?77?771D???*?L*+?R??T*?V*?X*	?Z*,?\*-?^*?`*
?R?
?b?d?A??+?5???(?hY?jY?km?q?tv?q+?y?}????d?,?-?
?hY?????d?	?+???
?hY??????\	?GH?!"?()?*+?,-?%$?#$?&'	?./
?6
?????!?&?+?1?=??????????L	7f
@J?	7f
'?II1???H*?L*??+??2?T*+???V*?=?X*+???Z*+???\*+???^*+???`*+???b??HGHH???*
???'/7?G??????=+*?T?????+*?V??+*?Z??+*?\??+*?^??+*?`??*?b+?ͱ?=GH=???"	

$,4<?????=	?Y+?Ұ?	GH	????????/*?`??GH????/*?Z??GH?"???/*?T??GH?)?;?/*?V??GH?1?;?/*?X??GH?:?{?/*?\??GH?B?I???/*?^??GH?J?I?{??C*?\???jY?k*?\?q*?^?ݧ?jY?k߶q*?^??q?}?q?}??CGH?RS	U?	Yj?j7?I???/*?b??GH?\????4??-?????7?d?*?X???hY???	*?Xee????*4GH4?$4??%?$?gh&i??&	??7<*??
??M,??,?"?$N-?(?*??????? %
+,7-.5/-?pq%r/s2u5v?
??	01?I
},?5N,?:67?
??:??E?"?$:?(:		?*?'-?=?@?F:
	
?H7??7???6??	I???\	R??
\K$<,%H	53+,}L$}-.x2MrNmO$?2???5?<?D?R?\?d?h?k?? ?9?H?AP{???jY?kL+R?q*?T?yT?qW+V?q?X?^*?V?d?qT?qW*?`?+f?q*?`?tT?qW+h?q*?Z?kW*?mM,?+o?q,?qT?qW+q?q*?b?t?qT?qW+?}?? ?GH?uvk3w)?.???;?B?W?f?k?o???????Wj?)7z{?H?jY?ky?q*?{?qT?q?}??GH??|}??p+??W+?*?T??W+??X?^*?V?d??W*?`?+?*?`??W+?*?Z??W*?mN-?+?-??W+?*?b?t??W+??W+??*pGHp??p??M#w)?2???)?0?<?H?M?Q?Z?i?n??	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy