Class SnapshotStats
java.lang.Object
co.elastic.clients.elasticsearch.snapshot.SnapshotStats
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<SnapshotStats>Json deserializer forSnapshotStats -
Method Summary
Modifier and TypeMethodDescriptionfinal FileCountSnapshotStatsRequired - The number and size of files that still need to be copied as part of the incremental snapshot.static SnapshotStatsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal longRequired - The time, in milliseconds, when the snapshot creation process started.final Timetime()API name:timefinal longRequired - The total time, in milliseconds, that it took for the snapshot process to complete.toString()final FileCountSnapshotStatstotal()Required - The total number and size of files that are referenced by the snapshot.
-
Field Details
-
_DESERIALIZER
Json deserializer forSnapshotStats
-
-
Method Details
-
of
-
incremental
Required - The number and size of files that still need to be copied as part of the incremental snapshot. For completed snapshots, this property indicates the number and size of files that were not already in the repository and were copied as part of the incremental snapshot.API name:
incremental -
startTimeInMillis
public final long startTimeInMillis()Required - The time, in milliseconds, when the snapshot creation process started.API name:
start_time_in_millis -
time
API name:time -
timeInMillis
public final long timeInMillis()Required - The total time, in milliseconds, that it took for the snapshot process to complete.API name:
time_in_millis -
total
Required - The total number and size of files that are referenced by the snapshot.API name:
total -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupSnapshotStatsDeserializer
-