Class WarmerStats
java.lang.Object
org.opensearch.client.opensearch._types.WarmerStats
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<WarmerStats.Builder,WarmerStats>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class WarmerStats
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<WarmerStats.Builder,WarmerStats>
The statistics about index warmer operations.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<WarmerStats> Json deserializer forWarmerStats -
Method Summary
Modifier and TypeMethodDescriptionstatic WarmerStats.Builderbuilder()final longcurrent()Required - The number of current warmer operations.booleaninthashCode()static WarmerStatsvoidserialize(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 warmer operations.final TimeThe total time spent on warmer operations.final longRequired - The total time spent on warmer operations in milliseconds.Methods 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 forWarmerStats
-
-
Method Details
-
of
-
current
public final long current()Required - The number of current warmer operations.API name:
current -
total
public final long total()Required - The total number of warmer operations.API name:
total -
totalTime
The total time spent on warmer operations.API name:
total_time -
totalTimeInMillis
public final long totalTimeInMillis()Required - The total time spent on warmer operations in milliseconds.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<WarmerStats.Builder,WarmerStats> - Returns:
- a new builder instance.
-
builder
-
setupWarmerStatsDeserializer
-
hashCode
public int hashCode() -
equals
-