Class ShardsStats
java.lang.Object
co.elastic.clients.elasticsearch.snapshot.ShardsStats
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class ShardsStats extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShardsStats.BuilderBuilder forShardsStats. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ShardsStats>_DESERIALIZERJson deserializer forShardsStats -
Method Summary
Modifier and Type Method Description longdone()Required - API name:donelongfailed()Required - API name:failedlongfinalizing()Required - API name:finalizinglonginitializing()Required - API name:initializingstatic ShardsStatsof(java.util.function.Function<ShardsStats.Builder,ObjectBuilder<ShardsStats>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupShardsStatsDeserializer(ObjectDeserializer<ShardsStats.Builder> op)longstarted()Required - API name:startedlongtotal()Required - API name:totalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forShardsStats
-
-
Method Details
-
of
public static ShardsStats of(java.util.function.Function<ShardsStats.Builder,ObjectBuilder<ShardsStats>> fn) -
done
public final long done()Required - API name:done -
failed
public final long failed()Required - API name:failed -
finalizing
public final long finalizing()Required - API name:finalizing -
initializing
public final long initializing()Required - API name:initializing -
started
public final long started()Required - API name:started -
total
public final long total()Required - API name:total -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupShardsStatsDeserializer
-