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

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

There is a newer version: 59
Show newest version
????3?6com/groupbyinc/flux/rest/action/cat/RestSegmentsAction5com/groupbyinc/flux/rest/action/cat/AbstractCatActionRestSegmentsAction.java8com/groupbyinc/flux/rest/action/cat/RestSegmentsAction$1+com/groupbyinc/flux/rest/RestRequest$Method$com/groupbyinc/flux/rest/RestRequest
Method}(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/segments'com/groupbyinc/flux/rest/RestControllerregisterHandlerh(Lcom/groupbyinc/flux/rest/RestRequest$Method;Ljava/lang/String;Lcom/groupbyinc/flux/rest/RestHandler;)V
/_cat/segments/{index}this8Lcom/groupbyinc/flux/rest/action/cat/RestSegmentsAction;settings.Lcom/groupbyinc/flux/common/settings/Settings;
controller)Lcom/groupbyinc/flux/rest/RestController;client#Lcom/groupbyinc/flux/client/Client;	doRequestr(Lcom/groupbyinc/flux/rest/RestRequest;Lcom/groupbyinc/flux/rest/RestChannel;Lcom/groupbyinc/flux/client/Client;)Vindex*param&(Ljava/lang/String;)Ljava/lang/String;,-
."com/groupbyinc/flux/common/Strings0splitStringByCommaToArray'(Ljava/lang/String;)[Ljava/lang/String;23
14Bcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateRequest6()V
8
79local;()Z;=
7>paramAsBoolean(Ljava/lang/String;Z)Z@A
BD(Z)Lcom/groupbyinc/flux/action/support/master/MasterNodeReadRequest;;D
7Emaster_timeoutGmasterNodeTimeout-()Lcom/groupbyinc/flux/common/unit/TimeValue;IJ
7KparamAsTimej(Ljava/lang/String;Lcom/groupbyinc/flux/common/unit/TimeValue;)Lcom/groupbyinc/flux/common/unit/TimeValue;MN
Oj(Lcom/groupbyinc/flux/common/unit/TimeValue;)Lcom/groupbyinc/flux/action/support/master/MasterNodeRequest;IQ
7RclearF()Lcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateRequest;TU
7VnodesG(Z)Lcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateRequest;XY
7ZroutingTable\Y
7]indicesY([Ljava/lang/String;)Lcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateRequest;_`
7a!com/groupbyinc/flux/client/Clientcadmin*()Lcom/groupbyinc/flux/client/AdminClient;efdg&com/groupbyinc/flux/client/AdminClienticluster1()Lcom/groupbyinc/flux/client/ClusterAdminClient;kljm?(Lcom/groupbyinc/flux/rest/action/cat/RestSegmentsAction;Lcom/groupbyinc/flux/rest/RestChannel;[Ljava/lang/String;Lcom/groupbyinc/flux/client/Client;Lcom/groupbyinc/flux/rest/RestRequest;)V
o
p-com/groupbyinc/flux/client/ClusterAdminClientrstater(Lcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateRequest;Lcom/groupbyinc/flux/action/ActionListener;)Vtusvrequest&Lcom/groupbyinc/flux/rest/RestRequest;channel&Lcom/groupbyinc/flux/rest/RestChannel;[Ljava/lang/String;clusterStateRequestDLcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateRequest;
documentation(Ljava/lang/StringBuilder;)V/_cat/segments
?java/lang/StringBuilder?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??/_cat/segments/{index}
?sbLjava/lang/StringBuilder;getTableWithHeaderJ(Lcom/groupbyinc/flux/rest/RestRequest;)Lcom/groupbyinc/flux/common/Table; com/groupbyinc/flux/common/Table?
?9startHeaders$()Lcom/groupbyinc/flux/common/Table;??
??(default:true;alias:i,idx;desc:index name?addCellH(Ljava/lang/Object;Ljava/lang/String;)Lcom/groupbyinc/flux/common/Table;??
??shard?'default:true;alias:s,sh;desc:shard name?prirep?@alias:p,pr,primaryOrReplica;default:true;desc:primary or replica?ip?+default:true;desc:ip of node where it lives?id?3default:false;desc:unique id of node where it lives?segment?(default:true;alias:seg;desc:segment name?
generation?Adefault:true;alias:g,gen;text-align:right;desc:segment generation?
docs.count?Odefault:true;alias:dc,docsCount;text-align:right;desc:number of docs in segment?docs.deleted?Ydefault:true;alias:dd,docsDeleted;text-align:right;desc:number of deleted docs in segment?size?Adefault:true;alias:si;text-align:right;desc:segment size in bytes?size.memory?Ndefault:true;alias:sm,sizeMemory;text-align:right;desc:segment memory in bytes?	committed?;default:true;alias:ic,isCommitted;desc:is segment committed?
searchable?;default:true;alias:is,isSearchable;desc:is segment searched?version?%default:true;alias:v,ver;desc:version?compound?:default:true;alias:ico,isCompound;desc:is segment compound?
endHeaders??
??table"Lcom/groupbyinc/flux/common/Table;
buildTable?(Lcom/groupbyinc/flux/rest/RestRequest;Lcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateResponse;Ljava/util/Map;)Lcom/groupbyinc/flux/common/Table;??
?Ccom/groupbyinc/flux/action/admin/cluster/state/ClusterStateResponse?getState,()Lcom/groupbyinc/flux/cluster/ClusterState;??
??(com/groupbyinc/flux/cluster/ClusterState?3()Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;X?
??
java/util/Map?values()Ljava/util/Collection;????java/util/Collection?iterator()Ljava/util/Iterator;????/com/groupbyinc/flux/cluster/node/DiscoveryNodes?java/util/Iterator?hasNext?=??next()Ljava/lang/Object;?????com/groupbyinc/flux/action/admin/indices/segments/IndexSegments?	getShards()Ljava/util/Map;
Dcom/groupbyinc/flux/action/admin/indices/segments/IndexShardSegmentsD()[Lcom/groupbyinc/flux/action/admin/indices/segments/ShardSegments;
B[Lcom/groupbyinc/flux/action/admin/indices/segments/ShardSegments;
?com/groupbyinc/flux/action/admin/indices/segments/ShardSegmentsgetSegments()Ljava/util/List;

java/util/List?(com/groupbyinc/flux/index/engine/SegmentstartRow?
?getShardRouting4()Lcom/groupbyinc/flux/cluster/routing/ShardRouting;

0com/groupbyinc/flux/cluster/routing/ShardRoutinggetIndex()Ljava/lang/String; !
"6(Ljava/lang/Object;)Lcom/groupbyinc/flux/common/Table;?$
?%getId()I'(
)java/lang/Integer+valueOf(I)Ljava/lang/Integer;-.
,/primary1=
2p4r6java/lang/String8
currentNodeId:!
;getD(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;=>
??.com/groupbyinc/flux/cluster/node/DiscoveryNodeAgetHostAddressC!
BDgetNameF!
G
getGeneration()JIJ
Kjava/lang/LongM(J)Ljava/lang/Long;-O
NP
getNumDocsR(
SgetDeletedDocsU(
VgetSize1()Lcom/groupbyinc/flux/common/unit/ByteSizeValue;XY
ZgetMemoryInBytes\J
]isCommitted_=
`java/lang/Booleanb(Z)Ljava/lang/Boolean;-d
ceisSearchg=
h
getVersion9()Lcom/groupbyinc/flux/common/apache/lucene/util/Version;jk
l
isCompound()Ljava/lang/Boolean;no
pendRowr?
?s*Lcom/groupbyinc/flux/index/engine/Segment;segments;Ljava/util/List;shardSegmentALcom/groupbyinc/flux/action/admin/indices/segments/ShardSegments;
shardSegmentsindexShardSegmentsFLcom/groupbyinc/flux/action/admin/indices/segments/IndexShardSegments;shardsjLjava/util/Map;Ljava/util/Map;
indexSegmentsALcom/groupbyinc/flux/action/admin/indices/segments/IndexSegments;ELcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateResponse;indicesSegmentsdLjava/util/Map;1Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;
access$000?(Lcom/groupbyinc/flux/rest/action/cat/RestSegmentsAction;Lcom/groupbyinc/flux/rest/RestRequest;Lcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateResponse;Ljava/util/Map;)Lcom/groupbyinc/flux/common/Table;??
?x0x1x2x3CodeLocalVariableTableLineNumberTableRuntimeVisibleAnnotationsLocalVariableTypeTable
StackMapTable	Signature?(Lcom/groupbyinc/flux/rest/RestRequest;Lcom/groupbyinc/flux/action/admin/cluster/state/ClusterStateResponse;Ljava/util/Map;)Lcom/groupbyinc/flux/common/Table;
SourceFileInnerClasses!
?p*+,-?,?*?,?*???* !"#$%&'?5678?()??	i++?/?5:?7Y?::+<???C?FW+H?L?P?SW?W?[?^?bW-?h?n?Y*,-+?q?w??>i !ixyiz{i&'^_|U}~?<>?%@6AIChR??K+???W+???W?? !???VWX???!???Y??M,??W,+???W,????W,????W,????W,????W,????W,????W,????W,????W,????W,?ö?W,?Ƕ?W,?˶?W,?϶?W,?Ӷ?W,??W,?? ? !?xy????N\]
^_`(a1b:cCdLeUf^gghpiyj?k?l?m?n????*+??:,???:-????:???y???:?:????:		???K	???:

?	::?6
6
?"2:?:?:???????:?W??#?&W??*?0?&W??3?	5?7?&W??




© 2015 - 2025 Weber Informatics LLC | Privacy Policy