Class RecoveryRecord
java.lang.Object
co.elastic.clients.elasticsearch.cat.recovery.RecoveryRecord
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<RecoveryRecord>
Json deserializer forRecoveryRecord
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
bytes()
The number of bytes to recover.final String
The ratio of bytes recovered.final String
The bytes recovered.final String
The total number of bytes.final String
files()
The number of files to recover.final String
The ratio of files recovered.final String
The files recovered.final String
The total number of files.final String
index()
The index name.static RecoveryRecord
final String
The repository name.void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
final String
shard()
The shard name.final String
snapshot()
The snapshot name.final String
The source host.final String
The source node name.final String
stage()
The recovery stage.final DateTime
The recovery start time.final Long
The recovery start time in epoch milliseconds.final DateTime
stopTime()
The recovery stop time.final Long
The recovery stop time in epoch milliseconds.final String
The target host.final String
The target node name.final Time
time()
The recovery time.toString()
final String
The number of translog operations to recover.final String
The ratio of translog operations recovered.final String
The translog operations recovered.final String
type()
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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupRecoveryRecordDeserializer
protected static void setupRecoveryRecordDeserializer(ObjectDeserializer<RecoveryRecord.Builder> op)
-