
com.groupbyinc.flux.rest.action.cat.RestAllocationAction.class Maven / Gradle / Ivy
???? 3? 8com/groupbyinc/flux/rest/action/cat/RestAllocationAction 5com/groupbyinc/flux/rest/action/cat/AbstractCatAction RestAllocationAction.java :com/groupbyinc/flux/rest/action/cat/RestAllocationAction$1 +com/groupbyinc/flux/rest/RestRequest$Method $com/groupbyinc/flux/rest/RestRequest
Method *com/groupbyinc/flux/monitor/fs/FsInfo$Path
%com/groupbyinc/flux/monitor/fs/FsInfo Path }(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/rest/RestController;Lcom/groupbyinc/flux/client/Client;)V *Lcom/groupbyinc/flux/common/inject/Inject;
GET -Lcom/groupbyinc/flux/rest/RestRequest$Method; /_cat/allocation 'com/groupbyinc/flux/rest/RestController registerHandler h(Lcom/groupbyinc/flux/rest/RestRequest$Method;Ljava/lang/String;Lcom/groupbyinc/flux/rest/RestHandler;)V
! /_cat/allocation/{nodes} # this :Lcom/groupbyinc/flux/rest/action/cat/RestAllocationAction; settings .Lcom/groupbyinc/flux/common/settings/Settings;
controller )Lcom/groupbyinc/flux/rest/RestController; client #Lcom/groupbyinc/flux/client/Client;
documentation (Ljava/lang/StringBuilder;)V /_cat/allocation
/ java/lang/StringBuilder 1 append -(Ljava/lang/String;)Ljava/lang/StringBuilder; 3 4
2 5 sb Ljava/lang/StringBuilder; doRequest r(Lcom/groupbyinc/flux/rest/RestRequest;Lcom/groupbyinc/flux/rest/RestChannel;Lcom/groupbyinc/flux/client/Client;)V nodes ; data:true = param 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; ? @
A "com/groupbyinc/flux/common/Strings C splitStringByCommaToArray '(Ljava/lang/String;)[Ljava/lang/String; E F
D G Bcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateRequest I ()V K
J L clear F()Lcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateRequest; N O
J P routingTable G(Z)Lcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateRequest; R S
J T local V ()Z V X
J Y paramAsBoolean (Ljava/lang/String;Z)Z [ \
] D(Z)Lcom/groupbyinc/flux/action/support/master/MasterNodeReadRequest; V _
J ` master_timeout b masterNodeTimeout -()Lcom/groupbyinc/flux/common/unit/TimeValue; d e
J f paramAsTime j(Ljava/lang/String;Lcom/groupbyinc/flux/common/unit/TimeValue;)Lcom/groupbyinc/flux/common/unit/TimeValue; h i
j j(Lcom/groupbyinc/flux/common/unit/TimeValue;)Lcom/groupbyinc/flux/action/support/master/MasterNodeRequest; d l
J m !com/groupbyinc/flux/client/Client o admin *()Lcom/groupbyinc/flux/client/AdminClient; q r p s &com/groupbyinc/flux/client/AdminClient u cluster 1()Lcom/groupbyinc/flux/client/ClusterAdminClient; w x v y ?(Lcom/groupbyinc/flux/rest/action/cat/RestAllocationAction;Lcom/groupbyinc/flux/rest/RestChannel;[Ljava/lang/String;Lcom/groupbyinc/flux/client/Client;Lcom/groupbyinc/flux/rest/RestRequest;)V {
| -com/groupbyinc/flux/client/ClusterAdminClient ~ state r(Lcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateRequest;Lcom/groupbyinc/flux/action/ActionListener;)V ? ? ? request &Lcom/groupbyinc/flux/rest/RestRequest; channel &Lcom/groupbyinc/flux/rest/RestChannel; [Ljava/lang/String; clusterStateRequest DLcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateRequest; getTableWithHeader J(Lcom/groupbyinc/flux/rest/RestRequest;)Lcom/groupbyinc/flux/common/Table; com/groupbyinc/flux/common/Table ?
? L startHeaders $()Lcom/groupbyinc/flux/common/Table; ? ?
? ? shards ? 6alias:s;text-align:right;desc:number of shards on node ? addCell H(Ljava/lang/Object;Ljava/lang/String;)Lcom/groupbyinc/flux/common/Table; ? ?
? ? disk.indices ? Balias:di,diskIndices;text-align:right;desc:disk used by ES indices ? disk.used ? Falias:du,diskUsed;text-align:right;desc:disk used (total, not just ES) ?
disk.avail ? 7alias:da,diskAvail;text-align:right;desc:disk available ?
disk.total ? Falias:dt,diskTotal;text-align:right;desc:total capacity of all volumes ? disk.percent ?