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

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

There is a newer version: 59
Show newest version
????3T6com/groupbyinc/flux/rest/action/cat/RestSnapshotAction5com/groupbyinc/flux/rest/action/cat/AbstractCatActionRestSnapshotAction.java8com/groupbyinc/flux/rest/action/cat/RestSnapshotAction$1+com/groupbyinc/flux/rest/RestRequest$Method$com/groupbyinc/flux/rest/RestRequest
Method
dateFormat?Lcom/groupbyinc/flux/common/joda/time/format/DateTimeFormatter;}(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/rest/RestController;Lcom/groupbyinc/flux/client/Client;)V*Lcom/groupbyinc/flux/common/inject/Inject;
HH:mm:ss:com/groupbyinc/flux/common/joda/time/format/DateTimeFormat
forPatternS(Ljava/lang/String;)Lcom/groupbyinc/flux/common/joda/time/format/DateTimeFormatter;

	GET-Lcom/groupbyinc/flux/rest/RestRequest$Method;		 /_cat/snapshots/{repository}"'com/groupbyinc/flux/rest/RestController$registerHandlerh(Lcom/groupbyinc/flux/rest/RestRequest$Method;Ljava/lang/String;Lcom/groupbyinc/flux/rest/RestHandler;)V&'
%(this8Lcom/groupbyinc/flux/rest/action/cat/RestSnapshotAction;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;)VJcom/groupbyinc/flux/action/admin/cluster/snapshots/get/GetSnapshotsRequest4()V6
57
repository9param&(Ljava/lang/String;)Ljava/lang/String;;<
=`(Ljava/lang/String;)Lcom/groupbyinc/flux/action/admin/cluster/snapshots/get/GetSnapshotsRequest;9?
5@java/lang/StringB_allD	snapshotsa([Ljava/lang/String;)Lcom/groupbyinc/flux/action/admin/cluster/snapshots/get/GetSnapshotsRequest;FG
5Hignore_unavailableJignoreUnavailable()ZLM
5NparamAsBoolean(Ljava/lang/String;Z)ZPQ
RO(Z)Lcom/groupbyinc/flux/action/admin/cluster/snapshots/get/GetSnapshotsRequest;LT
5Umaster_timeoutWmasterNodeTimeout-()Lcom/groupbyinc/flux/common/unit/TimeValue;YZ
5[paramAsTimej(Ljava/lang/String;Lcom/groupbyinc/flux/common/unit/TimeValue;)Lcom/groupbyinc/flux/common/unit/TimeValue;]^
_j(Lcom/groupbyinc/flux/common/unit/TimeValue;)Lcom/groupbyinc/flux/action/support/master/MasterNodeRequest;Ya
5b!com/groupbyinc/flux/client/Clientdadmin*()Lcom/groupbyinc/flux/client/AdminClient;fgeh&com/groupbyinc/flux/client/AdminClientjcluster1()Lcom/groupbyinc/flux/client/ClusterAdminClient;lmkn?(Lcom/groupbyinc/flux/rest/action/cat/RestSnapshotAction;Lcom/groupbyinc/flux/rest/RestChannel;Lcom/groupbyinc/flux/rest/RestRequest;)Vp
q-com/groupbyinc/flux/client/ClusterAdminClientsgetSnapshotsz(Lcom/groupbyinc/flux/action/admin/cluster/snapshots/get/GetSnapshotsRequest;Lcom/groupbyinc/flux/action/ActionListener;)Vuvtwrequest&Lcom/groupbyinc/flux/rest/RestRequest;channel&Lcom/groupbyinc/flux/rest/RestChannel;getSnapshotsRequestLLcom/groupbyinc/flux/action/admin/cluster/snapshots/get/GetSnapshotsRequest;
documentation(Ljava/lang/StringBuilder;)V/_cat/snapshots/{repository}
?java/lang/StringBuilder?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??sbLjava/lang/StringBuilder;getTableWithHeaderJ(Lcom/groupbyinc/flux/rest/RestRequest;)Lcom/groupbyinc/flux/common/Table; com/groupbyinc/flux/common/Table?
?7startHeaders$()Lcom/groupbyinc/flux/common/Table;??
??id?+alias:id,snapshotId;desc:unique snapshot id?addCellH(Ljava/lang/Object;Ljava/lang/String;)Lcom/groupbyinc/flux/common/Table;??
??status?2alias:s,status;text-align:right;desc:snapshot name?start_epoch?Ialias:ste,startEpoch;desc:start time in seconds since 1970-01-01 00:00:00?
start_time?/alias:sti,startTime;desc:start time in HH:MM:SS?	end_epoch?Ealias:ete,endEpoch;desc:end time in seconds since 1970-01-01 00:00:00?end_time?+alias:eti,endTime;desc:end time in HH:MM:SS?duration?1alias:dur,duration;text-align:right;desc:duration?indices?7alias:i,indices;text-align:right;desc:number of indices?successful_shards?Lalias:ss,successful_shards;text-align:right;desc:number of successful shards?
failed_shards?Dalias:fs,failed_shards;text-align:right;desc:number of failed shards?total_shards?Balias:ts,total_shards;text-align:right;desc:number of total shards?reason?5default:false;alias:r,reason;desc:reason for failures?
endHeaders??
??
buildTable?(Lcom/groupbyinc/flux/rest/RestRequest;Lcom/groupbyinc/flux/action/admin/cluster/snapshots/get/GetSnapshotsResponse;)Lcom/groupbyinc/flux/common/Table;??
?Kcom/groupbyinc/flux/action/admin/cluster/snapshots/get/GetSnapshotsResponse?()Ljava/util/List;u?
??java/util/List?iterator()Ljava/util/Iterator;????java/util/Iterator?hasNext?M??next()Ljava/lang/Object;????*com/groupbyinc/flux/snapshots/SnapshotInfo?startRow??
??name()Ljava/lang/String;??
??6(Ljava/lang/Object;)Lcom/groupbyinc/flux/common/Table;??
??state/()Lcom/groupbyinc/flux/snapshots/SnapshotState;??
??java/util/concurrent/TimeUnit?SECONDSLjava/util/concurrent/TimeUnit;??	??	startTime()J??
??MILLISECONDS??	??convert#(JLjava/util/concurrent/TimeUnit;)J
?java/lang/LongvalueOf(J)Ljava/lang/Long;
=com/groupbyinc/flux/common/joda/time/format/DateTimeFormatter
print(J)Ljava/lang/String;
endTime?
?+com/groupbyinc/flux/snapshots/SnapshotStateIN_PROGRESS-Lcom/groupbyinc/flux/snapshots/SnapshotState;	java/lang/SystemcurrentTimeMillis?
)com/groupbyinc/flux/common/unit/TimeValuetimeValueMillis.(J)Lcom/groupbyinc/flux/common/unit/TimeValue; !
"??
?$size()I&'?(java/lang/Integer*(I)Ljava/lang/Integer;,
+-successfulShards/'
?0failedShards2'
?3totalShards5'
?6??
?8endRow:?
?;durationMillisJsnapshotStatus,Lcom/groupbyinc/flux/snapshots/SnapshotInfo;reqgetSnapshotsResponseMLcom/groupbyinc/flux/action/admin/cluster/snapshots/get/GetSnapshotsResponse;table"Lcom/groupbyinc/flux/common/Table;
access$000?(Lcom/groupbyinc/flux/rest/action/cat/RestSnapshotAction;Lcom/groupbyinc/flux/rest/RestRequest;Lcom/groupbyinc/flux/action/admin/cluster/snapshots/get/GetSnapshotsResponse;)Lcom/groupbyinc/flux/common/Table;??
Hx0x1x2CodeLocalVariableTableLineNumberTableRuntimeVisibleAnnotations
StackMapTable
SourceFileInnerClasses!
Mo*+,-?*??,?!#*?)?N**+,-./01O3a45P23M?]?5Y?8+:?>?A?CYES?I:+K?O?S?VW+X?\?`?cW-?i?o?Y*,+?r?x?N4]*+]yz]{|]01?}~O9
:;=/?@A\G?M@+???W?N*+??O
KL??M?b??Y?????????????????????????????????????????????ö??Ƕ??ʰNb*+byzO>PQRST#U*V1W8X?YFZM[T\[]^^??M?*+??N,?ӹ?:????????:-??W-???W-???W-????????	??W-*??????W-???????	??W-*?????W??????e7????e7-?#??W-?%?)?.??W-?1?.??W-?4?.??W-?7?.??W-?9??W-??R=>'??@*+AzBCDEOVde'f,h6i@jVkgl}m?o?p?r?t?u?v?w?x?y{|	~Q????????TFGME*+,?I?N J+KzLCO0RS	@




© 2015 - 2025 Weber Informatics LLC | Privacy Policy