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

com.groupbyinc.flux.rest.action.cat.RestHealthAction.class Maven / Gradle / Ivy

????4,4com/groupbyinc/flux/rest/action/cat/RestHealthAction5com/groupbyinc/flux/rest/action/cat/AbstractCatActionRestHealthAction.java6com/groupbyinc/flux/rest/action/cat/RestHealthAction$1Z(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/rest/RestController;)V1(Lcom/groupbyinc/flux/common/settings/Settings;)V
GET-Lcom/groupbyinc/flux/rest/RestRequest$Method;	/_cat/health 'com/groupbyinc/flux/rest/RestController"registerHandlerh(Lcom/groupbyinc/flux/rest/RestRequest$Method;Ljava/lang/String;Lcom/groupbyinc/flux/rest/RestHandler;)V$%
#&this6Lcom/groupbyinc/flux/rest/action/cat/RestHealthAction;settings.Lcom/groupbyinc/flux/common/settings/Settings;
controller)Lcom/groupbyinc/flux/rest/RestController;getName()Ljava/lang/String;cat_health_action0
documentation(Ljava/lang/StringBuilder;)V
/_cat/health
4java/lang/StringBuilder6append-(Ljava/lang/String;)Ljava/lang/StringBuilder;89
7:sbLjava/lang/StringBuilder;doCatRequest?(Lcom/groupbyinc/flux/rest/RestRequest;Lcom/groupbyinc/flux/client/node/NodeClient;)Lcom/groupbyinc/flux/rest/BaseRestHandler$RestChannelConsumer;Dcom/groupbyinc/flux/action/admin/cluster/health/ClusterHealthRequest@()VB
AC"java/lang/invoke/LambdaMetafactoryEmetafactory?(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;GH
FIJ(Ljava/lang/Object;)VLlambda$doCatRequest$0?(Lcom/groupbyinc/flux/client/node/NodeClient;Lcom/groupbyinc/flux/action/admin/cluster/health/ClusterHealthRequest;Lcom/groupbyinc/flux/rest/RestRequest;Lcom/groupbyinc/flux/rest/RestChannel;)VNO
PQ)(Lcom/groupbyinc/flux/rest/RestChannel;)VSaccept(Lcom/groupbyinc/flux/rest/action/cat/RestHealthAction;Lcom/groupbyinc/flux/client/node/NodeClient;Lcom/groupbyinc/flux/action/admin/cluster/health/ClusterHealthRequest;Lcom/groupbyinc/flux/rest/RestRequest;)Lcom/groupbyinc/flux/rest/BaseRestHandler$RestChannelConsumer;UVWrequest&Lcom/groupbyinc/flux/rest/RestRequest;client,Lcom/groupbyinc/flux/client/node/NodeClient;clusterHealthRequestFLcom/groupbyinc/flux/action/admin/cluster/health/ClusterHealthRequest;getTableWithHeaderJ(Lcom/groupbyinc/flux/rest/RestRequest;)Lcom/groupbyinc/flux/common/Table; com/groupbyinc/flux/common/Tablea
bCstartHeadersWithTimestamp$()Lcom/groupbyinc/flux/common/Table;de
bfclusterhalias:cl;desc:cluster namejaddCellH(Ljava/lang/Object;Ljava/lang/String;)Lcom/groupbyinc/flux/common/Table;lm
bnstatuspalias:st;desc:health statusr
node.totalt>alias:nt,nodeTotal;text-align:right;desc:total number of nodesv	node.dataxKalias:nd,nodeData;text-align:right;desc:number of nodes that can store datazshards|Palias:t,sh,shards.total,shardsTotal;text-align:right;desc:total number of shards~pri?Salias:p,shards.primary,shardsPrimary;text-align:right;desc:number of primary shards?relo?[alias:r,shards.relocating,shardsRelocating;text-align:right;desc:number of relocating nodes?init?aalias:i,shards.initializing,shardsInitializing;text-align:right;desc:number of initializing nodes?unassign?\alias:u,shards.unassigned,shardsUnassigned;text-align:right;desc:number of unassigned shards?
pending_tasks?Calias:pt,pendingTasks;text-align:right;desc:number of pending tasks?max_task_wait_time?Ralias:mtwt,maxTaskWaitTime;text-align:right;desc:wait time of longest task pending?active_shards_percent?Valias:asp,activeShardsPercent;text-align:right;desc:active number of shards in percent?
endHeaders?e
b?t"Lcom/groupbyinc/flux/common/Table;
buildTable?(Lcom/groupbyinc/flux/action/admin/cluster/health/ClusterHealthResponse;Lcom/groupbyinc/flux/rest/RestRequest;)Lcom/groupbyinc/flux/common/Table;_`
?startRow?e
b?Ecom/groupbyinc/flux/action/admin/cluster/health/ClusterHealthResponse?getClusterName?/
??6(Ljava/lang/Object;)Lcom/groupbyinc/flux/common/Table;l?
b?	getStatus:()Lcom/groupbyinc/flux/cluster/health/ClusterHealthStatus;??
??6com/groupbyinc/flux/cluster/health/ClusterHealthStatus?name?/
??java/util/Locale?ROOTLjava/util/Locale;??	??java/lang/String?toLowerCase&(Ljava/util/Locale;)Ljava/lang/String;??
??getNumberOfNodes()I??
??java/lang/Integer?valueOf(I)Ljava/lang/Integer;??
??getNumberOfDataNodes??
??getActiveShards??
??getActivePrimaryShards??
??getRelocatingShards??
??getInitializingShards??
??getUnassignedShards??
??getNumberOfPendingTasks??
??getTaskMaxWaitingTime-()Lcom/groupbyinc/flux/common/unit/TimeValue;??
??)com/groupbyinc/flux/common/unit/TimeValue?millis()J??
??-?java/lang/Object?%1.1f%%?getActiveShardsPercent()D??
??java/lang/Double?(D)Ljava/lang/Double;??
??formatK(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;??
??endRowe
bhealthGLcom/groupbyinc/flux/action/admin/cluster/health/ClusterHealthResponse;java/lang/Exception*com/groupbyinc/flux/client/node/NodeClientadmin*()Lcom/groupbyinc/flux/client/AdminClient;

	&com/groupbyinc/flux/client/AdminClient1()Lcom/groupbyinc/flux/client/ClusterAdminClient;h?(Lcom/groupbyinc/flux/rest/action/cat/RestHealthAction;Lcom/groupbyinc/flux/rest/RestChannel;Lcom/groupbyinc/flux/rest/RestRequest;)V
-com/groupbyinc/flux/client/ClusterAdminClientt(Lcom/groupbyinc/flux/action/admin/cluster/health/ClusterHealthRequest;Lcom/groupbyinc/flux/action/ActionListener;)Vchannel&Lcom/groupbyinc/flux/rest/RestChannel;
access$000?(Lcom/groupbyinc/flux/rest/action/cat/RestHealthAction;Lcom/groupbyinc/flux/action/admin/cluster/health/ClusterHealthResponse;Lcom/groupbyinc/flux/rest/RestRequest;)Lcom/groupbyinc/flux/common/Table;??
x0x1x2CodeLocalVariableTableLineNumberTable
StackMapTable
ExceptionsBootstrapMethods
SourceFileInnerClasses!$V*+?,?!*?'?% ()*+,-&&'(./$-1?%()&,23$@+5?;W?%()<=&
12>?$^?AY?DN*,-+?X?%*()YZ[\
]^&
68_`$???bY?cM,?gW,ik?oW,qs?oW,uw?oW,y{?oW,}?oW,???oW,???oW,???oW,???oW,???oW,???oW,???oW,??W,?% ?()?YZx??&BBC
DEF(G1H:ICJLKUL^MgNpOyP~R??$}?*,??N-??W-+????W-+???????Ķ?W-+?ȸζ?W-+?Ѹζ?W-+?Ըζ?W-+?׸ζ?W-+?ڸζ?W-+?ݸζ?W-+??ζ?W-+??ζ?W-+???	???+???W-?????Y+????S???W-?W-?%*?()??YZ???&BVWXY&Z2[>\J]V^b_n`za?b?c?d?e'1???bb??bb?NO$m+?
?,?Y*-???%4()[\]^YZ&8($E*+,? ?% !)"#Z&$)KMRT*+"	@




© 2015 - 2025 Weber Informatics LLC | Privacy Policy