forked from opensearch-project/opensearch-net
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Thomas Farr <[email protected]>
- Loading branch information
Showing
12 changed files
with
1,149 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
89 changes: 89 additions & 0 deletions
89
src/OpenSearch.Client/Cat/CatSegmentReplication/CatSegmentReplicationRecord.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
/* SPDX-License-Identifier: Apache-2.0 | ||
* | ||
* The OpenSearch Contributors require contributions made to | ||
* this file be licensed under the Apache-2.0 license or a | ||
* compatible open source license. | ||
*/ | ||
|
||
using System.Runtime.Serialization; | ||
|
||
namespace OpenSearch.Client; | ||
|
||
[DataContract] | ||
public class CatSegmentReplicationRecord : ICatRecord | ||
{ | ||
[DataMember(Name = "shardId")] | ||
public string ShardId { get; set; } | ||
|
||
[DataMember(Name = "target_node")] | ||
public string TargetNode { get; set; } | ||
|
||
[DataMember(Name = "target_host")] | ||
public string TargetHost { get; set; } | ||
|
||
[DataMember(Name = "checkpoints_behind")] | ||
public string CheckpointsBehind { get; set; } | ||
|
||
[DataMember(Name = "bytes_behind")] | ||
public string BytesBehind { get; set; } | ||
|
||
[DataMember(Name = "current_lag")] | ||
public string CurrentLag { get; set; } | ||
|
||
[DataMember(Name = "last_completed_lag")] | ||
public string LastCompletedLag { get; set; } | ||
|
||
[DataMember(Name = "rejected_requests")] | ||
public string RejectedRequests { get; set; } | ||
|
||
[DataMember(Name = "stage")] | ||
public string Stage { get; set; } | ||
|
||
[DataMember(Name = "time")] | ||
public string Time { get; set; } | ||
|
||
[DataMember(Name = "files_fetched")] | ||
public string FilesFetched { get; set; } | ||
|
||
[DataMember(Name = "files_percent")] | ||
public string FilesPercent { get; set; } | ||
|
||
[DataMember(Name = "bytes_fetched")] | ||
public string BytesFetched { get; set; } | ||
|
||
[DataMember(Name = "bytes_percent")] | ||
public string BytesPercent { get; set; } | ||
|
||
[DataMember(Name = "start_time")] | ||
public string StartTime { get; set; } | ||
|
||
[DataMember(Name = "stop_time")] | ||
public string StopTime { get; set; } | ||
|
||
[DataMember(Name = "files")] | ||
public string Files { get; set; } | ||
|
||
[DataMember(Name = "files_total")] | ||
public string FilesTotal { get; set; } | ||
|
||
[DataMember(Name = "bytes")] | ||
public string Bytes { get; set; } | ||
|
||
[DataMember(Name = "bytes_total")] | ||
public string BytesTotal { get; set; } | ||
|
||
[DataMember(Name = "replicating_stage_time_taken")] | ||
public string ReplicatingStageTimeTaken { get; set; } | ||
|
||
[DataMember(Name = "get_checkpoint_info_stage_time_taken")] | ||
public string GetCheckpointInfoStageTimeTaken { get; set; } | ||
|
||
[DataMember(Name = "file_diff_stage_time_taken")] | ||
public string FileDiffStageTimeTaken { get; set; } | ||
|
||
[DataMember(Name = "get_files_stage_time_taken")] | ||
public string GetFilesStageTimeTaken { get; set; } | ||
|
||
[DataMember(Name = "finalize_replication_stage_time_taken")] | ||
public string FinalizeReplicationStageTimeTaken { get; set; } | ||
} |
15 changes: 15 additions & 0 deletions
15
src/OpenSearch.Client/Cat/CatSegmentReplication/CatSegmentReplicationRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* SPDX-License-Identifier: Apache-2.0 | ||
* | ||
* The OpenSearch Contributors require contributions made to | ||
* this file be licensed under the Apache-2.0 license or a | ||
* compatible open source license. | ||
*/ | ||
|
||
namespace OpenSearch.Client; | ||
|
||
[MapsApi("cat.segment_replication")] | ||
public partial interface ICatSegmentReplicationRequest { } | ||
|
||
public partial class CatSegmentReplicationRequest { } | ||
|
||
public partial class CatSegmentReplicationDescriptor { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.