Class RecoveryRecord
java.lang.Object
co.elastic.clients.elasticsearch.cat.recovery.RecoveryRecord
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<RecoveryRecord>Json deserializer forRecoveryRecord -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringbytes()The number of bytes to recover.final StringThe ratio of bytes recovered.final StringThe bytes recovered.final StringThe total number of bytes.final Stringfiles()The number of files to recover.final StringThe ratio of files recovered.final StringThe files recovered.final StringThe total number of files.final Stringindex()The index name.static RecoveryRecordfinal StringThe repository name.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Stringshard()The shard name.final Stringsnapshot()The snapshot name.final StringThe source host.final StringThe source node name.final Stringstage()The recovery stage.final DateTimeThe recovery start time.final LongThe recovery start time in epoch milliseconds.final DateTimestopTime()The recovery stop time.final LongThe recovery stop time in epoch milliseconds.final StringThe target host.final StringThe target node name.final Timetime()The recovery time.toString()final StringThe number of translog operations to recover.final StringThe ratio of translog operations recovered.final StringThe translog operations recovered.final Stringtype()The recovery type.
-
Field Details
-
_DESERIALIZER
Json deserializer forRecoveryRecord
-
-
Method Details
-
of
-
index
The index name.API name:
index -
shard
The shard name.API name:
shard -
startTime
The recovery start time.API name:
start_time -
startTimeMillis
The recovery start time in epoch milliseconds.API name:
start_time_millis -
stopTime
The recovery stop time.API name:
stop_time -
stopTimeMillis
The recovery stop time in epoch milliseconds.API name:
stop_time_millis -
time
The recovery time.API name:
time -
type
The recovery type.API name:
type -
stage
The recovery stage.API name:
stage -
sourceHost
The source host.API name:
source_host -
sourceNode
The source node name.API name:
source_node -
targetHost
The target host.API name:
target_host -
targetNode
The target node name.API name:
target_node -
repository
The repository name.API name:
repository -
snapshot
The snapshot name.API name:
snapshot -
files
The number of files to recover.API name:
files -
filesRecovered
The files recovered.API name:
files_recovered -
filesPercent
The ratio of files recovered.API name:
files_percent -
filesTotal
The total number of files.API name:
files_total -
bytes
The number of bytes to recover.API name:
bytes -
bytesRecovered
The bytes recovered.API name:
bytes_recovered -
bytesPercent
The ratio of bytes recovered.API name:
bytes_percent -
bytesTotal
The total number of bytes.API name:
bytes_total -
translogOps
The number of translog operations to recover.API name:
translog_ops -
translogOpsRecovered
The translog operations recovered.API name:
translog_ops_recovered -
translogOpsPercent
The ratio of translog operations recovered.API name:
translog_ops_percent -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupRecoveryRecordDeserializer
protected static void setupRecoveryRecordDeserializer(ObjectDeserializer<RecoveryRecord.Builder> op)
-