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 class
ShardsStats.Builder
Builder forShardsStats
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ShardsStats>
_DESERIALIZER
Json deserializer forShardsStats
-
Method Summary
Modifier and Type Method Description long
done()
Required - API name:done
long
failed()
Required - API name:failed
long
finalizing()
Required - API name:finalizing
long
initializing()
Required - API name:initializing
static ShardsStats
of(java.util.function.Function<ShardsStats.Builder,ObjectBuilder<ShardsStats>> fn)
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
setupShardsStatsDeserializer(ObjectDeserializer<ShardsStats.Builder> op)
long
started()
Required - API name:started
java.lang.String
toString()
long
total()
Required - API name:total
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupShardsStatsDeserializer
-