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

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

There is a newer version: 59
Show newest version
????3?6com/groupbyinc/flux/rest/action/cat/RestRecoveryAction5com/groupbyinc/flux/rest/action/cat/AbstractCatActionRestRecoveryAction.java8com/groupbyinc/flux/rest/action/cat/RestRecoveryAction$28com/groupbyinc/flux/rest/action/cat/RestRecoveryAction$1+com/groupbyinc/flux/rest/RestRequest$Method
$com/groupbyinc/flux/rest/RestRequestMethod8com/groupbyinc/flux/indices/recovery/RecoveryState$Timer2com/groupbyinc/flux/indices/recovery/RecoveryStateTimer7com/groupbyinc/flux/indices/recovery/RecoveryState$TypeType8com/groupbyinc/flux/indices/recovery/RecoveryState$StageStage8com/groupbyinc/flux/indices/recovery/RecoveryState$IndexIndex;com/groupbyinc/flux/indices/recovery/RecoveryState$TranslogTranslog?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/rest/RestController;Lcom/groupbyinc/flux/rest/RestController;Lcom/groupbyinc/flux/client/Client;)V*Lcom/groupbyinc/flux/common/inject/Inject;}(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/rest/RestController;Lcom/groupbyinc/flux/client/Client;)V #
$GET-Lcom/groupbyinc/flux/rest/RestRequest$Method;&'	(/_cat/recovery*'com/groupbyinc/flux/rest/RestController,registerHandlerh(Lcom/groupbyinc/flux/rest/RestRequest$Method;Ljava/lang/String;Lcom/groupbyinc/flux/rest/RestHandler;)V./
-0/_cat/recovery/{index}2this8Lcom/groupbyinc/flux/rest/action/cat/RestRecoveryAction;settings.Lcom/groupbyinc/flux/common/settings/Settings;restController)Lcom/groupbyinc/flux/rest/RestController;
controllerclient#Lcom/groupbyinc/flux/client/Client;
documentation(Ljava/lang/StringBuilder;)V/_cat/recovery
?java/lang/StringBuilderAappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;CD
BE/_cat/recovery/{index}
GsbLjava/lang/StringBuilder;	doRequestr(Lcom/groupbyinc/flux/rest/RestRequest;Lcom/groupbyinc/flux/rest/RestChannel;Lcom/groupbyinc/flux/client/Client;)VAcom/groupbyinc/flux/action/admin/indices/recovery/RecoveryRequestMindexOparam&(Ljava/lang/String;)Ljava/lang/String;QR

S"com/groupbyinc/flux/common/StringsUsplitStringByCommaToArray'(Ljava/lang/String;)[Ljava/lang/String;WX
VY([Ljava/lang/String;)V [
N\detailed^paramAsBoolean(Ljava/lang/String;Z)Z`a

b(Z)V^d
Neactive_onlyg
activeOnlyid
NjindicesOptions5()Lcom/groupbyinc/flux/action/support/IndicesOptions;lm
Nn1com/groupbyinc/flux/action/support/IndicesOptionspfromRequest?(Lcom/groupbyinc/flux/rest/RestRequest;Lcom/groupbyinc/flux/action/support/IndicesOptions;)Lcom/groupbyinc/flux/action/support/IndicesOptions;rs
qtt(Lcom/groupbyinc/flux/action/support/IndicesOptions;)Lcom/groupbyinc/flux/action/support/broadcast/BroadcastRequest;lv
Nw!com/groupbyinc/flux/client/Clientyadmin*()Lcom/groupbyinc/flux/client/AdminClient;{|z}&com/groupbyinc/flux/client/AdminClientindices1()Lcom/groupbyinc/flux/client/IndicesAdminClient;?????(Lcom/groupbyinc/flux/rest/action/cat/RestRecoveryAction;Lcom/groupbyinc/flux/rest/RestChannel;Lcom/groupbyinc/flux/rest/RestRequest;)V ?
	?-com/groupbyinc/flux/client/IndicesAdminClient?
recoveriesq(Lcom/groupbyinc/flux/action/admin/indices/recovery/RecoveryRequest;Lcom/groupbyinc/flux/action/ActionListener;)V????request&Lcom/groupbyinc/flux/rest/RestRequest;channel&Lcom/groupbyinc/flux/rest/RestChannel;recoveryRequestCLcom/groupbyinc/flux/action/admin/indices/recovery/RecoveryRequest;getTableWithHeaderJ(Lcom/groupbyinc/flux/rest/RestRequest;)Lcom/groupbyinc/flux/common/Table; com/groupbyinc/flux/common/Table?()V ?
??startHeaders$()Lcom/groupbyinc/flux/common/Table;??
??alias:i,idx;desc:index name?addCellH(Ljava/lang/Object;Ljava/lang/String;)Lcom/groupbyinc/flux/common/Table;??
??shard?alias:s,sh;desc:shard name?time?alias:t,ti;desc:recovery time?type?alias:ty;desc:recovery type?stage?alias:st;desc:recovery stage?source_host?alias:shost;desc:source host?target_host?alias:thost;desc:target host?
repository?alias:rep;desc:repository?snapshot?alias:snap;desc:snapshot?files?'alias:f;desc:number of files to recover?
files_percent?(alias:fp;desc:percent of files recovered?bytes?%alias:b;desc:size to recover in bytes?
bytes_percent?(alias:bp;desc:percent of bytes recovered?total_files?#alias:tf;desc:total number of files?total_bytes?#alias:tb;desc:total number of bytes?translog?+alias:tr;desc:translog operations recovered?translog_percent?+alias:trp;desc:percent of translog recovery?total_translog?0alias:trt;desc:current total translog operations?
endHeaders??
??t"Lcom/groupbyinc/flux/common/Table;buildRecoveryTable?(Lcom/groupbyinc/flux/rest/RestRequest;Lcom/groupbyinc/flux/action/admin/indices/recovery/RecoveryResponse;)Lcom/groupbyinc/flux/common/Table;??
?Bcom/groupbyinc/flux/action/admin/indices/recovery/RecoveryResponse?shardRecoveryStates()Ljava/util/Map;??
??
java/util/Map?keySet()Ljava/util/Set;????
java/util/Set?iterator()Ljava/util/Iterator;?java/util/IteratorhasNext()Znext()Ljava/lang/Object;
java/lang/Stringget&(Ljava/lang/Object;)Ljava/lang/Object;?java/util/Listsize()I;(Lcom/groupbyinc/flux/rest/action/cat/RestRecoveryAction;)V 
java/lang/Long@(J)Ljava/lang/Long;5B
ACgetType;()Lcom/groupbyinc/flux/indices/recovery/RecoveryState$Type;EF
GtoString()Ljava/lang/String;IJ
Kjava/util/LocaleMROOTLjava/util/Locale;OP	NQtoLowerCase&(Ljava/util/Locale;)Ljava/lang/String;ST
UgetStage<()Lcom/groupbyinc/flux/indices/recovery/RecoveryState$Stage;WX
Y
K
getSourceNode2()Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;\]
^n/a`.com/groupbyinc/flux/cluster/node/DiscoveryNodebgetHostNamedJ
ce
getTargetNodeg]
hgetRestoreSource5()Lcom/groupbyinc/flux/cluster/routing/RestoreSource;jk
l1com/groupbyinc/flux/cluster/routing/RestoreSourcen
snapshotId3()Lcom/groupbyinc/flux/cluster/metadata/SnapshotId;pq
or/com/groupbyinc/flux/cluster/metadata/SnapshotIdt
getRepositoryvJ
uwgetSnapshotyJ
uzgetIndex<()Lcom/groupbyinc/flux/indices/recovery/RecoveryState$Index;|}
~totalRecoverFiles?
?%1.1f%%?java/lang/Object?recoveredFilesPercent()F??
?java/lang/Float?(F)Ljava/lang/Float;5?
??formatK(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;??
?totalRecoverBytes?=
?recoveredBytesPercent??
?totalFileCount?
?
totalBytes?=
?getTranslog?()Lcom/groupbyinc/flux/indices/recovery/RecoveryState$Translog;??
?recoveredOperations?
?recoveredPercent??
?totalOperations?
?endRow??
??state4Lcom/groupbyinc/flux/indices/recovery/RecoveryState;FLjava/util/List;Ljava/util/List;Ljava/lang/String;responseDLcom/groupbyinc/flux/action/admin/indices/recovery/RecoveryResponse;CodeLocalVariableTableLineNumberTableRuntimeVisibleAnnotationsLocalVariableTypeTable
StackMapTable
SourceFileInnerClasses! !?{*+-?%,?)+*?1,?)3*?1??4456789:9;<?6789?"=>?K+@?FW+H?FW??45IJ?=>?KL??V?NY+P?T?Z?]:+_?c?f+h?c?k+?o?u?xW-?~???	Y*,+??????4V45V??V??V;<D???CDE*F9HUN???"???Y??M,??P????????????????????????????????Ķ??ȶ??̶??ж??Զ??ض??ܶ????????????W,?? ?45???????ZRSTUV%W,X3Y:ZA[H\O]V^]_d`karbyc?d?e?f?g????	?*+??N,?????:?	???
?:,????:??????Y*??"?#:?	???
?:-?&W-?)W-?-?2?8?)W-?




© 2015 - 2025 Weber Informatics LLC | Privacy Policy