Class FlushStats
- java.lang.Object
-
- org.opensearch.client.opensearch._types.FlushStats
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class FlushStats extends java.lang.Object implements JsonpSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFlushStats.BuilderBuilder forFlushStats.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<FlushStats>_DESERIALIZERJson deserializer forFlushStats
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FlushStatsof(java.util.function.Function<FlushStats.Builder,ObjectBuilder<FlushStats>> fn)longperiodic()Required - API name:periodicvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupFlushStatsDeserializer(ObjectDeserializer<FlushStats.Builder> op)longtotal()Required - API name:totaljava.lang.StringtotalTime()API name:total_timelongtotalTimeInMillis()Required - API name:total_time_in_millis
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<FlushStats> _DESERIALIZER
Json deserializer forFlushStats
-
-
Method Detail
-
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
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupFlushStatsDeserializer
protected static void setupFlushStatsDeserializer(ObjectDeserializer<FlushStats.Builder> op)
-
-