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 FileCountSnapshotStats
Required - The number and size of files that still need to be copied as part of the incremental snapshot.static SnapshotStats
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 long
Required - The time, in milliseconds, when the snapshot creation process started.final Time
time()
API name:time
final long
Required - The total time, in milliseconds, that it took for the snapshot process to complete.toString()
final FileCountSnapshotStats
total()
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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupSnapshotStatsDeserializer
-