Class WarmerStats
java.lang.Object
co.elastic.clients.elasticsearch._types.WarmerStats
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class WarmerStats extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWarmerStats.BuilderBuilder forWarmerStats. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<WarmerStats>_DESERIALIZERJson deserializer forWarmerStats -
Constructor Summary
Constructors Constructor Description WarmerStats(WarmerStats.Builder builder)WarmerStats(java.util.function.Function<WarmerStats.Builder,WarmerStats.Builder> fn) -
Method Summary
Modifier and Type Method Description longcurrent()Required - API name:currentvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupWarmerStatsDeserializer(DelegatingDeserializer<WarmerStats.Builder> op)longtotal()Required - API name:totaljava.lang.StringtotalTime()API name:total_timelongtotalTimeInMillis()Required - API name:total_time_in_millisMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forWarmerStats
-
-
Constructor Details
-
WarmerStats
-
WarmerStats
-
-
Method Details
-
current
public long current()Required - API name:current -
total
public long total()Required - API name:total -
totalTime
@Nullable public java.lang.String totalTime()API name:total_time -
totalTimeInMillis
public long totalTimeInMillis()Required - API name:total_time_in_millis -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupWarmerStatsDeserializer
-