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

com.groupbyinc.flux.action.admin.cluster.health.TransportClusterHealthAction.class Maven / Gradle / Ivy

There is a newer version: 129
Show newest version
????4Lcom/groupbyinc/flux/action/admin/cluster/health/TransportClusterHealthAction?Lcom/groupbyinc/flux/action/support/master/TransportMasterNodeReadAction;Gcom/groupbyinc/flux/action/support/master/TransportMasterNodeReadAction!TransportClusterHealthAction.javaNcom/groupbyinc/flux/action/admin/cluster/health/TransportClusterHealthAction$3Ncom/groupbyinc/flux/action/admin/cluster/health/TransportClusterHealthAction$2	Ncom/groupbyinc/flux/action/admin/cluster/health/TransportClusterHealthAction$19com/groupbyinc/flux/cluster/ClusterStateObserver$Listener
0com/groupbyinc/flux/cluster/ClusterStateObserverListener/com/groupbyinc/flux/threadpool/ThreadPool$Names)com/groupbyinc/flux/threadpool/ThreadPoolNames%java/lang/invoke/MethodHandles$Lookupjava/lang/invoke/MethodHandlesLookupgatewayAllocator.Lcom/groupbyinc/flux/gateway/GatewayAllocator;$assertionsDisabledZb(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/transport/TransportService;Lcom/groupbyinc/flux/cluster/service/ClusterService;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/action/support/ActionFilters;Lcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver;Lcom/groupbyinc/flux/gateway/GatewayAllocator;)V*Lcom/groupbyinc/flux/common/inject/Inject;cluster:monitor/health#"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;,Dcom/groupbyinc/flux/action/admin/cluster/health/ClusterHealthRequest.()V 0
/12H()Lcom/groupbyinc/flux/action/admin/cluster/health/ClusterHealthRequest;4get()Ljava/util/function/Supplier;678d(Lcom/groupbyinc/flux/common/settings/Settings;Ljava/lang/String;ZLcom/groupbyinc/flux/transport/TransportService;Lcom/groupbyinc/flux/cluster/service/ClusterService;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/action/support/ActionFilters;Lcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver;Ljava/util/function/Supplier;)V :
;	=thisNLcom/groupbyinc/flux/action/admin/cluster/health/TransportClusterHealthAction;settings.Lcom/groupbyinc/flux/common/settings/Settings;transportService0Lcom/groupbyinc/flux/transport/TransportService;clusterService4Lcom/groupbyinc/flux/cluster/service/ClusterService;
threadPool+Lcom/groupbyinc/flux/threadpool/ThreadPool;
actionFilters2Lcom/groupbyinc/flux/action/support/ActionFilters;indexNameExpressionResolverBLcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver;executor()Ljava/lang/String;sameO
checkBlock?(Lcom/groupbyinc/flux/action/admin/cluster/health/ClusterHealthRequest;Lcom/groupbyinc/flux/cluster/ClusterState;)Lcom/groupbyinc/flux/cluster/block/ClusterBlockException;requestFLcom/groupbyinc/flux/action/admin/cluster/health/ClusterHealthRequest;state*Lcom/groupbyinc/flux/cluster/ClusterState;newResponseI()Lcom/groupbyinc/flux/action/admin/cluster/health/ClusterHealthResponse;Ecom/groupbyinc/flux/action/admin/cluster/health/ClusterHealthResponseY
Z1masterOperation?(Lcom/groupbyinc/flux/action/admin/cluster/health/ClusterHealthRequest;Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/action/ActionListener;)Vjava/lang/Exception^logger8Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;`a	b;+Lcom/groupbyinc/flux/action/ActionListener;?(Lcom/groupbyinc/flux/tasks/Task;Lcom/groupbyinc/flux/action/admin/cluster/health/ClusterHealthRequest;Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/action/ActionListener;)V
waitForEvents'()Lcom/groupbyinc/flux/common/Priority;vw
/xjava/lang/SystemznanoTime()J|}
{~)com/groupbyinc/flux/common/unit/TimeValue?
nsecToMSec(J)J??
??timeout-()Lcom/groupbyinc/flux/common/unit/TimeValue;??
/?millis?}
??local()Z??
/?EF	?java/lang/StringBuilder?
?1!cluster_health (wait_for_events [?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??-(Ljava/lang/Object;)Ljava/lang/StringBuilder;??
??])?toString?N
???(Lcom/groupbyinc/flux/action/admin/cluster/health/TransportClusterHealthAction;Lcom/groupbyinc/flux/common/Priority;JLcom/groupbyinc/flux/action/admin/cluster/health/ClusterHealthRequest;Lcom/groupbyinc/flux/action/ActionListener;)V ?
?2com/groupbyinc/flux/cluster/service/ClusterService?submitStateUpdateTaskI(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/ClusterStateTaskConfig;)V??
??(Lcom/groupbyinc/flux/action/admin/cluster/health/TransportClusterHealthAction;Lcom/groupbyinc/flux/common/Priority;JLcom/groupbyinc/flux/action/admin/cluster/health/ClusterHealthRequest;Lcom/groupbyinc/flux/action/ActionListener;Lcom/groupbyinc/flux/tasks/Task;)V ?

?
executeHealtht(Lcom/groupbyinc/flux/action/admin/cluster/health/ClusterHealthRequest;Lcom/groupbyinc/flux/action/ActionListener;)V??
?	endTimeMSJtask Lcom/groupbyinc/flux/tasks/Task;unusedState
waitForStatus:()Lcom/groupbyinc/flux/cluster/health/ClusterHealthStatus;??
/?waitForNoRelocatingShards??
/?waitForActiveShards7()Lcom/groupbyinc/flux/action/support/ActiveShardCount;??
/?3com/groupbyinc/flux/action/support/ActiveShardCount?NONE5Lcom/groupbyinc/flux/action/support/ActiveShardCount;??	??equals(Ljava/lang/Object;)Z??
??waitForNodes?N
/?java/lang/String?isEmpty??
??indices()[Ljava/lang/String;??
/?	?java/lang/AssertionError?
?1,()Lcom/groupbyinc/flux/cluster/ClusterState;U?
??GH	?getThreadContext<()Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext;??
??(Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/cluster/service/ClusterService;Lcom/groupbyinc/flux/common/unit/TimeValue;Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext;)V ?
?)com/groupbyinc/flux/action/ActionListener?(com/groupbyinc/flux/cluster/ClusterState?getResponse?(Lcom/groupbyinc/flux/action/admin/cluster/health/ClusterHealthRequest;Lcom/groupbyinc/flux/cluster/ClusterState;IZ)Lcom/groupbyinc/flux/action/admin/cluster/health/ClusterHealthResponse;??
?
onResponse(Ljava/lang/Object;)V?????lambda$executeHealth$0t(Lcom/groupbyinc/flux/action/admin/cluster/health/ClusterHealthRequest;ILcom/groupbyinc/flux/cluster/ClusterState;)Z??
??-(Lcom/groupbyinc/flux/cluster/ClusterState;)Z?test?(Lcom/groupbyinc/flux/action/admin/cluster/health/TransportClusterHealthAction;Lcom/groupbyinc/flux/action/admin/cluster/health/ClusterHealthRequest;I)Ljava/util/function/Predicate;??(Lcom/groupbyinc/flux/action/admin/cluster/health/TransportClusterHealthAction;Lcom/groupbyinc/flux/action/ActionListener;Lcom/groupbyinc/flux/action/admin/cluster/health/ClusterHealthRequest;ILcom/groupbyinc/flux/cluster/ClusterStateObserver;)V 
java/util/function/Predicate??onNewClusterState-(Lcom/groupbyinc/flux/cluster/ClusterState;)V
waitForNextChange?(Lcom/groupbyinc/flux/cluster/ClusterStateObserver$Listener;Ljava/util/function/Predicate;Lcom/groupbyinc/flux/common/unit/TimeValue;)V
waitForIobserver2Lcom/groupbyinc/flux/cluster/ClusterStateObserver;concreteWaitForvalidationPredicateJLjava/util/function/Predicate;Ljava/util/function/Predicate;
stateListener;Lcom/groupbyinc/flux/cluster/ClusterStateObserver$Listener;validateRequestt(Lcom/groupbyinc/flux/action/admin/cluster/health/ClusterHealthRequest;Lcom/groupbyinc/flux/cluster/ClusterState;I)ZgetMasterService5()Lcom/groupbyinc/flux/cluster/service/MasterService;
? 1com/groupbyinc/flux/cluster/service/MasterService"numberOfPendingTasks()I$%
#&,com/groupbyinc/flux/gateway/GatewayAllocator(getNumberOfInFlightFetch*%
)+getMaxTaskWaitTime-?
#.
clusterHealth?(Lcom/groupbyinc/flux/action/admin/cluster/health/ClusterHealthRequest;Lcom/groupbyinc/flux/cluster/ClusterState;IILcom/groupbyinc/flux/common/unit/TimeValue;)Lcom/groupbyinc/flux/action/admin/cluster/health/ClusterHealthResponse;01
2prepareResponse?(Lcom/groupbyinc/flux/action/admin/cluster/health/ClusterHealthRequest;Lcom/groupbyinc/flux/action/admin/cluster/health/ClusterHealthResponse;Lcom/groupbyinc/flux/cluster/ClusterState;I)Z45
6clusterStateresponseGLcom/groupbyinc/flux/action/admin/cluster/health/ClusterHealthResponse;setTimedOut(Z)V;<
Z=timedOutvalid0com/groupbyinc/flux/index/IndexNotFoundExceptionA	getStatusC?
ZD6com/groupbyinc/flux/cluster/health/ClusterHealthStatusFvalue()BHI
GJgetRelocatingShardsL%
ZMDEFAULTO?	?PXwaitForActiveShards must not be DEFAULT on the request object, instead it should be NONER ?
?TALLV?	?WgetUnassignedShardsY%
ZZgetInitializingShards\%
Z]getActiveShards_%
Z`enoughShardsActive(I)Zbc
?dKL	f1com/groupbyinc/flux/action/support/IndicesOptionshstrictExpand5()Lcom/groupbyinc/flux/action/support/IndicesOptions;jk
il@com/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolvernconcreteIndexNames?(Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/action/support/IndicesOptions;[Ljava/lang/String;)[Ljava/lang/String;pq
orRED8Lcom/groupbyinc/flux/cluster/health/ClusterHealthStatus;tu	Gv	setStatus;(Lcom/groupbyinc/flux/cluster/health/ClusterHealthStatus;)Vxy
Zz>=|
startsWith(Ljava/lang/String;)Z~
??	substring(I)Ljava/lang/String;??
??java/lang/Integer?parseInt(Ljava/lang/String;)I??
??getNumberOfNodes?%
Z?ge(?length?%
??(II)Ljava/lang/String;??
??<=?le(?>?gt(?<?lt(?e2Lcom/groupbyinc/flux/index/IndexNotFoundException;expectedwaitForCounterisTraceEnabled??g?.Calculating health based on state version [{}]?version?}
??java/lang/Long?valueOf(J)Ljava/lang/Long;??
??trace'(Ljava/lang/String;Ljava/lang/Object;)V??g?j(Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/action/IndicesRequest;)[Ljava/lang/String;p?
o?getClusterName+()Lcom/groupbyinc/flux/cluster/ClusterName;??
??'com/groupbyinc/flux/cluster/ClusterName?HN
??"com/groupbyinc/flux/common/Strings?EMPTY_ARRAY[Ljava/lang/String;??	??2com/groupbyinc/flux/cluster/routing/UnassignedInfo?getNumberOfDelayedUnassigned-(Lcom/groupbyinc/flux/cluster/ClusterState;)I??
???(Ljava/lang/String;[Ljava/lang/String;Lcom/groupbyinc/flux/cluster/ClusterState;IIILcom/groupbyinc/flux/common/unit/TimeValue;)V ?
Z??concreteIndicesnumberOfInFlightFetchpendingTaskTimeInQueue+Lcom/groupbyinc/flux/common/unit/TimeValue;?(Lcom/groupbyinc/flux/action/support/master/MasterNodeRequest;Lcom/groupbyinc/flux/cluster/ClusterState;)Lcom/groupbyinc/flux/cluster/block/ClusterBlockException;QR
??(Lcom/groupbyinc/flux/tasks/Task;Lcom/groupbyinc/flux/action/support/master/MasterNodeRequest;Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/action/ActionListener;)V\u
??(Lcom/groupbyinc/flux/action/support/master/MasterNodeRequest;Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/action/ActionListener;)V\]
?-()Lcom/groupbyinc/flux/action/ActionResponse;WX
?
?newState
access$000?(Lcom/groupbyinc/flux/action/admin/cluster/health/TransportClusterHealthAction;Lcom/groupbyinc/flux/action/admin/cluster/health/ClusterHealthRequest;Lcom/groupbyinc/flux/action/ActionListener;)Vx0x1x2
access$100?(Lcom/groupbyinc/flux/action/admin/cluster/health/TransportClusterHealthAction;)Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger;
access$200
access$300?(Lcom/groupbyinc/flux/action/admin/cluster/health/TransportClusterHealthAction;Lcom/groupbyinc/flux/tasks/Task;Lcom/groupbyinc/flux/action/support/master/MasterNodeRequest;Lcom/groupbyinc/flux/action/ActionListener;)V	doExecute?(Lcom/groupbyinc/flux/tasks/Task;Lcom/groupbyinc/flux/action/support/master/MasterNodeRequest;Lcom/groupbyinc/flux/action/ActionListener;)V??
?=Lcom/groupbyinc/flux/action/support/master/MasterNodeRequest;x3
access$400
access$500	(Lcom/groupbyinc/flux/action/admin/cluster/health/TransportClusterHealthAction;Lcom/groupbyinc/flux/action/admin/cluster/health/ClusterHealthRequest;Lcom/groupbyinc/flux/cluster/ClusterState;IZ)Lcom/groupbyinc/flux/action/admin/cluster/health/ClusterHealthResponse;x4java/lang/Class?desiredAssertionStatus??
??CodeLocalVariableTableLineNumberTableRuntimeVisibleAnnotationsLocalVariableTypeTable
Exceptions	Signature?(Lcom/groupbyinc/flux/action/admin/cluster/health/ClusterHealthRequest;Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/action/ActionListener;)V
StackMapTable(Lcom/groupbyinc/flux/tasks/Task;Lcom/groupbyinc/flux/action/admin/cluster/health/ClusterHealthRequest;Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/action/ActionListener;)V?(Lcom/groupbyinc/flux/action/admin/cluster/health/ClusterHealthRequest;Lcom/groupbyinc/flux/action/ActionListener;)VBootstrapMethods
SourceFileInnerClasses! !?
*+$,-?9?<*?>?R?@ABCDEFGHIJKL:<="MN-P??@BQR@? ?@STUVGWX2?ZY?[??@L\]s*?ce?k?mYo?q?*?@STUVrtrs
QR_\u.?,?y?????,????a7,???9*????Y?????,?y????????Y*,?y,?????7*????Y?????,?y????????
Y*,?y,+?????
*,???>q????@????ST??V?rt?rs"WXYZTo??????	?T?3
??D		?>+?????+?????+?òɶ͙??+?жՙ??+???+?پ????ۚ???Y?޿*????:?Y*??*?c*????:+????	??#,*++????	???????6*+?:?Y*,+?:?	??
?+????\	??@?ST?rt?`?UV{p?A?6?&?rs?6b??	????#?&?0?3?B?E?W?`?{???????????????????	a?	?E/???/??/???/??5?-*+,*???!?'*?>?,*???!?/?3:*+,?7?4-?@-ST-8V-#
9:???#???]*+,*???!?'*?>?,*???!?/?3:*+,?76?ۚ????Y?޿????>?H]?@]ST]8V]]?#:9:./@???#?.?F?Z?	'?FZOZ?/?ZZ458R6+???,?E?K+???K??+???
,?N??+?òɶ͚S+??:?ۚ?Q?͙??YS?U??X?͙,?[?,?^?	??,?a?e??+???*+?پ?"*?g-?m+?ٶsW??:,?w?{+?ж՚?+??}???+??????6,?????[+??????(+??+?ж?d????6,?????)+??????+??????6,?????+??????(+??+?ж?d????6,??????+??????+??????6,??????+??????(+??+?ж?d????6,?????s+??????+??????6,?????J+??????(+??+?ж?d????6,?????+?и?6,??????????B?BJ????????9?k???????!?9?R?@RSTR9:R8VRO??:????,?/?<?B?^?j?q?w?}??????????????????????????????,9BEUk	t
w?
???????????!*- 0!9"B#E'	*??.??dB/.%.%.%.
@01=		r*?c???*?c?,??????*?g,+??:?-:?ZY,???ò?,,????:?w?{??ZY,????,,???Ұ*-Bf
*??L9:/(??r?@rSTr8Vr$r?r??W??2-.3*;-4/6B7L9T:W=i>q=	
MB?)?DQ?4
*+?/,?ڰ
?@2D\?7
*+,?/-?ݱ
?@2_D\?5*+?/,-???@2_DW?/*???@2??P*+-??*?@ST?V???E*+,??? ?@?T?t2??/*?c??@2??/*?c??@2??P*+,-???*?@?????t2??/*?c??@2??\
*+,??4
?@
?T
?V
?
?2?04????۱2	@+-35+???
2
		




© 2015 - 2025 Weber Informatics LLC | Privacy Policy