Class FlushStats
java.lang.Object
co.elastic.clients.elasticsearch._types.FlushStats
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class FlushStats extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FlushStats.Builder
Builder forFlushStats
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<FlushStats>
_DESERIALIZER
Json deserializer forFlushStats
-
Method Summary
Modifier and Type Method Description static FlushStats
of(java.util.function.Function<FlushStats.Builder,ObjectBuilder<FlushStats>> fn)
long
periodic()
Required - API name:periodic
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
setupFlushStatsDeserializer(ObjectDeserializer<FlushStats.Builder> op)
long
total()
Required - API name:total
java.lang.String
totalTime()
API name:total_time
long
totalTimeInMillis()
Required - API name:total_time_in_millis
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forFlushStats
-
-
Method Details
-
of
public static FlushStats of(java.util.function.Function<FlushStats.Builder,ObjectBuilder<FlushStats>> fn) -
periodic
public final long periodic()Required - API name:periodic
-
total
public final long total()Required - API name:total
-
totalTime
@Nullable public final java.lang.String totalTime()API name:total_time
-
totalTimeInMillis
public final long totalTimeInMillis()Required - API name:total_time_in_millis
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupFlushStatsDeserializer
-