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: 198
Show newest version
????46com/groupbyinc/flux/rest/action/cat/RestRecoveryAction5com/groupbyinc/flux/rest/action/cat/AbstractCatActionRestRecoveryAction.java8com/groupbyinc/flux/rest/action/cat/RestRecoveryAction$18com/groupbyinc/flux/rest/action/cat/RestRecoveryAction$2Z(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/rest/RestController;)V1(Lcom/groupbyinc/flux/common/settings/Settings;)V/1
2GET-Lcom/groupbyinc/flux/rest/RestRequest$Method;45	6/_cat/recovery8'com/groupbyinc/flux/rest/RestController:registerHandlerh(Lcom/groupbyinc/flux/rest/RestRequest$Method;Ljava/lang/String;Lcom/groupbyinc/flux/rest/RestHandler;)V<=
;>/_cat/recovery/{index}@this8Lcom/groupbyinc/flux/rest/action/cat/RestRecoveryAction;settings.Lcom/groupbyinc/flux/common/settings/Settings;restController)Lcom/groupbyinc/flux/rest/RestController;getName()Ljava/lang/String;cat_recovery_actionJ
documentation(Ljava/lang/StringBuilder;)V/_cat/recovery
Njava/lang/StringBuilderPappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;RS
QT/_cat/recovery/{index}
VsbLjava/lang/StringBuilder;doCatRequest?(Lcom/groupbyinc/flux/rest/RestRequest;Lcom/groupbyinc/flux/client/node/NodeClient;)Lcom/groupbyinc/flux/rest/BaseRestHandler$RestChannelConsumer;Acom/groupbyinc/flux/action/admin/indices/recovery/RecoveryRequest\index^param&(Ljava/lang/String;)Ljava/lang/String;`a
b"com/groupbyinc/flux/common/StringsdsplitStringByCommaToArray'(Ljava/lang/String;)[Ljava/lang/String;fg
eh([Ljava/lang/String;)V/j
]kdetailedmparamAsBoolean(Ljava/lang/String;Z)Zop
q(Z)Vms
]tactive_onlyv
activeOnlyxs
]yindicesOptions5()Lcom/groupbyinc/flux/action/support/IndicesOptions;{|
]}1com/groupbyinc/flux/action/support/IndicesOptionsfromRequest?(Lcom/groupbyinc/flux/rest/RestRequest;Lcom/groupbyinc/flux/action/support/IndicesOptions;)Lcom/groupbyinc/flux/action/support/IndicesOptions;??
??t(Lcom/groupbyinc/flux/action/support/IndicesOptions;)Lcom/groupbyinc/flux/action/support/broadcast/BroadcastRequest;{?
]?"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;)V?lambda$doCatRequest$0?(Lcom/groupbyinc/flux/client/node/NodeClient;Lcom/groupbyinc/flux/action/admin/indices/recovery/RecoveryRequest;Lcom/groupbyinc/flux/rest/RestRequest;Lcom/groupbyinc/flux/rest/RestChannel;)V??
??)(Lcom/groupbyinc/flux/rest/RestChannel;)V?accept
(Lcom/groupbyinc/flux/rest/action/cat/RestRecoveryAction;Lcom/groupbyinc/flux/client/node/NodeClient;Lcom/groupbyinc/flux/action/admin/indices/recovery/RecoveryRequest;Lcom/groupbyinc/flux/rest/RestRequest;)Lcom/groupbyinc/flux/rest/BaseRestHandler$RestChannelConsumer;???request&Lcom/groupbyinc/flux/rest/RestRequest;client,Lcom/groupbyinc/flux/client/node/NodeClient;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?source_node?!alias:snode;desc:source node name?target_host?alias:thost;desc:target host?target_node?!alias:tnode;desc:target node name?
repository?alias:rep;desc:repository?snapshot?alias:snap;desc:snapshot?files?'alias:f;desc:number of files to recover?files_recovered?alias:fr;desc:files recovered?
files_percent?(alias:fp;desc:percent of files recovered?files_total?#alias:tf;desc:total number of files?bytes?'alias:b;desc:number of bytes to recover?bytes_recovered?alias:br;desc:bytes recovered?
bytes_percent?(alias:bp;desc:percent of bytes recovered?bytes_total?#alias:tb;desc:total number of bytes?translog_ops?/alias:to;desc:number of translog ops to recover?translog_ops_recovered?%alias:tor;desc:translog ops recoveredtranslog_ops_percent0alias:top;desc:percent of translog ops recovered
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/RecoveryResponseshardRecoveryStates()Ljava/util/Map;

java/util/MapkeySet()Ljava/util/Set;
java/util/Setiterator()Ljava/util/Iterator; java/util/Iterator"hasNext()Z$%#&next()Ljava/lang/Object;()#*java/lang/String,get&(Ljava/lang/Object;)Ljava/lang/Object;./0java/util/List2size()I4536;(Lcom/groupbyinc/flux/rest/action/cat/RestRecoveryAction;)V/8
	9
<?3 startRowB?
?C6(Ljava/lang/Object;)Lcom/groupbyinc/flux/common/Table;?E
?F
getShardId+()Lcom/groupbyinc/flux/index/shard/ShardId;HI
J'com/groupbyinc/flux/index/shard/ShardIdLidN5
MOjava/lang/IntegerQvalueOf(I)Ljava/lang/Integer;ST
RU)com/groupbyinc/flux/common/unit/TimeValueWgetTimer<()Lcom/groupbyinc/flux/indices/recovery/RecoveryState$Timer;YZ
[()J?]
^(J)V/`
XagetRecoverySource6()Lcom/groupbyinc/flux/cluster/routing/RecoverySource;cd
egetType;()Lcom/groupbyinc/flux/cluster/routing/RecoverySource$Type;gh
itoStringkI
ljava/util/LocalenROOTLjava/util/Locale;pq	ortoLowerCase&(Ljava/util/Locale;)Ljava/lang/String;tu
-vgetStage<()Lcom/groupbyinc/flux/indices/recovery/RecoveryState$Stage;xy
z
"l
getSourceNode2()Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;}~
n/a?.com/groupbyinc/flux/cluster/node/DiscoveryNode?getHostName?I
??java/lang/Object?HI
??
getTargetNode?~
?SNAPSHOT9Lcom/groupbyinc/flux/cluster/routing/RecoverySource$Type;??	?*()Lcom/groupbyinc/flux/snapshots/Snapshot;??
?&com/groupbyinc/flux/snapshots/Snapshot?
getRepository?I
??
getSnapshotId,()Lcom/groupbyinc/flux/snapshots/SnapshotId;??
??(com/groupbyinc/flux/snapshots/SnapshotId?
??getIndex<()Lcom/groupbyinc/flux/indices/recovery/RecoveryState$Index;??
?totalRecoverFiles?5
%?recoveredFileCount?5
%?%1.1f%%?recoveredFilesPercent()F??
%?java/lang/Float?(F)Ljava/lang/Float;S?
??formatK(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;??
-?totalFileCount?5
%?totalRecoverBytes?]
%?java/lang/Long?(J)Ljava/lang/Long;S?
??recoveredBytes?]
%?recoveredBytesPercent??
%?
totalBytes?]
%?getTranslog?()Lcom/groupbyinc/flux/indices/recovery/RecoveryState$Translog;??
?totalOperations?5
(?recoveredOperations?5
(?recoveredPercent??
(?endRow??
??state4Lcom/groupbyinc/flux/indices/recovery/RecoveryState;FLjava/util/List;Ljava/util/List;Ljava/lang/String;responseDLcom/groupbyinc/flux/action/admin/indices/recovery/RecoveryResponse;java/lang/Exception?*com/groupbyinc/flux/client/node/NodeClient?admin*()Lcom/groupbyinc/flux/client/AdminClient;??
??&com/groupbyinc/flux/client/AdminClient?indices1()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????channel&Lcom/groupbyinc/flux/rest/RestChannel;CodeLocalVariableTableLineNumberTableLocalVariableTypeTable
StackMapTable
ExceptionsBootstrapMethods
SourceFileInnerClasses!/0?d*+?3,?79*??,?7A*??? BCDEFG4567HI?-K?BC;LM?K+O?UW+W?UW?BCXY@ABZ[??>?]Y+_?c?i?lN-+n?r?u-+w?r?z-+-?~????W*,-+???*>BC>??>??-??FGH'I4K???R???Y??M,??_????????????????¶??ƶ??ʶ??ζ??Ҷ??ֶ??ڶ??޶?????????????????????????????????	W,? ?BC????
jUVWXY%Z,[3\:]A^H_O`Va]bdckdreyf?g?h?i?j?k?l?m?n
??	l*+?N,???!:?'?M?+?-:,??1?3:?7?????	Y*?:?@?A:?'??+?:-?DW-?GW-?K?P?V?GW-?XY?\?_?b?GW-?f?j?m?s?w?GW-?{?|?s?w?GW-???	???????GW-???	???????GW-?????GW-?????GW-?f??f?j???	???f??????GW-?f??f?j???	???f????????GW-?????V?GW-?????V?GW-?s???Y??????S???GW-?????V?GW-?????ŶGW-???ȸŶGW-?s???Y???˸?S???GW-???θŶGW-?ҶոV?GW-?ҶظV?GW-?s???Y?Ҷ۸?S???GW-??W??????-?Hu???<+?,;^?lBCl??l??f
<+??&{},<?F?I?V?u?z????????????????;?I?M?j?{????????????????/???_?d?g?j???#?2-3?#?}	?#-3#??	?#-3#??R??	?#-3#??t?E??
	?#-3#??Z?E??	?#-3#?????#????m+????,?Y*-?????4BC????????K?????Z	
	@	 @"#@%&	()	+-.




© 2015 - 2024 Weber Informatics LLC | Privacy Policy