Class ShardsStats
java.lang.Object
co.elastic.clients.elasticsearch.snapshot.ShardsStats
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ShardsStats>Json deserializer forShardsStats -
Method Summary
Modifier and TypeMethodDescriptionfinal longdone()Required - The number of shards that initialized, started, and finalized successfully.final longfailed()Required - The number of shards that failed to be included in the snapshot.final longRequired - The number of shards that are finalizing but are not done.final longRequired - The number of shards that are still initializing.static ShardsStatsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal longstarted()Required - The number of shards that have started but are not finalized.toString()final longtotal()Required - The total number of shards included in the snapshot.
-
Field Details
-
_DESERIALIZER
Json deserializer forShardsStats
-
-
Method Details
-
of
-
done
public final long done()Required - The number of shards that initialized, started, and finalized successfully.API name:
done -
failed
public final long failed()Required - The number of shards that failed to be included in the snapshot.API name:
failed -
finalizing
public final long finalizing()Required - The number of shards that are finalizing but are not done.API name:
finalizing -
initializing
public final long initializing()Required - The number of shards that are still initializing.API name:
initializing -
started
public final long started()Required - The number of shards that have started but are not finalized.API name:
started -
total
public final long total()Required - The total number of shards included in the snapshot.API name:
total -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupShardsStatsDeserializer
-