Class SegmentReplicationRecord
java.lang.Object
org.opensearch.client.opensearch.cat.segment_replication.SegmentReplicationRecord
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<SegmentReplicationRecord.Builder,SegmentReplicationRecord>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class SegmentReplicationRecord
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<SegmentReplicationRecord.Builder,SegmentReplicationRecord>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<SegmentReplicationRecord> Json deserializer forSegmentReplicationRecord -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final Stringbytes()API name:bytesfinal StringAPI name:bytes_behindfinal StringAPI name:bytes_fetchedfinal StringAPI name:bytes_percentfinal StringAPI name:bytes_totalfinal StringAPI name:checkpoints_behindfinal StringAPI name:current_lagbooleanfinal StringAPI name:file_diff_stage_time_takenfinal Stringfiles()API name:filesfinal StringAPI name:files_fetchedfinal StringAPI name:files_percentfinal StringAPI name:files_totalfinal StringAPI name:finalize_replication_stage_time_takenfinal StringAPI name:get_checkpoint_info_stage_time_takenfinal StringAPI name:get_files_stage_time_takeninthashCode()final StringAPI name:last_completed_lagstatic SegmentReplicationRecordfinal StringAPI name:rejected_requestsfinal StringAPI name:replicating_stage_time_takenvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal StringshardId()API name:shardIdfinal Stringstage()API name:stagefinal StringAPI name:start_timefinal StringstopTime()API name:stop_timefinal StringAPI name:target_hostfinal StringAPI name:target_nodefinal Stringtime()API name:timeCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forSegmentReplicationRecord
-
-
Method Details
-
of
public static SegmentReplicationRecord of(Function<SegmentReplicationRecord.Builder, ObjectBuilder<SegmentReplicationRecord>> fn) -
bytes
API name:bytes -
bytesBehind
API name:bytes_behind -
bytesFetched
API name:bytes_fetched -
bytesPercent
API name:bytes_percent -
bytesTotal
API name:bytes_total -
checkpointsBehind
API name:checkpoints_behind -
currentLag
API name:current_lag -
fileDiffStageTimeTaken
API name:file_diff_stage_time_taken -
files
API name:files -
filesFetched
API name:files_fetched -
filesPercent
API name:files_percent -
filesTotal
API name:files_total -
finalizeReplicationStageTimeTaken
API name:finalize_replication_stage_time_taken -
getCheckpointInfoStageTimeTaken
API name:get_checkpoint_info_stage_time_taken -
getFilesStageTimeTaken
API name:get_files_stage_time_taken -
lastCompletedLag
API name:last_completed_lag -
rejectedRequests
API name:rejected_requests -
replicatingStageTimeTaken
API name:replicating_stage_time_taken -
shardId
API name:shardId -
stage
API name:stage -
startTime
API name:start_time -
stopTime
API name:stop_time -
targetHost
API name:target_host -
targetNode
API name:target_node -
time
API name:time -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<SegmentReplicationRecord.Builder,SegmentReplicationRecord> - Returns:
- a new builder instance.
-
builder
-
setupSegmentReplicationRecordDeserializer
protected static void setupSegmentReplicationRecordDeserializer(ObjectDeserializer<SegmentReplicationRecord.Builder> op) -
hashCode
public int hashCode() -
equals
-