Class FlushStats
java.lang.Object
org.opensearch.client.opensearch._types.FlushStats
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<FlushStats.Builder,FlushStats>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class FlushStats
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<FlushStats.Builder,FlushStats>
The statistics about flush operations.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<FlushStats> Json deserializer forFlushStats -
Method Summary
Modifier and TypeMethodDescriptionstatic FlushStats.Builderbuilder()booleaninthashCode()static FlushStatsfinal longperiodic()Required - The number of periodic flush operations.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final longtotal()Required - The total number of flush operations.final TimeAPI name:total_timefinal longRequired - API name:total_time_in_millisMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forFlushStats
-
-
Method Details
-
of
-
periodic
public final long periodic()Required - The number of periodic flush operations.API name:
periodic -
total
public final long total()Required - The total number of flush operations.API name:
total -
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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<FlushStats.Builder,FlushStats> - Returns:
- a new builder instance.
-
builder
-
setupFlushStatsDeserializer
-
hashCode
public int hashCode() -
equals
-